@constructive-io/sdk 0.30.2 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/package.json +4 -4
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
// ============ Connection Fields Map ============
|
|
2
2
|
export const connectionFieldsMap = {
|
|
3
|
-
AgentPlan: {
|
|
4
|
-
agentTasksByPlanId: 'AgentTask',
|
|
5
|
-
},
|
|
6
3
|
Agent: {
|
|
7
|
-
agentThreads: 'AgentThread',
|
|
8
4
|
agentMessages: 'AgentMessage',
|
|
5
|
+
agentThreads: 'AgentThread',
|
|
9
6
|
childAgents: 'Agent',
|
|
10
7
|
},
|
|
11
|
-
AgentThread: {
|
|
12
|
-
agentThreadsByParentThreadId: 'AgentThread',
|
|
13
|
-
agentMessagesByThreadId: 'AgentMessage',
|
|
14
|
-
agentPlansByThreadId: 'AgentPlan',
|
|
15
|
-
},
|
|
16
8
|
AgentPersona: {
|
|
17
9
|
agentsByPersonaId: 'Agent',
|
|
18
10
|
},
|
|
11
|
+
AgentPlan: {
|
|
12
|
+
agentTasksByPlanId: 'AgentTask',
|
|
13
|
+
},
|
|
19
14
|
AgentResource: {
|
|
20
15
|
agentResourceChunks: 'AgentResourceChunk',
|
|
21
16
|
},
|
|
17
|
+
AgentThread: {
|
|
18
|
+
agentMessagesByThreadId: 'AgentMessage',
|
|
19
|
+
agentPlansByThreadId: 'AgentPlan',
|
|
20
|
+
agentThreadsByParentThreadId: 'AgentThread',
|
|
21
|
+
},
|
|
22
22
|
};
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { AgentPlanModel } from './agentPlan';
|
|
7
6
|
export { AgentModel } from './agent';
|
|
8
|
-
export { AgentThreadModel } from './agentThread';
|
|
9
7
|
export { AgentMessageModel } from './agentMessage';
|
|
10
|
-
export {
|
|
8
|
+
export { AgentPersonaModel } from './agentPersona';
|
|
9
|
+
export { AgentPlanModel } from './agentPlan';
|
|
11
10
|
export { AgentPromptModel } from './agentPrompt';
|
|
12
11
|
export { AgentResourceChunkModel } from './agentResourceChunk';
|
|
13
|
-
export { AgentPersonaModel } from './agentPersona';
|
|
14
12
|
export { AgentResourceModel } from './agentResource';
|
|
13
|
+
export { AgentTaskModel } from './agentTask';
|
|
14
|
+
export { AgentThreadModel } from './agentThread';
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { AgentPlanModel } from './agentPlan';
|
|
7
6
|
export { AgentModel } from './agent';
|
|
8
|
-
export { AgentThreadModel } from './agentThread';
|
|
9
7
|
export { AgentMessageModel } from './agentMessage';
|
|
10
|
-
export {
|
|
8
|
+
export { AgentPersonaModel } from './agentPersona';
|
|
9
|
+
export { AgentPlanModel } from './agentPlan';
|
|
11
10
|
export { AgentPromptModel } from './agentPrompt';
|
|
12
11
|
export { AgentResourceChunkModel } from './agentResourceChunk';
|
|
13
|
-
export { AgentPersonaModel } from './agentPersona';
|
|
14
12
|
export { AgentResourceModel } from './agentResource';
|
|
13
|
+
export { AgentTaskModel } from './agentTask';
|
|
14
|
+
export { AgentThreadModel } from './agentThread';
|
package/esm/api/orm/index.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { ApiModel } from './models/api';
|
|
3
|
+
import { ApiModuleModel } from './models/apiModule';
|
|
4
|
+
import { ApiSchemaModel } from './models/apiSchema';
|
|
5
|
+
import { ApiSettingModel } from './models/apiSetting';
|
|
6
|
+
import { AppModel } from './models/app';
|
|
7
|
+
import { AstMigrationModel } from './models/astMigration';
|
|
5
8
|
import { CheckConstraintModel } from './models/checkConstraint';
|
|
9
|
+
import { CompositeTypeModel } from './models/compositeType';
|
|
10
|
+
import { CorsSettingModel } from './models/corsSetting';
|
|
11
|
+
import { DatabaseModel } from './models/database';
|
|
12
|
+
import { DatabaseSettingModel } from './models/databaseSetting';
|
|
13
|
+
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
14
|
+
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
15
|
+
import { DomainModel } from './models/domain';
|
|
16
|
+
import { EmbeddingChunkModel } from './models/embeddingChunk';
|
|
17
|
+
import { EnumModel } from './models/enum';
|
|
6
18
|
import { FieldModel } from './models/field';
|
|
7
|
-
import { SpatialRelationModel } from './models/spatialRelation';
|
|
8
19
|
import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
9
20
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
21
|
+
import { FunctionModel } from './models/function';
|
|
10
22
|
import { IndexModel } from './models/index';
|
|
23
|
+
import { MigrateFileModel } from './models/migrateFile';
|
|
24
|
+
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
25
|
+
import { PartitionModel } from './models/partition';
|
|
11
26
|
import { PolicyModel } from './models/policy';
|
|
12
27
|
import { PrimaryKeyConstraintModel } from './models/primaryKeyConstraint';
|
|
28
|
+
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
29
|
+
import { RlsSettingModel } from './models/rlsSetting';
|
|
30
|
+
import { SchemaModel } from './models/schema';
|
|
31
|
+
import { SchemaGrantModel } from './models/schemaGrant';
|
|
32
|
+
import { SiteModel } from './models/site';
|
|
33
|
+
import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
34
|
+
import { SiteModuleModel } from './models/siteModule';
|
|
35
|
+
import { SiteThemeModel } from './models/siteTheme';
|
|
36
|
+
import { SpatialRelationModel } from './models/spatialRelation';
|
|
37
|
+
import { SqlActionModel } from './models/sqlAction';
|
|
38
|
+
import { TableModel } from './models/table';
|
|
13
39
|
import { TableGrantModel } from './models/tableGrant';
|
|
14
40
|
import { TriggerModel } from './models/trigger';
|
|
41
|
+
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
15
42
|
import { UniqueConstraintModel } from './models/uniqueConstraint';
|
|
16
43
|
import { ViewModel } from './models/view';
|
|
17
|
-
import { ViewTableModel } from './models/viewTable';
|
|
18
44
|
import { ViewGrantModel } from './models/viewGrant';
|
|
19
45
|
import { ViewRuleModel } from './models/viewRule';
|
|
20
|
-
import {
|
|
21
|
-
import { SchemaGrantModel } from './models/schemaGrant';
|
|
22
|
-
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
23
|
-
import { EnumModel } from './models/enum';
|
|
24
|
-
import { CompositeTypeModel } from './models/compositeType';
|
|
25
|
-
import { ApiSchemaModel } from './models/apiSchema';
|
|
26
|
-
import { ApiModuleModel } from './models/apiModule';
|
|
27
|
-
import { DomainModel } from './models/domain';
|
|
28
|
-
import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
29
|
-
import { SiteModuleModel } from './models/siteModule';
|
|
30
|
-
import { SiteThemeModel } from './models/siteTheme';
|
|
31
|
-
import { CorsSettingModel } from './models/corsSetting';
|
|
32
|
-
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
33
|
-
import { PartitionModel } from './models/partition';
|
|
34
|
-
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
35
|
-
import { ApiModel } from './models/api';
|
|
36
|
-
import { SiteModel } from './models/site';
|
|
37
|
-
import { AppModel } from './models/app';
|
|
38
|
-
import { ApiSettingModel } from './models/apiSetting';
|
|
39
|
-
import { MigrateFileModel } from './models/migrateFile';
|
|
40
|
-
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
41
|
-
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
42
|
-
import { DatabaseModel } from './models/database';
|
|
43
|
-
import { RlsSettingModel } from './models/rlsSetting';
|
|
44
|
-
import { SqlActionModel } from './models/sqlAction';
|
|
45
|
-
import { DatabaseSettingModel } from './models/databaseSetting';
|
|
46
|
-
import { AstMigrationModel } from './models/astMigration';
|
|
46
|
+
import { ViewTableModel } from './models/viewTable';
|
|
47
47
|
import { WebauthnSettingModel } from './models/webauthnSetting';
|
|
48
48
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
49
49
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
@@ -76,51 +76,51 @@ export { createMutationOperations } from './mutation';
|
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
78
|
export declare function createClient(config: OrmClientConfig): {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
api: ApiModel;
|
|
80
|
+
apiModule: ApiModuleModel;
|
|
81
|
+
apiSchema: ApiSchemaModel;
|
|
82
|
+
apiSetting: ApiSettingModel;
|
|
83
|
+
app: AppModel;
|
|
84
|
+
astMigration: AstMigrationModel;
|
|
82
85
|
checkConstraint: CheckConstraintModel;
|
|
86
|
+
compositeType: CompositeTypeModel;
|
|
87
|
+
corsSetting: CorsSettingModel;
|
|
88
|
+
database: DatabaseModel;
|
|
89
|
+
databaseSetting: DatabaseSettingModel;
|
|
90
|
+
databaseTransfer: DatabaseTransferModel;
|
|
91
|
+
defaultPrivilege: DefaultPrivilegeModel;
|
|
92
|
+
domain: DomainModel;
|
|
93
|
+
embeddingChunk: EmbeddingChunkModel;
|
|
94
|
+
enum: EnumModel;
|
|
83
95
|
field: FieldModel;
|
|
84
|
-
spatialRelation: SpatialRelationModel;
|
|
85
96
|
foreignKeyConstraint: ForeignKeyConstraintModel;
|
|
86
97
|
fullTextSearch: FullTextSearchModel;
|
|
98
|
+
function: FunctionModel;
|
|
87
99
|
index: IndexModel;
|
|
100
|
+
migrateFile: MigrateFileModel;
|
|
101
|
+
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
102
|
+
partition: PartitionModel;
|
|
88
103
|
policy: PolicyModel;
|
|
89
104
|
primaryKeyConstraint: PrimaryKeyConstraintModel;
|
|
105
|
+
pubkeySetting: PubkeySettingModel;
|
|
106
|
+
rlsSetting: RlsSettingModel;
|
|
107
|
+
schema: SchemaModel;
|
|
108
|
+
schemaGrant: SchemaGrantModel;
|
|
109
|
+
site: SiteModel;
|
|
110
|
+
siteMetadatum: SiteMetadatumModel;
|
|
111
|
+
siteModule: SiteModuleModel;
|
|
112
|
+
siteTheme: SiteThemeModel;
|
|
113
|
+
spatialRelation: SpatialRelationModel;
|
|
114
|
+
sqlAction: SqlActionModel;
|
|
115
|
+
table: TableModel;
|
|
90
116
|
tableGrant: TableGrantModel;
|
|
91
117
|
trigger: TriggerModel;
|
|
118
|
+
triggerFunction: TriggerFunctionModel;
|
|
92
119
|
uniqueConstraint: UniqueConstraintModel;
|
|
93
120
|
view: ViewModel;
|
|
94
|
-
viewTable: ViewTableModel;
|
|
95
121
|
viewGrant: ViewGrantModel;
|
|
96
122
|
viewRule: ViewRuleModel;
|
|
97
|
-
|
|
98
|
-
schemaGrant: SchemaGrantModel;
|
|
99
|
-
defaultPrivilege: DefaultPrivilegeModel;
|
|
100
|
-
enum: EnumModel;
|
|
101
|
-
compositeType: CompositeTypeModel;
|
|
102
|
-
apiSchema: ApiSchemaModel;
|
|
103
|
-
apiModule: ApiModuleModel;
|
|
104
|
-
domain: DomainModel;
|
|
105
|
-
siteMetadatum: SiteMetadatumModel;
|
|
106
|
-
siteModule: SiteModuleModel;
|
|
107
|
-
siteTheme: SiteThemeModel;
|
|
108
|
-
corsSetting: CorsSettingModel;
|
|
109
|
-
triggerFunction: TriggerFunctionModel;
|
|
110
|
-
partition: PartitionModel;
|
|
111
|
-
databaseTransfer: DatabaseTransferModel;
|
|
112
|
-
api: ApiModel;
|
|
113
|
-
site: SiteModel;
|
|
114
|
-
app: AppModel;
|
|
115
|
-
apiSetting: ApiSettingModel;
|
|
116
|
-
migrateFile: MigrateFileModel;
|
|
117
|
-
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
118
|
-
pubkeySetting: PubkeySettingModel;
|
|
119
|
-
database: DatabaseModel;
|
|
120
|
-
rlsSetting: RlsSettingModel;
|
|
121
|
-
sqlAction: SqlActionModel;
|
|
122
|
-
databaseSetting: DatabaseSettingModel;
|
|
123
|
-
astMigration: AstMigrationModel;
|
|
123
|
+
viewTable: ViewTableModel;
|
|
124
124
|
webauthnSetting: WebauthnSettingModel;
|
|
125
125
|
query: {
|
|
126
126
|
applyRegistryDefaults: (args: import("./query").ApplyRegistryDefaultsVariables, options?: {
|
|
@@ -135,35 +135,35 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
135
135
|
} & import("./select-types").StrictSelect<S, import("./input-types").AcceptDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
136
136
|
acceptDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").AcceptDatabaseTransferPayload, S> | null;
|
|
137
137
|
}>;
|
|
138
|
+
applyRls: <S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options: {
|
|
139
|
+
select: S;
|
|
140
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
141
|
+
applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
|
|
142
|
+
}>;
|
|
138
143
|
cancelDatabaseTransfer: <S extends import("./input-types").CancelDatabaseTransferPayloadSelect>(args: import("./mutation").CancelDatabaseTransferVariables, options: {
|
|
139
144
|
select: S;
|
|
140
145
|
} & import("./select-types").StrictSelect<S, import("./input-types").CancelDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
141
146
|
cancelDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").CancelDatabaseTransferPayload, S> | null;
|
|
142
147
|
}>;
|
|
148
|
+
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
149
|
+
select: S;
|
|
150
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
151
|
+
provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
|
|
152
|
+
}>;
|
|
143
153
|
rejectDatabaseTransfer: <S extends import("./input-types").RejectDatabaseTransferPayloadSelect>(args: import("./mutation").RejectDatabaseTransferVariables, options: {
|
|
144
154
|
select: S;
|
|
145
155
|
} & import("./select-types").StrictSelect<S, import("./input-types").RejectDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
146
156
|
rejectDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").RejectDatabaseTransferPayload, S> | null;
|
|
147
157
|
}>;
|
|
148
|
-
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
149
|
-
select: S;
|
|
150
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
151
|
-
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
152
|
-
}>;
|
|
153
|
-
applyRls: <S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options: {
|
|
154
|
-
select: S;
|
|
155
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
156
|
-
applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
|
|
157
|
-
}>;
|
|
158
158
|
requestDatabase: <S extends import("./input-types").RequestDatabasePayloadSelect>(args: import("./mutation").RequestDatabaseVariables, options: {
|
|
159
159
|
select: S;
|
|
160
160
|
} & import("./select-types").StrictSelect<S, import("./input-types").RequestDatabasePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
161
161
|
requestDatabase: import("./select-types").InferSelectResult<import("./input-types").RequestDatabasePayload, S> | null;
|
|
162
162
|
}>;
|
|
163
|
-
|
|
163
|
+
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
164
164
|
select: S;
|
|
165
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
166
|
-
|
|
165
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
166
|
+
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
167
167
|
}>;
|
|
168
168
|
};
|
|
169
169
|
};
|
package/esm/api/orm/index.js
CHANGED
|
@@ -4,51 +4,51 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from './client';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { ApiModel } from './models/api';
|
|
8
|
+
import { ApiModuleModel } from './models/apiModule';
|
|
9
|
+
import { ApiSchemaModel } from './models/apiSchema';
|
|
10
|
+
import { ApiSettingModel } from './models/apiSetting';
|
|
11
|
+
import { AppModel } from './models/app';
|
|
12
|
+
import { AstMigrationModel } from './models/astMigration';
|
|
10
13
|
import { CheckConstraintModel } from './models/checkConstraint';
|
|
14
|
+
import { CompositeTypeModel } from './models/compositeType';
|
|
15
|
+
import { CorsSettingModel } from './models/corsSetting';
|
|
16
|
+
import { DatabaseModel } from './models/database';
|
|
17
|
+
import { DatabaseSettingModel } from './models/databaseSetting';
|
|
18
|
+
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
19
|
+
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
20
|
+
import { DomainModel } from './models/domain';
|
|
21
|
+
import { EmbeddingChunkModel } from './models/embeddingChunk';
|
|
22
|
+
import { EnumModel } from './models/enum';
|
|
11
23
|
import { FieldModel } from './models/field';
|
|
12
|
-
import { SpatialRelationModel } from './models/spatialRelation';
|
|
13
24
|
import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
14
25
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
26
|
+
import { FunctionModel } from './models/function';
|
|
15
27
|
import { IndexModel } from './models/index';
|
|
28
|
+
import { MigrateFileModel } from './models/migrateFile';
|
|
29
|
+
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
30
|
+
import { PartitionModel } from './models/partition';
|
|
16
31
|
import { PolicyModel } from './models/policy';
|
|
17
32
|
import { PrimaryKeyConstraintModel } from './models/primaryKeyConstraint';
|
|
33
|
+
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
34
|
+
import { RlsSettingModel } from './models/rlsSetting';
|
|
35
|
+
import { SchemaModel } from './models/schema';
|
|
36
|
+
import { SchemaGrantModel } from './models/schemaGrant';
|
|
37
|
+
import { SiteModel } from './models/site';
|
|
38
|
+
import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
39
|
+
import { SiteModuleModel } from './models/siteModule';
|
|
40
|
+
import { SiteThemeModel } from './models/siteTheme';
|
|
41
|
+
import { SpatialRelationModel } from './models/spatialRelation';
|
|
42
|
+
import { SqlActionModel } from './models/sqlAction';
|
|
43
|
+
import { TableModel } from './models/table';
|
|
18
44
|
import { TableGrantModel } from './models/tableGrant';
|
|
19
45
|
import { TriggerModel } from './models/trigger';
|
|
46
|
+
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
20
47
|
import { UniqueConstraintModel } from './models/uniqueConstraint';
|
|
21
48
|
import { ViewModel } from './models/view';
|
|
22
|
-
import { ViewTableModel } from './models/viewTable';
|
|
23
49
|
import { ViewGrantModel } from './models/viewGrant';
|
|
24
50
|
import { ViewRuleModel } from './models/viewRule';
|
|
25
|
-
import {
|
|
26
|
-
import { SchemaGrantModel } from './models/schemaGrant';
|
|
27
|
-
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
28
|
-
import { EnumModel } from './models/enum';
|
|
29
|
-
import { CompositeTypeModel } from './models/compositeType';
|
|
30
|
-
import { ApiSchemaModel } from './models/apiSchema';
|
|
31
|
-
import { ApiModuleModel } from './models/apiModule';
|
|
32
|
-
import { DomainModel } from './models/domain';
|
|
33
|
-
import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
34
|
-
import { SiteModuleModel } from './models/siteModule';
|
|
35
|
-
import { SiteThemeModel } from './models/siteTheme';
|
|
36
|
-
import { CorsSettingModel } from './models/corsSetting';
|
|
37
|
-
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
38
|
-
import { PartitionModel } from './models/partition';
|
|
39
|
-
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
40
|
-
import { ApiModel } from './models/api';
|
|
41
|
-
import { SiteModel } from './models/site';
|
|
42
|
-
import { AppModel } from './models/app';
|
|
43
|
-
import { ApiSettingModel } from './models/apiSetting';
|
|
44
|
-
import { MigrateFileModel } from './models/migrateFile';
|
|
45
|
-
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
46
|
-
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
47
|
-
import { DatabaseModel } from './models/database';
|
|
48
|
-
import { RlsSettingModel } from './models/rlsSetting';
|
|
49
|
-
import { SqlActionModel } from './models/sqlAction';
|
|
50
|
-
import { DatabaseSettingModel } from './models/databaseSetting';
|
|
51
|
-
import { AstMigrationModel } from './models/astMigration';
|
|
51
|
+
import { ViewTableModel } from './models/viewTable';
|
|
52
52
|
import { WebauthnSettingModel } from './models/webauthnSetting';
|
|
53
53
|
import { createQueryOperations } from './query';
|
|
54
54
|
import { createMutationOperations } from './mutation';
|
|
@@ -84,51 +84,51 @@ export { createMutationOperations } from './mutation';
|
|
|
84
84
|
export function createClient(config) {
|
|
85
85
|
const client = new OrmClient(config);
|
|
86
86
|
return {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
api: new ApiModel(client),
|
|
88
|
+
apiModule: new ApiModuleModel(client),
|
|
89
|
+
apiSchema: new ApiSchemaModel(client),
|
|
90
|
+
apiSetting: new ApiSettingModel(client),
|
|
91
|
+
app: new AppModel(client),
|
|
92
|
+
astMigration: new AstMigrationModel(client),
|
|
90
93
|
checkConstraint: new CheckConstraintModel(client),
|
|
94
|
+
compositeType: new CompositeTypeModel(client),
|
|
95
|
+
corsSetting: new CorsSettingModel(client),
|
|
96
|
+
database: new DatabaseModel(client),
|
|
97
|
+
databaseSetting: new DatabaseSettingModel(client),
|
|
98
|
+
databaseTransfer: new DatabaseTransferModel(client),
|
|
99
|
+
defaultPrivilege: new DefaultPrivilegeModel(client),
|
|
100
|
+
domain: new DomainModel(client),
|
|
101
|
+
embeddingChunk: new EmbeddingChunkModel(client),
|
|
102
|
+
enum: new EnumModel(client),
|
|
91
103
|
field: new FieldModel(client),
|
|
92
|
-
spatialRelation: new SpatialRelationModel(client),
|
|
93
104
|
foreignKeyConstraint: new ForeignKeyConstraintModel(client),
|
|
94
105
|
fullTextSearch: new FullTextSearchModel(client),
|
|
106
|
+
function: new FunctionModel(client),
|
|
95
107
|
index: new IndexModel(client),
|
|
108
|
+
migrateFile: new MigrateFileModel(client),
|
|
109
|
+
nodeTypeRegistry: new NodeTypeRegistryModel(client),
|
|
110
|
+
partition: new PartitionModel(client),
|
|
96
111
|
policy: new PolicyModel(client),
|
|
97
112
|
primaryKeyConstraint: new PrimaryKeyConstraintModel(client),
|
|
113
|
+
pubkeySetting: new PubkeySettingModel(client),
|
|
114
|
+
rlsSetting: new RlsSettingModel(client),
|
|
115
|
+
schema: new SchemaModel(client),
|
|
116
|
+
schemaGrant: new SchemaGrantModel(client),
|
|
117
|
+
site: new SiteModel(client),
|
|
118
|
+
siteMetadatum: new SiteMetadatumModel(client),
|
|
119
|
+
siteModule: new SiteModuleModel(client),
|
|
120
|
+
siteTheme: new SiteThemeModel(client),
|
|
121
|
+
spatialRelation: new SpatialRelationModel(client),
|
|
122
|
+
sqlAction: new SqlActionModel(client),
|
|
123
|
+
table: new TableModel(client),
|
|
98
124
|
tableGrant: new TableGrantModel(client),
|
|
99
125
|
trigger: new TriggerModel(client),
|
|
126
|
+
triggerFunction: new TriggerFunctionModel(client),
|
|
100
127
|
uniqueConstraint: new UniqueConstraintModel(client),
|
|
101
128
|
view: new ViewModel(client),
|
|
102
|
-
viewTable: new ViewTableModel(client),
|
|
103
129
|
viewGrant: new ViewGrantModel(client),
|
|
104
130
|
viewRule: new ViewRuleModel(client),
|
|
105
|
-
|
|
106
|
-
schemaGrant: new SchemaGrantModel(client),
|
|
107
|
-
defaultPrivilege: new DefaultPrivilegeModel(client),
|
|
108
|
-
enum: new EnumModel(client),
|
|
109
|
-
compositeType: new CompositeTypeModel(client),
|
|
110
|
-
apiSchema: new ApiSchemaModel(client),
|
|
111
|
-
apiModule: new ApiModuleModel(client),
|
|
112
|
-
domain: new DomainModel(client),
|
|
113
|
-
siteMetadatum: new SiteMetadatumModel(client),
|
|
114
|
-
siteModule: new SiteModuleModel(client),
|
|
115
|
-
siteTheme: new SiteThemeModel(client),
|
|
116
|
-
corsSetting: new CorsSettingModel(client),
|
|
117
|
-
triggerFunction: new TriggerFunctionModel(client),
|
|
118
|
-
partition: new PartitionModel(client),
|
|
119
|
-
databaseTransfer: new DatabaseTransferModel(client),
|
|
120
|
-
api: new ApiModel(client),
|
|
121
|
-
site: new SiteModel(client),
|
|
122
|
-
app: new AppModel(client),
|
|
123
|
-
apiSetting: new ApiSettingModel(client),
|
|
124
|
-
migrateFile: new MigrateFileModel(client),
|
|
125
|
-
nodeTypeRegistry: new NodeTypeRegistryModel(client),
|
|
126
|
-
pubkeySetting: new PubkeySettingModel(client),
|
|
127
|
-
database: new DatabaseModel(client),
|
|
128
|
-
rlsSetting: new RlsSettingModel(client),
|
|
129
|
-
sqlAction: new SqlActionModel(client),
|
|
130
|
-
databaseSetting: new DatabaseSettingModel(client),
|
|
131
|
-
astMigration: new AstMigrationModel(client),
|
|
131
|
+
viewTable: new ViewTableModel(client),
|
|
132
132
|
webauthnSetting: new WebauthnSettingModel(client),
|
|
133
133
|
query: createQueryOperations(client),
|
|
134
134
|
mutation: createMutationOperations(client),
|