Type alias PublicationScope

PublicationScope: objectInputType<{
    actions: ZodArray<ZodEffects<ZodEnum<["write", "create", "delete", "updateMetadata", "enable", "disable"]>, "create" | "write" | "delete" | "updateMetadata" | "enable" | "disable", "create" | "write" | "delete" | "updateMetadata" | "enable" | "disable">, "many">;
}, ZodTypeAny, "passthrough">

Type declaration

  • actions: ZodArray<ZodEffects<ZodEnum<["write", "create", "delete", "updateMetadata", "enable", "disable"]>, "create" | "write" | "delete" | "updateMetadata" | "enable" | "disable", "create" | "write" | "delete" | "updateMetadata" | "enable" | "disable">, "many">

    以下を複数指定可能

    • write: すべて可能
    • create: publish(publish時に publication が作成される)
    • delete: unpublish(unpublish時に publication が削除される)
    • updateMetadata: metadata の編集
    • enable: enable
    • disable: disable