sanity-plugin-bynder:在Sanity Studio中将Bynder用作DAM的输入组件

时间:2024-04-07 06:09:13
【文件属性】:

文件名称:sanity-plugin-bynder:在Sanity Studio中将Bynder用作DAM的输入组件

文件大小:188KB

文件格式:ZIP

更新时间:2024-04-07 06:09:13

TypeScript

指定资产类型 默认的可选资产类型是image , audio , video和document 。您可以使用架构中的assetTypes选项将字段限制为一种或多种类型。 这是一个文档示例,该文档的一个Bynder资产字段仅限于图像,而另一个字段可以是视频或音频文件。 export default { type : "document" , name : "article" , fields : [ { type : "bynder.asset" , name : "image" , options : { assetTypes : [ "image" ] } } , { type : "bynder.asset" , name : "temporalMedia" ,


【文件预览】:
sanity-plugin-bynder-main
----yarn.lock(458KB)
----.eslintrc.js(198B)
----src()
--------3rdparty-typings()
--------utils.ts(583B)
--------index.ts(67B)
--------components()
--------typings.d.ts(110B)
--------schema()
----tsdx.config.js(529B)
----tsconfig.json(2KB)
----LICENSE(1KB)
----README.md(691B)
----config.dist.json(48B)
----sanity.json(177B)
----.gitignore(61B)
----package.json(1KB)

网友评论