Type alias AppScope

AppScope: objectInputType<{
    actions: ZodOptional<ZodArray<ZodEffects<ZodEnum<["listChannels", "read", "write"]>, "write" | "read" | "listChannels", "write" | "read" | "listChannels">, "many">>;
    analytics: ZodOptional<ZodBoolean>;
    channels: ZodOptional<ZodArray<ZodIntersection<ZodEffects<ZodObject<{
        id: ZodOptional<ZodString>;
        name: ZodOptional<ZodString>;
    }, "strip", ZodTypeAny, {
        id?: string;
        name?: string;
    }, {
        id?: string;
        name?: string;
    }>, {
        id?: string;
        name?: string;
    }, {
        id?: string;
        name?: string;
    }>, ZodObject<{
        actions: ZodArray<ZodEffects<ZodEnum<[(...), (...), (...), (...), (...)]>, "create" | "write" | "delete" | "updateMetadata" | "read", "create" | "write" | "delete" | "updateMetadata" | "read">, "many">;
        members: ZodArray<ZodIntersection<ZodEffects<ZodObject<(...), (...), (...), (...), (...)>, {
            id?: ...;
            name?: ...;
        }, {
            id?: ...;
            name?: ...;
        }>, ZodObject<{
            actions: ...;
            publication: ...;
            subscription: ...;
        }, "passthrough", ZodTypeAny, objectOutputType<(...), (...), (...)>, objectInputType<(...), (...), (...)>>>, "many">;
        sfuBots: ZodOptional<ZodArray<ZodObject<{
            actions: ...;
            forwardings: ...;
        }, "passthrough", ZodTypeAny, objectOutputType<(...), (...), (...)>, objectInputType<(...), (...), (...)>>, "many">>;
    }, "passthrough", ZodTypeAny, objectOutputType<{
        actions: ZodArray<ZodEffects<ZodEnum<(...)>, (...) | (...) | (...) | (...) | (...), (...) | (...) | (...) | (...) | (...)>, "many">;
        members: ZodArray<ZodIntersection<ZodEffects<(...), (...), (...)>, ZodObject<(...), (...), (...), (...), (...)>>, "many">;
        sfuBots: ZodOptional<ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">>;
    }, ZodTypeAny, "passthrough">, objectInputType<{
        actions: ZodArray<ZodEffects<ZodEnum<(...)>, (...) | (...) | (...) | (...) | (...), (...) | (...) | (...) | (...) | (...)>, "many">;
        members: ZodArray<ZodIntersection<ZodEffects<(...), (...), (...)>, ZodObject<(...), (...), (...), (...), (...)>>, "many">;
        sfuBots: ZodOptional<ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">>;
    }, ZodTypeAny, "passthrough">>>, "many">>;
    id: ZodString;
    turn: ZodOptional<ZodBoolean>;
}, ZodTypeAny, "passthrough">

Type declaration

  • actions: ZodOptional<ZodArray<ZodEffects<ZodEnum<["listChannels", "read", "write"]>, "write" | "read" | "listChannels", "write" | "read" | "listChannels">, "many">>

    アプリケーション自体に関する権限。現在は'read'固定

  • analytics: ZodOptional<ZodBoolean>

    AnalyticsDashboardへのデータ送信をするかどうかの設定

  • channels: ZodOptional<ZodArray<ZodIntersection<ZodEffects<ZodObject<{
        id: ZodOptional<ZodString>;
        name: ZodOptional<ZodString>;
    }, "strip", ZodTypeAny, {
        id?: string;
        name?: string;
    }, {
        id?: string;
        name?: string;
    }>, {
        id?: string;
        name?: string;
    }, {
        id?: string;
        name?: string;
    }>, ZodObject<{
        actions: ZodArray<ZodEffects<ZodEnum<[(...), (...), (...), (...), (...)]>, "create" | "write" | "delete" | "updateMetadata" | "read", "create" | "write" | "delete" | "updateMetadata" | "read">, "many">;
        members: ZodArray<ZodIntersection<ZodEffects<ZodObject<(...), (...), (...), (...), (...)>, {
            id?: ...;
            name?: ...;
        }, {
            id?: ...;
            name?: ...;
        }>, ZodObject<{
            actions: ...;
            publication: ...;
            subscription: ...;
        }, "passthrough", ZodTypeAny, objectOutputType<(...), (...), (...)>, objectInputType<(...), (...), (...)>>>, "many">;
        sfuBots: ZodOptional<ZodArray<ZodObject<{
            actions: ...;
            forwardings: ...;
        }, "passthrough", ZodTypeAny, objectOutputType<(...), (...), (...)>, objectInputType<(...), (...), (...)>>, "many">>;
    }, "passthrough", ZodTypeAny, objectOutputType<{
        actions: ZodArray<ZodEffects<ZodEnum<(...)>, (...) | (...) | (...) | (...) | (...), (...) | (...) | (...) | (...) | (...)>, "many">;
        members: ZodArray<ZodIntersection<ZodEffects<(...), (...), (...)>, ZodObject<(...), (...), (...), (...), (...)>>, "many">;
        sfuBots: ZodOptional<ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">>;
    }, ZodTypeAny, "passthrough">, objectInputType<{
        actions: ZodArray<ZodEffects<ZodEnum<(...)>, (...) | (...) | (...) | (...) | (...), (...) | (...) | (...) | (...) | (...)>, "many">;
        members: ZodArray<ZodIntersection<ZodEffects<(...), (...), (...)>, ZodObject<(...), (...), (...), (...), (...)>>, "many">;
        sfuBots: ZodOptional<ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">>;
    }, ZodTypeAny, "passthrough">>>, "many">>

    channelリソースに関するオブジェクトを配列で指定

  • id: ZodString

    アプリケーションIDを指定

  • turn: ZodOptional<ZodBoolean>

    falseの場合はTurnサーバを経由してメディア通信を行いません。