Type alias SfuScope

SfuScope: objectInputType<{
    actions: ZodArray<ZodEffects<ZodEnum<["create", "write", "delete"]>, "create" | "write" | "delete", "create" | "write" | "delete">, "many">;
    forwardings: ZodArray<ZodObject<{
        actions: ZodArray<ZodEffects<ZodEnum<["create", "write", "delete"]>, "create" | "write" | "delete", "create" | "write" | "delete">, "many">;
    }, "passthrough", ZodTypeAny, objectOutputType<{
        actions: ZodArray<ZodEffects<ZodEnum<["create", "write", "delete"]>, "create" | "write" | "delete", "create" | "write" | "delete">, "many">;
    }, ZodTypeAny, "passthrough">, objectInputType<{
        actions: ZodArray<ZodEffects<ZodEnum<["create", "write", "delete"]>, "create" | "write" | "delete", "create" | "write" | "delete">, "many">;
    }, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">

Type declaration

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

    以下を複数指定可能

    • write: SFU Bot のすべての操作をすることができる
    • create: SFU Bot の作成ができる
    • delete: SFU Bot の削除ができる
  • forwardings: ZodArray<ZodObject<{
        actions: ZodArray<ZodEffects<ZodEnum<["create", "write", "delete"]>, "create" | "write" | "delete", "create" | "write" | "delete">, "many">;
    }, "passthrough", ZodTypeAny, objectOutputType<{
        actions: ZodArray<ZodEffects<ZodEnum<["create", "write", "delete"]>, "create" | "write" | "delete", "create" | "write" | "delete">, "many">;
    }, ZodTypeAny, "passthrough">, objectInputType<{
        actions: ZodArray<ZodEffects<ZodEnum<["create", "write", "delete"]>, "create" | "write" | "delete", "create" | "write" | "delete">, "many">;
    }, ZodTypeAny, "passthrough">>, "many">

    forwarding リソースに関するオブジェクトを指定(forwardingオブジェクトについては後述)