ClientSchemaByEntityType<T>: {
    conversations: Select<T, {
        __entityType: "customConversation";
    }>;
    customTypes: Select<T, {
        __entityType: "customType";
    }>;
    enums: Select<T, {
        __entityType: "enum";
    }>;
    generations: Select<T, {
        __entityType: "customGeneration";
    }>;
    models: Select<T, {
        __entityType: "model";
    }>;
    mutations: Select<T, {
        __entityType: "customMutation";
    }>;
    queries: Select<T, {
        __entityType: "customQuery";
    }>;
    subscriptions: Select<T, {
        __entityType: "customSubscription";
    }>;
}

Type Parameters

  • T

Type declaration

  • conversations: Select<T, {
        __entityType: "customConversation";
    }>
  • customTypes: Select<T, {
        __entityType: "customType";
    }>
  • enums: Select<T, {
        __entityType: "enum";
    }>
  • generations: Select<T, {
        __entityType: "customGeneration";
    }>
  • models: Select<T, {
        __entityType: "model";
    }>
  • mutations: Select<T, {
        __entityType: "customMutation";
    }>
  • queries: Select<T, {
        __entityType: "customQuery";
    }>
  • subscriptions: Select<T, {
        __entityType: "customSubscription";
    }>