@constructive-sdk/cli 0.10.0 → 0.10.2
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/README.md +0 -8
- package/admin/cli/commands/app-level-requirement.js +0 -2
- package/admin/cli/commands/app-level.js +0 -2
- package/admin/cli/commands/app-permission.js +0 -2
- package/admin/cli/commands/invite.js +0 -2
- package/admin/cli/commands/membership-type.js +0 -3
- package/admin/cli/commands/org-chart-edge-grant.js +3 -3
- package/admin/cli/commands/org-chart-edge.js +0 -2
- package/admin/cli/commands/org-invite.js +0 -2
- package/admin/cli/commands/org-permission.js +0 -2
- package/admin/orm/input-types.d.ts +33 -127
- package/auth/cli/commands/audit-log.js +0 -2
- package/auth/cli/commands/connected-account.js +0 -3
- package/auth/cli/commands/crypto-address.js +0 -2
- package/auth/cli/commands/phone-number.js +0 -3
- package/auth/cli/commands.js +7 -7
- package/auth/cli/executor.d.ts +3 -3
- package/auth/orm/index.d.ts +6 -6
- package/auth/orm/index.js +6 -6
- package/auth/orm/input-types.d.ts +279 -327
- package/auth/orm/input-types.js +9 -1
- package/auth/orm/models/index.d.ts +3 -3
- package/auth/orm/models/index.js +7 -7
- package/esm/admin/cli/commands/app-level-requirement.js +0 -2
- package/esm/admin/cli/commands/app-level.js +0 -2
- package/esm/admin/cli/commands/app-permission.js +0 -2
- package/esm/admin/cli/commands/invite.js +0 -2
- package/esm/admin/cli/commands/membership-type.js +0 -3
- package/esm/admin/cli/commands/org-chart-edge-grant.js +3 -3
- package/esm/admin/cli/commands/org-chart-edge.js +0 -2
- package/esm/admin/cli/commands/org-invite.js +0 -2
- package/esm/admin/cli/commands/org-permission.js +0 -2
- package/esm/admin/orm/input-types.d.ts +33 -127
- package/esm/auth/cli/commands/audit-log.js +0 -2
- package/esm/auth/cli/commands/connected-account.js +0 -3
- package/esm/auth/cli/commands/crypto-address.js +0 -2
- package/esm/auth/cli/commands/phone-number.js +0 -3
- package/esm/auth/cli/commands.js +7 -7
- package/esm/auth/cli/executor.d.ts +3 -3
- package/esm/auth/orm/index.d.ts +6 -6
- package/esm/auth/orm/index.js +6 -6
- package/esm/auth/orm/input-types.d.ts +279 -327
- package/esm/auth/orm/input-types.js +9 -1
- package/esm/auth/orm/models/index.d.ts +3 -3
- package/esm/auth/orm/models/index.js +3 -3
- package/esm/index.d.ts +3 -3
- package/esm/index.js +3 -3
- package/esm/objects/cli/commands/commit.js +0 -2
- package/esm/objects/cli/commands/ref.js +0 -2
- package/esm/objects/cli/commands/store.js +0 -2
- package/esm/objects/orm/input-types.d.ts +17 -48
- package/esm/public/cli/commands/accept-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/accept-database-transfer.js +34 -0
- package/esm/public/cli/commands/api-module.js +0 -2
- package/esm/public/cli/commands/api.js +0 -5
- package/esm/public/cli/commands/app-level-requirement.js +0 -2
- package/esm/public/cli/commands/app-level.js +0 -2
- package/esm/public/cli/commands/app-permission.js +0 -2
- package/esm/public/cli/commands/app.js +0 -4
- package/esm/public/cli/commands/ast-migration.js +0 -2
- package/esm/public/cli/commands/audit-log.js +0 -2
- package/esm/public/cli/commands/blueprint-template.d.ts +8 -0
- package/esm/public/cli/commands/blueprint-template.js +549 -0
- package/esm/public/cli/commands/{uuid-module.d.ts → blueprint.d.ts} +1 -1
- package/esm/public/cli/commands/blueprint.js +484 -0
- package/esm/public/cli/commands/cancel-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/cancel-database-transfer.js +34 -0
- package/esm/public/cli/commands/check-constraint.js +0 -4
- package/esm/public/cli/commands/commit.js +0 -2
- package/esm/public/cli/commands/connected-account.js +0 -3
- package/esm/public/cli/commands/connected-accounts-module.js +0 -2
- package/esm/public/cli/commands/construct-blueprint.d.ts +8 -0
- package/esm/public/cli/commands/construct-blueprint.js +34 -0
- package/esm/public/cli/commands/copy-template-to-blueprint.d.ts +8 -0
- package/esm/public/cli/commands/copy-template-to-blueprint.js +34 -0
- package/esm/public/cli/commands/crypto-address.js +0 -2
- package/esm/public/cli/commands/crypto-addresses-module.js +0 -3
- package/esm/public/cli/commands/crypto-auth-module.js +0 -7
- package/esm/public/cli/commands/database-provision-module.js +0 -6
- package/esm/public/cli/commands/database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/database-transfer.js +425 -0
- package/esm/public/cli/commands/database.js +0 -4
- package/esm/public/cli/commands/default-privilege.js +0 -4
- package/esm/public/cli/commands/denormalized-table-field.js +0 -2
- package/esm/public/cli/commands/emails-module.js +0 -2
- package/esm/public/cli/commands/embedding-chunk.d.ts +8 -0
- package/esm/public/cli/commands/embedding-chunk.js +513 -0
- package/esm/public/cli/commands/encrypted-secrets-module.js +0 -2
- package/{public/cli/commands/uuid-module.d.ts → esm/public/cli/commands/enum.d.ts} +1 -1
- package/esm/public/cli/commands/{uuid-module.js → enum.js} +175 -33
- package/esm/public/cli/commands/field-module.js +0 -2
- package/esm/public/cli/commands/field.js +21 -7
- package/esm/public/cli/commands/foreign-key-constraint.js +0 -7
- package/esm/public/cli/commands/hierarchy-module.js +0 -11
- package/esm/public/cli/commands/index.js +0 -4
- package/esm/public/cli/commands/invite.js +0 -2
- package/esm/public/cli/commands/invites-module.js +0 -5
- package/esm/public/cli/commands/levels-module.js +0 -16
- package/esm/public/cli/commands/limits-module.js +0 -10
- package/esm/public/cli/commands/membership-type.js +0 -3
- package/esm/public/cli/commands/membership-types-module.js +0 -2
- package/esm/public/cli/commands/memberships-module.js +0 -13
- package/esm/public/cli/commands/node-type-registry.js +0 -6
- package/esm/public/cli/commands/org-chart-edge-grant.js +3 -3
- package/esm/public/cli/commands/org-chart-edge.js +0 -2
- package/esm/public/cli/commands/org-invite.js +0 -2
- package/esm/public/cli/commands/org-permission.js +0 -2
- package/esm/public/cli/commands/permissions-module.js +0 -8
- package/esm/public/cli/commands/phone-number.js +0 -3
- package/esm/public/cli/commands/phone-numbers-module.js +0 -2
- package/esm/public/cli/commands/policy.js +0 -6
- package/esm/public/cli/commands/primary-key-constraint.js +0 -4
- package/esm/public/cli/commands/profiles-module.js +0 -6
- package/esm/public/cli/commands/ref.js +0 -2
- package/esm/public/cli/commands/reject-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/reject-database-transfer.js +34 -0
- package/esm/public/cli/commands/relation-provision.js +63 -11
- package/esm/public/cli/commands/rls-module.js +0 -5
- package/esm/public/cli/commands/schema-grant.js +0 -2
- package/esm/public/cli/commands/schema.js +0 -6
- package/esm/public/cli/commands/secrets-module.js +0 -2
- package/esm/public/cli/commands/secure-table-provision.js +0 -6
- package/esm/public/cli/commands/sessions-module.js +0 -4
- package/esm/public/cli/commands/site-metadatum.js +0 -3
- package/esm/public/cli/commands/site-module.js +0 -2
- package/esm/public/cli/commands/site.js +0 -4
- package/esm/public/cli/commands/sql-migration.js +0 -7
- package/esm/public/cli/commands/store.js +0 -2
- package/esm/public/cli/commands/table-grant.js +0 -3
- package/esm/public/cli/commands/table-template-module.js +0 -3
- package/esm/public/cli/commands/table.js +0 -7
- package/esm/public/cli/commands/trigger-function.js +0 -3
- package/esm/public/cli/commands/trigger.js +0 -5
- package/esm/public/cli/commands/unique-constraint.js +0 -5
- package/esm/public/cli/commands/user-auth-module.js +0 -17
- package/esm/public/cli/commands/users-module.js +0 -3
- package/esm/public/cli/commands/view-grant.js +0 -3
- package/esm/public/cli/commands/view-rule.js +0 -4
- package/esm/public/cli/commands/view.js +0 -5
- package/esm/public/cli/commands.js +53 -35
- package/esm/public/cli/executor.d.ts +68 -39
- package/esm/public/orm/index.d.ts +81 -48
- package/esm/public/orm/index.js +26 -18
- package/esm/public/orm/input-types.d.ts +2447 -2980
- package/esm/public/orm/input-types.js +26 -1
- package/esm/public/orm/models/blueprint.d.ts +56 -0
- package/esm/public/orm/models/blueprint.js +94 -0
- package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/esm/public/orm/models/blueprintTemplate.js +94 -0
- package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
- package/esm/public/orm/models/databaseTransfer.js +94 -0
- package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
- package/esm/public/orm/models/embeddingChunk.js +94 -0
- package/esm/public/orm/models/enum.d.ts +56 -0
- package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
- package/esm/public/orm/models/index.d.ts +13 -9
- package/esm/public/orm/models/index.js +13 -9
- package/esm/public/orm/mutation/index.d.ts +98 -50
- package/esm/public/orm/mutation/index.js +126 -66
- package/index.d.ts +3 -3
- package/index.js +8 -8
- package/objects/cli/commands/commit.js +0 -2
- package/objects/cli/commands/ref.js +0 -2
- package/objects/cli/commands/store.js +0 -2
- package/objects/orm/input-types.d.ts +17 -48
- package/package.json +3 -3
- package/public/cli/commands/accept-database-transfer.d.ts +8 -0
- package/public/cli/commands/accept-database-transfer.js +36 -0
- package/public/cli/commands/api-module.js +0 -2
- package/public/cli/commands/api.js +0 -5
- package/public/cli/commands/app-level-requirement.js +0 -2
- package/public/cli/commands/app-level.js +0 -2
- package/public/cli/commands/app-permission.js +0 -2
- package/public/cli/commands/app.js +0 -4
- package/public/cli/commands/ast-migration.js +0 -2
- package/public/cli/commands/audit-log.js +0 -2
- package/public/cli/commands/blueprint-template.d.ts +8 -0
- package/public/cli/commands/blueprint-template.js +551 -0
- package/public/cli/commands/blueprint.d.ts +8 -0
- package/public/cli/commands/blueprint.js +486 -0
- package/public/cli/commands/cancel-database-transfer.d.ts +8 -0
- package/public/cli/commands/cancel-database-transfer.js +36 -0
- package/public/cli/commands/check-constraint.js +0 -4
- package/public/cli/commands/commit.js +0 -2
- package/public/cli/commands/connected-account.js +0 -3
- package/public/cli/commands/connected-accounts-module.js +0 -2
- package/public/cli/commands/construct-blueprint.d.ts +8 -0
- package/public/cli/commands/construct-blueprint.js +36 -0
- package/public/cli/commands/copy-template-to-blueprint.d.ts +8 -0
- package/public/cli/commands/copy-template-to-blueprint.js +36 -0
- package/public/cli/commands/crypto-address.js +0 -2
- package/public/cli/commands/crypto-addresses-module.js +0 -3
- package/public/cli/commands/crypto-auth-module.js +0 -7
- package/public/cli/commands/database-provision-module.js +0 -6
- package/public/cli/commands/database-transfer.d.ts +8 -0
- package/public/cli/commands/database-transfer.js +427 -0
- package/public/cli/commands/database.js +0 -4
- package/public/cli/commands/default-privilege.js +0 -4
- package/public/cli/commands/denormalized-table-field.js +0 -2
- package/public/cli/commands/emails-module.js +0 -2
- package/public/cli/commands/embedding-chunk.d.ts +8 -0
- package/public/cli/commands/embedding-chunk.js +515 -0
- package/public/cli/commands/encrypted-secrets-module.js +0 -2
- package/public/cli/commands/enum.d.ts +8 -0
- package/public/cli/commands/{uuid-module.js → enum.js} +175 -33
- package/public/cli/commands/field-module.js +0 -2
- package/public/cli/commands/field.js +21 -7
- package/public/cli/commands/foreign-key-constraint.js +0 -7
- package/public/cli/commands/hierarchy-module.js +0 -11
- package/public/cli/commands/index.js +0 -4
- package/public/cli/commands/invite.js +0 -2
- package/public/cli/commands/invites-module.js +0 -5
- package/public/cli/commands/levels-module.js +0 -16
- package/public/cli/commands/limits-module.js +0 -10
- package/public/cli/commands/membership-type.js +0 -3
- package/public/cli/commands/membership-types-module.js +0 -2
- package/public/cli/commands/memberships-module.js +0 -13
- package/public/cli/commands/node-type-registry.js +0 -6
- package/public/cli/commands/org-chart-edge-grant.js +3 -3
- package/public/cli/commands/org-chart-edge.js +0 -2
- package/public/cli/commands/org-invite.js +0 -2
- package/public/cli/commands/org-permission.js +0 -2
- package/public/cli/commands/permissions-module.js +0 -8
- package/public/cli/commands/phone-number.js +0 -3
- package/public/cli/commands/phone-numbers-module.js +0 -2
- package/public/cli/commands/policy.js +0 -6
- package/public/cli/commands/primary-key-constraint.js +0 -4
- package/public/cli/commands/profiles-module.js +0 -6
- package/public/cli/commands/ref.js +0 -2
- package/public/cli/commands/reject-database-transfer.d.ts +8 -0
- package/public/cli/commands/reject-database-transfer.js +36 -0
- package/public/cli/commands/relation-provision.js +63 -11
- package/public/cli/commands/rls-module.js +0 -5
- package/public/cli/commands/schema-grant.js +0 -2
- package/public/cli/commands/schema.js +0 -6
- package/public/cli/commands/secrets-module.js +0 -2
- package/public/cli/commands/secure-table-provision.js +0 -6
- package/public/cli/commands/sessions-module.js +0 -4
- package/public/cli/commands/site-metadatum.js +0 -3
- package/public/cli/commands/site-module.js +0 -2
- package/public/cli/commands/site.js +0 -4
- package/public/cli/commands/sql-migration.js +0 -7
- package/public/cli/commands/store.js +0 -2
- package/public/cli/commands/table-grant.js +0 -3
- package/public/cli/commands/table-template-module.js +0 -3
- package/public/cli/commands/table.js +0 -7
- package/public/cli/commands/trigger-function.js +0 -3
- package/public/cli/commands/trigger.js +0 -5
- package/public/cli/commands/unique-constraint.js +0 -5
- package/public/cli/commands/user-auth-module.js +0 -17
- package/public/cli/commands/users-module.js +0 -3
- package/public/cli/commands/view-grant.js +0 -3
- package/public/cli/commands/view-rule.js +0 -4
- package/public/cli/commands/view.js +0 -5
- package/public/cli/commands.js +53 -35
- package/public/cli/executor.d.ts +68 -39
- package/public/orm/index.d.ts +81 -48
- package/public/orm/index.js +26 -18
- package/public/orm/input-types.d.ts +2447 -2980
- package/public/orm/input-types.js +26 -1
- package/public/orm/models/blueprint.d.ts +56 -0
- package/public/orm/models/blueprint.js +98 -0
- package/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/public/orm/models/blueprintTemplate.js +98 -0
- package/public/orm/models/databaseTransfer.d.ts +56 -0
- package/public/orm/models/databaseTransfer.js +98 -0
- package/public/orm/models/embeddingChunk.d.ts +56 -0
- package/public/orm/models/embeddingChunk.js +98 -0
- package/public/orm/models/enum.d.ts +56 -0
- package/public/orm/models/{uuidModule.js → enum.js} +25 -25
- package/public/orm/models/index.d.ts +13 -9
- package/public/orm/models/index.js +29 -21
- package/public/orm/mutation/index.d.ts +98 -50
- package/public/orm/mutation/index.js +126 -66
- package/esm/public/orm/models/uuidModule.d.ts +0 -56
- package/public/orm/models/uuidModule.d.ts +0 -56
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
+
import { GetAllRecordModel } from './models/getAllRecord';
|
|
2
3
|
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
|
|
3
4
|
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
|
|
4
|
-
import { GetAllRecordModel } from './models/getAllRecord';
|
|
5
5
|
import { ObjectModel } from './models/object';
|
|
6
6
|
import { AppPermissionModel } from './models/appPermission';
|
|
7
7
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
@@ -23,11 +23,13 @@ import { ViewModel } from './models/view';
|
|
|
23
23
|
import { ViewTableModel } from './models/viewTable';
|
|
24
24
|
import { ViewGrantModel } from './models/viewGrant';
|
|
25
25
|
import { ViewRuleModel } from './models/viewRule';
|
|
26
|
+
import { EmbeddingChunkModel } from './models/embeddingChunk';
|
|
26
27
|
import { TableTemplateModuleModel } from './models/tableTemplateModule';
|
|
27
28
|
import { SecureTableProvisionModel } from './models/secureTableProvision';
|
|
28
29
|
import { RelationProvisionModel } from './models/relationProvision';
|
|
29
30
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
30
31
|
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
32
|
+
import { EnumModel } from './models/enum';
|
|
31
33
|
import { ApiSchemaModel } from './models/apiSchema';
|
|
32
34
|
import { ApiModuleModel } from './models/apiModule';
|
|
33
35
|
import { DomainModel } from './models/domain';
|
|
@@ -35,6 +37,7 @@ import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
|
35
37
|
import { SiteModuleModel } from './models/siteModule';
|
|
36
38
|
import { SiteThemeModel } from './models/siteTheme';
|
|
37
39
|
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
40
|
+
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
38
41
|
import { ApiModel } from './models/api';
|
|
39
42
|
import { SiteModel } from './models/site';
|
|
40
43
|
import { AppModel } from './models/app';
|
|
@@ -58,7 +61,8 @@ import { SecretsModuleModel } from './models/secretsModule';
|
|
|
58
61
|
import { SessionsModuleModel } from './models/sessionsModule';
|
|
59
62
|
import { UserAuthModuleModel } from './models/userAuthModule';
|
|
60
63
|
import { UsersModuleModel } from './models/usersModule';
|
|
61
|
-
import {
|
|
64
|
+
import { BlueprintModel } from './models/blueprint';
|
|
65
|
+
import { BlueprintTemplateModel } from './models/blueprintTemplate';
|
|
62
66
|
import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
|
|
63
67
|
import { AppAdminGrantModel } from './models/appAdminGrant';
|
|
64
68
|
import { AppOwnerGrantModel } from './models/appOwnerGrant';
|
|
@@ -70,34 +74,34 @@ import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
|
|
|
70
74
|
import { OrgGrantModel } from './models/orgGrant';
|
|
71
75
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
72
76
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
77
|
+
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
73
78
|
import { AppLimitModel } from './models/appLimit';
|
|
74
79
|
import { OrgLimitModel } from './models/orgLimit';
|
|
75
80
|
import { AppStepModel } from './models/appStep';
|
|
76
81
|
import { AppAchievementModel } from './models/appAchievement';
|
|
82
|
+
import { AppLevelModel } from './models/appLevel';
|
|
83
|
+
import { EmailModel } from './models/email';
|
|
84
|
+
import { PhoneNumberModel } from './models/phoneNumber';
|
|
85
|
+
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
86
|
+
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
77
87
|
import { InviteModel } from './models/invite';
|
|
78
88
|
import { ClaimedInviteModel } from './models/claimedInvite';
|
|
79
89
|
import { OrgInviteModel } from './models/orgInvite';
|
|
80
90
|
import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
|
|
91
|
+
import { AuditLogModel } from './models/auditLog';
|
|
81
92
|
import { RefModel } from './models/ref';
|
|
82
93
|
import { StoreModel } from './models/store';
|
|
83
94
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
84
|
-
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
85
95
|
import { RoleTypeModel } from './models/roleType';
|
|
86
|
-
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
87
|
-
import { PhoneNumberModel } from './models/phoneNumber';
|
|
88
96
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
89
97
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
90
|
-
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
91
98
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
92
99
|
import { MembershipTypeModel } from './models/membershipType';
|
|
93
100
|
import { CommitModel } from './models/commit';
|
|
94
101
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
95
102
|
import { RlsModuleModel } from './models/rlsModule';
|
|
96
103
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
97
|
-
import { AuditLogModel } from './models/auditLog';
|
|
98
|
-
import { AppLevelModel } from './models/appLevel';
|
|
99
104
|
import { SqlMigrationModel } from './models/sqlMigration';
|
|
100
|
-
import { EmailModel } from './models/email';
|
|
101
105
|
import { UserModel } from './models/user';
|
|
102
106
|
import { AstMigrationModel } from './models/astMigration';
|
|
103
107
|
import { AppMembershipModel } from './models/appMembership';
|
|
@@ -134,9 +138,9 @@ export { createMutationOperations } from './mutation';
|
|
|
134
138
|
* ```
|
|
135
139
|
*/
|
|
136
140
|
export declare function createClient(config: OrmClientConfig): {
|
|
141
|
+
getAllRecord: GetAllRecordModel;
|
|
137
142
|
orgGetManagersRecord: OrgGetManagersRecordModel;
|
|
138
143
|
orgGetSubordinatesRecord: OrgGetSubordinatesRecordModel;
|
|
139
|
-
getAllRecord: GetAllRecordModel;
|
|
140
144
|
object: ObjectModel;
|
|
141
145
|
appPermission: AppPermissionModel;
|
|
142
146
|
orgPermission: OrgPermissionModel;
|
|
@@ -158,11 +162,13 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
158
162
|
viewTable: ViewTableModel;
|
|
159
163
|
viewGrant: ViewGrantModel;
|
|
160
164
|
viewRule: ViewRuleModel;
|
|
165
|
+
embeddingChunk: EmbeddingChunkModel;
|
|
161
166
|
tableTemplateModule: TableTemplateModuleModel;
|
|
162
167
|
secureTableProvision: SecureTableProvisionModel;
|
|
163
168
|
relationProvision: RelationProvisionModel;
|
|
164
169
|
schemaGrant: SchemaGrantModel;
|
|
165
170
|
defaultPrivilege: DefaultPrivilegeModel;
|
|
171
|
+
enum: EnumModel;
|
|
166
172
|
apiSchema: ApiSchemaModel;
|
|
167
173
|
apiModule: ApiModuleModel;
|
|
168
174
|
domain: DomainModel;
|
|
@@ -170,6 +176,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
170
176
|
siteModule: SiteModuleModel;
|
|
171
177
|
siteTheme: SiteThemeModel;
|
|
172
178
|
triggerFunction: TriggerFunctionModel;
|
|
179
|
+
databaseTransfer: DatabaseTransferModel;
|
|
173
180
|
api: ApiModel;
|
|
174
181
|
site: SiteModel;
|
|
175
182
|
app: AppModel;
|
|
@@ -193,7 +200,8 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
193
200
|
sessionsModule: SessionsModuleModel;
|
|
194
201
|
userAuthModule: UserAuthModuleModel;
|
|
195
202
|
usersModule: UsersModuleModel;
|
|
196
|
-
|
|
203
|
+
blueprint: BlueprintModel;
|
|
204
|
+
blueprintTemplate: BlueprintTemplateModel;
|
|
197
205
|
databaseProvisionModule: DatabaseProvisionModuleModel;
|
|
198
206
|
appAdminGrant: AppAdminGrantModel;
|
|
199
207
|
appOwnerGrant: AppOwnerGrantModel;
|
|
@@ -205,34 +213,34 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
205
213
|
orgGrant: OrgGrantModel;
|
|
206
214
|
orgChartEdge: OrgChartEdgeModel;
|
|
207
215
|
orgChartEdgeGrant: OrgChartEdgeGrantModel;
|
|
216
|
+
orgPermissionDefault: OrgPermissionDefaultModel;
|
|
208
217
|
appLimit: AppLimitModel;
|
|
209
218
|
orgLimit: OrgLimitModel;
|
|
210
219
|
appStep: AppStepModel;
|
|
211
220
|
appAchievement: AppAchievementModel;
|
|
221
|
+
appLevel: AppLevelModel;
|
|
222
|
+
email: EmailModel;
|
|
223
|
+
phoneNumber: PhoneNumberModel;
|
|
224
|
+
cryptoAddress: CryptoAddressModel;
|
|
225
|
+
connectedAccount: ConnectedAccountModel;
|
|
212
226
|
invite: InviteModel;
|
|
213
227
|
claimedInvite: ClaimedInviteModel;
|
|
214
228
|
orgInvite: OrgInviteModel;
|
|
215
229
|
orgClaimedInvite: OrgClaimedInviteModel;
|
|
230
|
+
auditLog: AuditLogModel;
|
|
216
231
|
ref: RefModel;
|
|
217
232
|
store: StoreModel;
|
|
218
233
|
appPermissionDefault: AppPermissionDefaultModel;
|
|
219
|
-
cryptoAddress: CryptoAddressModel;
|
|
220
234
|
roleType: RoleTypeModel;
|
|
221
|
-
orgPermissionDefault: OrgPermissionDefaultModel;
|
|
222
|
-
phoneNumber: PhoneNumberModel;
|
|
223
235
|
appLimitDefault: AppLimitDefaultModel;
|
|
224
236
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
225
|
-
connectedAccount: ConnectedAccountModel;
|
|
226
237
|
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
227
238
|
membershipType: MembershipTypeModel;
|
|
228
239
|
commit: CommitModel;
|
|
229
240
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
230
241
|
rlsModule: RlsModuleModel;
|
|
231
242
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
232
|
-
auditLog: AuditLogModel;
|
|
233
|
-
appLevel: AppLevelModel;
|
|
234
243
|
sqlMigration: SqlMigrationModel;
|
|
235
|
-
email: EmailModel;
|
|
236
244
|
user: UserModel;
|
|
237
245
|
astMigration: AstMigrationModel;
|
|
238
246
|
appMembership: AppMembershipModel;
|
|
@@ -335,20 +343,30 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
335
343
|
}>;
|
|
336
344
|
};
|
|
337
345
|
mutation: {
|
|
346
|
+
sendAccountDeletionEmail: <S extends import("./input-types").SendAccountDeletionEmailPayloadSelect>(args: import("./mutation").SendAccountDeletionEmailVariables, options: {
|
|
347
|
+
select: S;
|
|
348
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SendAccountDeletionEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
349
|
+
sendAccountDeletionEmail: import("./select-types").InferSelectResult<import("./input-types").SendAccountDeletionEmailPayload, S> | null;
|
|
350
|
+
}>;
|
|
338
351
|
signOut: <S extends import("./input-types").SignOutPayloadSelect>(args: import("./mutation").SignOutVariables, options: {
|
|
339
352
|
select: S;
|
|
340
353
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignOutPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
341
354
|
signOut: import("./select-types").InferSelectResult<import("./input-types").SignOutPayload, S> | null;
|
|
342
355
|
}>;
|
|
343
|
-
|
|
356
|
+
acceptDatabaseTransfer: <S extends import("./input-types").AcceptDatabaseTransferPayloadSelect>(args: import("./mutation").AcceptDatabaseTransferVariables, options: {
|
|
344
357
|
select: S;
|
|
345
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
346
|
-
|
|
358
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").AcceptDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
359
|
+
acceptDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").AcceptDatabaseTransferPayload, S> | null;
|
|
347
360
|
}>;
|
|
348
|
-
|
|
361
|
+
cancelDatabaseTransfer: <S extends import("./input-types").CancelDatabaseTransferPayloadSelect>(args: import("./mutation").CancelDatabaseTransferVariables, options: {
|
|
349
362
|
select: S;
|
|
350
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
351
|
-
|
|
363
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CancelDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
364
|
+
cancelDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").CancelDatabaseTransferPayload, S> | null;
|
|
365
|
+
}>;
|
|
366
|
+
rejectDatabaseTransfer: <S extends import("./input-types").RejectDatabaseTransferPayloadSelect>(args: import("./mutation").RejectDatabaseTransferVariables, options: {
|
|
367
|
+
select: S;
|
|
368
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RejectDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
369
|
+
rejectDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").RejectDatabaseTransferPayload, S> | null;
|
|
352
370
|
}>;
|
|
353
371
|
submitInviteCode: <S extends import("./input-types").SubmitInviteCodePayloadSelect>(args: import("./mutation").SubmitInviteCodeVariables, options: {
|
|
354
372
|
select: S;
|
|
@@ -360,15 +378,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
360
378
|
} & import("./select-types").StrictSelect<S, import("./input-types").SubmitOrgInviteCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
361
379
|
submitOrgInviteCode: import("./select-types").InferSelectResult<import("./input-types").SubmitOrgInviteCodePayload, S> | null;
|
|
362
380
|
}>;
|
|
363
|
-
|
|
364
|
-
select: S;
|
|
365
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").FreezeObjectsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
366
|
-
freezeObjects: import("./select-types").InferSelectResult<import("./input-types").FreezeObjectsPayload, S> | null;
|
|
367
|
-
}>;
|
|
368
|
-
initEmptyRepo: <S extends import("./input-types").InitEmptyRepoPayloadSelect>(args: import("./mutation").InitEmptyRepoVariables, options: {
|
|
381
|
+
checkPassword: <S extends import("./input-types").CheckPasswordPayloadSelect>(args: import("./mutation").CheckPasswordVariables, options: {
|
|
369
382
|
select: S;
|
|
370
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
371
|
-
|
|
383
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
384
|
+
checkPassword: import("./select-types").InferSelectResult<import("./input-types").CheckPasswordPayload, S> | null;
|
|
372
385
|
}>;
|
|
373
386
|
confirmDeleteAccount: <S extends import("./input-types").ConfirmDeleteAccountPayloadSelect>(args: import("./mutation").ConfirmDeleteAccountVariables, options: {
|
|
374
387
|
select: S;
|
|
@@ -385,25 +398,30 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
385
398
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
386
399
|
verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
|
|
387
400
|
}>;
|
|
388
|
-
|
|
401
|
+
freezeObjects: <S extends import("./input-types").FreezeObjectsPayloadSelect>(args: import("./mutation").FreezeObjectsVariables, options: {
|
|
389
402
|
select: S;
|
|
390
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
391
|
-
|
|
403
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").FreezeObjectsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
404
|
+
freezeObjects: import("./select-types").InferSelectResult<import("./input-types").FreezeObjectsPayload, S> | null;
|
|
405
|
+
}>;
|
|
406
|
+
initEmptyRepo: <S extends import("./input-types").InitEmptyRepoPayloadSelect>(args: import("./mutation").InitEmptyRepoVariables, options: {
|
|
407
|
+
select: S;
|
|
408
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").InitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
409
|
+
initEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InitEmptyRepoPayload, S> | null;
|
|
410
|
+
}>;
|
|
411
|
+
constructBlueprint: <S extends import("./input-types").ConstructBlueprintPayloadSelect>(args: import("./mutation").ConstructBlueprintVariables, options: {
|
|
412
|
+
select: S;
|
|
413
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ConstructBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
414
|
+
constructBlueprint: import("./select-types").InferSelectResult<import("./input-types").ConstructBlueprintPayload, S> | null;
|
|
392
415
|
}>;
|
|
393
416
|
resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
|
|
394
417
|
select: S;
|
|
395
418
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
396
419
|
resetPassword: import("./select-types").InferSelectResult<import("./input-types").ResetPasswordPayload, S> | null;
|
|
397
420
|
}>;
|
|
398
|
-
|
|
399
|
-
select: S;
|
|
400
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
401
|
-
bootstrapUser: import("./select-types").InferSelectResult<import("./input-types").BootstrapUserPayload, S> | null;
|
|
402
|
-
}>;
|
|
403
|
-
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
421
|
+
removeNodeAtPath: <S extends import("./input-types").RemoveNodeAtPathPayloadSelect>(args: import("./mutation").RemoveNodeAtPathVariables, options: {
|
|
404
422
|
select: S;
|
|
405
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
406
|
-
|
|
423
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
424
|
+
removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
|
|
407
425
|
}>;
|
|
408
426
|
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
409
427
|
select: S;
|
|
@@ -415,11 +433,26 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
415
433
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetPropsAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
416
434
|
setPropsAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetPropsAndCommitPayload, S> | null;
|
|
417
435
|
}>;
|
|
436
|
+
copyTemplateToBlueprint: <S extends import("./input-types").CopyTemplateToBlueprintPayloadSelect>(args: import("./mutation").CopyTemplateToBlueprintVariables, options: {
|
|
437
|
+
select: S;
|
|
438
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CopyTemplateToBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
439
|
+
copyTemplateToBlueprint: import("./select-types").InferSelectResult<import("./input-types").CopyTemplateToBlueprintPayload, S> | null;
|
|
440
|
+
}>;
|
|
418
441
|
provisionDatabaseWithUser: <S extends import("./input-types").ProvisionDatabaseWithUserPayloadSelect>(args: import("./mutation").ProvisionDatabaseWithUserVariables, options: {
|
|
419
442
|
select: S;
|
|
420
443
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
421
444
|
provisionDatabaseWithUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionDatabaseWithUserPayload, S> | null;
|
|
422
445
|
}>;
|
|
446
|
+
bootstrapUser: <S extends import("./input-types").BootstrapUserPayloadSelect>(args: import("./mutation").BootstrapUserVariables, options: {
|
|
447
|
+
select: S;
|
|
448
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
449
|
+
bootstrapUser: import("./select-types").InferSelectResult<import("./input-types").BootstrapUserPayload, S> | null;
|
|
450
|
+
}>;
|
|
451
|
+
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
452
|
+
select: S;
|
|
453
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
454
|
+
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
455
|
+
}>;
|
|
423
456
|
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
424
457
|
select: S;
|
|
425
458
|
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -470,16 +503,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
470
503
|
} & import("./select-types").StrictSelect<S, import("./input-types").OneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
471
504
|
oneTimeToken: import("./select-types").InferSelectResult<import("./input-types").OneTimeTokenPayload, S> | null;
|
|
472
505
|
}>;
|
|
473
|
-
forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
|
|
474
|
-
select: S;
|
|
475
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
476
|
-
forgotPassword: import("./select-types").InferSelectResult<import("./input-types").ForgotPasswordPayload, S> | null;
|
|
477
|
-
}>;
|
|
478
506
|
sendVerificationEmail: <S extends import("./input-types").SendVerificationEmailPayloadSelect>(args: import("./mutation").SendVerificationEmailVariables, options: {
|
|
479
507
|
select: S;
|
|
480
508
|
} & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
481
509
|
sendVerificationEmail: import("./select-types").InferSelectResult<import("./input-types").SendVerificationEmailPayload, S> | null;
|
|
482
510
|
}>;
|
|
511
|
+
forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
|
|
512
|
+
select: S;
|
|
513
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
514
|
+
forgotPassword: import("./select-types").InferSelectResult<import("./input-types").ForgotPasswordPayload, S> | null;
|
|
515
|
+
}>;
|
|
483
516
|
verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
|
|
484
517
|
select: S;
|
|
485
518
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/esm/public/orm/index.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from './client';
|
|
7
|
+
import { GetAllRecordModel } from './models/getAllRecord';
|
|
7
8
|
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
|
|
8
9
|
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
|
|
9
|
-
import { GetAllRecordModel } from './models/getAllRecord';
|
|
10
10
|
import { ObjectModel } from './models/object';
|
|
11
11
|
import { AppPermissionModel } from './models/appPermission';
|
|
12
12
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
@@ -28,11 +28,13 @@ import { ViewModel } from './models/view';
|
|
|
28
28
|
import { ViewTableModel } from './models/viewTable';
|
|
29
29
|
import { ViewGrantModel } from './models/viewGrant';
|
|
30
30
|
import { ViewRuleModel } from './models/viewRule';
|
|
31
|
+
import { EmbeddingChunkModel } from './models/embeddingChunk';
|
|
31
32
|
import { TableTemplateModuleModel } from './models/tableTemplateModule';
|
|
32
33
|
import { SecureTableProvisionModel } from './models/secureTableProvision';
|
|
33
34
|
import { RelationProvisionModel } from './models/relationProvision';
|
|
34
35
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
35
36
|
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
37
|
+
import { EnumModel } from './models/enum';
|
|
36
38
|
import { ApiSchemaModel } from './models/apiSchema';
|
|
37
39
|
import { ApiModuleModel } from './models/apiModule';
|
|
38
40
|
import { DomainModel } from './models/domain';
|
|
@@ -40,6 +42,7 @@ import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
|
40
42
|
import { SiteModuleModel } from './models/siteModule';
|
|
41
43
|
import { SiteThemeModel } from './models/siteTheme';
|
|
42
44
|
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
45
|
+
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
43
46
|
import { ApiModel } from './models/api';
|
|
44
47
|
import { SiteModel } from './models/site';
|
|
45
48
|
import { AppModel } from './models/app';
|
|
@@ -63,7 +66,8 @@ import { SecretsModuleModel } from './models/secretsModule';
|
|
|
63
66
|
import { SessionsModuleModel } from './models/sessionsModule';
|
|
64
67
|
import { UserAuthModuleModel } from './models/userAuthModule';
|
|
65
68
|
import { UsersModuleModel } from './models/usersModule';
|
|
66
|
-
import {
|
|
69
|
+
import { BlueprintModel } from './models/blueprint';
|
|
70
|
+
import { BlueprintTemplateModel } from './models/blueprintTemplate';
|
|
67
71
|
import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
|
|
68
72
|
import { AppAdminGrantModel } from './models/appAdminGrant';
|
|
69
73
|
import { AppOwnerGrantModel } from './models/appOwnerGrant';
|
|
@@ -75,34 +79,34 @@ import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
|
|
|
75
79
|
import { OrgGrantModel } from './models/orgGrant';
|
|
76
80
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
77
81
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
82
|
+
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
78
83
|
import { AppLimitModel } from './models/appLimit';
|
|
79
84
|
import { OrgLimitModel } from './models/orgLimit';
|
|
80
85
|
import { AppStepModel } from './models/appStep';
|
|
81
86
|
import { AppAchievementModel } from './models/appAchievement';
|
|
87
|
+
import { AppLevelModel } from './models/appLevel';
|
|
88
|
+
import { EmailModel } from './models/email';
|
|
89
|
+
import { PhoneNumberModel } from './models/phoneNumber';
|
|
90
|
+
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
91
|
+
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
82
92
|
import { InviteModel } from './models/invite';
|
|
83
93
|
import { ClaimedInviteModel } from './models/claimedInvite';
|
|
84
94
|
import { OrgInviteModel } from './models/orgInvite';
|
|
85
95
|
import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
|
|
96
|
+
import { AuditLogModel } from './models/auditLog';
|
|
86
97
|
import { RefModel } from './models/ref';
|
|
87
98
|
import { StoreModel } from './models/store';
|
|
88
99
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
89
|
-
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
90
100
|
import { RoleTypeModel } from './models/roleType';
|
|
91
|
-
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
92
|
-
import { PhoneNumberModel } from './models/phoneNumber';
|
|
93
101
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
94
102
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
95
|
-
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
96
103
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
97
104
|
import { MembershipTypeModel } from './models/membershipType';
|
|
98
105
|
import { CommitModel } from './models/commit';
|
|
99
106
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
100
107
|
import { RlsModuleModel } from './models/rlsModule';
|
|
101
108
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
102
|
-
import { AuditLogModel } from './models/auditLog';
|
|
103
|
-
import { AppLevelModel } from './models/appLevel';
|
|
104
109
|
import { SqlMigrationModel } from './models/sqlMigration';
|
|
105
|
-
import { EmailModel } from './models/email';
|
|
106
110
|
import { UserModel } from './models/user';
|
|
107
111
|
import { AstMigrationModel } from './models/astMigration';
|
|
108
112
|
import { AppMembershipModel } from './models/appMembership';
|
|
@@ -142,9 +146,9 @@ export { createMutationOperations } from './mutation';
|
|
|
142
146
|
export function createClient(config) {
|
|
143
147
|
const client = new OrmClient(config);
|
|
144
148
|
return {
|
|
149
|
+
getAllRecord: new GetAllRecordModel(client),
|
|
145
150
|
orgGetManagersRecord: new OrgGetManagersRecordModel(client),
|
|
146
151
|
orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client),
|
|
147
|
-
getAllRecord: new GetAllRecordModel(client),
|
|
148
152
|
object: new ObjectModel(client),
|
|
149
153
|
appPermission: new AppPermissionModel(client),
|
|
150
154
|
orgPermission: new OrgPermissionModel(client),
|
|
@@ -166,11 +170,13 @@ export function createClient(config) {
|
|
|
166
170
|
viewTable: new ViewTableModel(client),
|
|
167
171
|
viewGrant: new ViewGrantModel(client),
|
|
168
172
|
viewRule: new ViewRuleModel(client),
|
|
173
|
+
embeddingChunk: new EmbeddingChunkModel(client),
|
|
169
174
|
tableTemplateModule: new TableTemplateModuleModel(client),
|
|
170
175
|
secureTableProvision: new SecureTableProvisionModel(client),
|
|
171
176
|
relationProvision: new RelationProvisionModel(client),
|
|
172
177
|
schemaGrant: new SchemaGrantModel(client),
|
|
173
178
|
defaultPrivilege: new DefaultPrivilegeModel(client),
|
|
179
|
+
enum: new EnumModel(client),
|
|
174
180
|
apiSchema: new ApiSchemaModel(client),
|
|
175
181
|
apiModule: new ApiModuleModel(client),
|
|
176
182
|
domain: new DomainModel(client),
|
|
@@ -178,6 +184,7 @@ export function createClient(config) {
|
|
|
178
184
|
siteModule: new SiteModuleModel(client),
|
|
179
185
|
siteTheme: new SiteThemeModel(client),
|
|
180
186
|
triggerFunction: new TriggerFunctionModel(client),
|
|
187
|
+
databaseTransfer: new DatabaseTransferModel(client),
|
|
181
188
|
api: new ApiModel(client),
|
|
182
189
|
site: new SiteModel(client),
|
|
183
190
|
app: new AppModel(client),
|
|
@@ -201,7 +208,8 @@ export function createClient(config) {
|
|
|
201
208
|
sessionsModule: new SessionsModuleModel(client),
|
|
202
209
|
userAuthModule: new UserAuthModuleModel(client),
|
|
203
210
|
usersModule: new UsersModuleModel(client),
|
|
204
|
-
|
|
211
|
+
blueprint: new BlueprintModel(client),
|
|
212
|
+
blueprintTemplate: new BlueprintTemplateModel(client),
|
|
205
213
|
databaseProvisionModule: new DatabaseProvisionModuleModel(client),
|
|
206
214
|
appAdminGrant: new AppAdminGrantModel(client),
|
|
207
215
|
appOwnerGrant: new AppOwnerGrantModel(client),
|
|
@@ -213,34 +221,34 @@ export function createClient(config) {
|
|
|
213
221
|
orgGrant: new OrgGrantModel(client),
|
|
214
222
|
orgChartEdge: new OrgChartEdgeModel(client),
|
|
215
223
|
orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
|
|
224
|
+
orgPermissionDefault: new OrgPermissionDefaultModel(client),
|
|
216
225
|
appLimit: new AppLimitModel(client),
|
|
217
226
|
orgLimit: new OrgLimitModel(client),
|
|
218
227
|
appStep: new AppStepModel(client),
|
|
219
228
|
appAchievement: new AppAchievementModel(client),
|
|
229
|
+
appLevel: new AppLevelModel(client),
|
|
230
|
+
email: new EmailModel(client),
|
|
231
|
+
phoneNumber: new PhoneNumberModel(client),
|
|
232
|
+
cryptoAddress: new CryptoAddressModel(client),
|
|
233
|
+
connectedAccount: new ConnectedAccountModel(client),
|
|
220
234
|
invite: new InviteModel(client),
|
|
221
235
|
claimedInvite: new ClaimedInviteModel(client),
|
|
222
236
|
orgInvite: new OrgInviteModel(client),
|
|
223
237
|
orgClaimedInvite: new OrgClaimedInviteModel(client),
|
|
238
|
+
auditLog: new AuditLogModel(client),
|
|
224
239
|
ref: new RefModel(client),
|
|
225
240
|
store: new StoreModel(client),
|
|
226
241
|
appPermissionDefault: new AppPermissionDefaultModel(client),
|
|
227
|
-
cryptoAddress: new CryptoAddressModel(client),
|
|
228
242
|
roleType: new RoleTypeModel(client),
|
|
229
|
-
orgPermissionDefault: new OrgPermissionDefaultModel(client),
|
|
230
|
-
phoneNumber: new PhoneNumberModel(client),
|
|
231
243
|
appLimitDefault: new AppLimitDefaultModel(client),
|
|
232
244
|
orgLimitDefault: new OrgLimitDefaultModel(client),
|
|
233
|
-
connectedAccount: new ConnectedAccountModel(client),
|
|
234
245
|
nodeTypeRegistry: new NodeTypeRegistryModel(client),
|
|
235
246
|
membershipType: new MembershipTypeModel(client),
|
|
236
247
|
commit: new CommitModel(client),
|
|
237
248
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|
|
238
249
|
rlsModule: new RlsModuleModel(client),
|
|
239
250
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
240
|
-
auditLog: new AuditLogModel(client),
|
|
241
|
-
appLevel: new AppLevelModel(client),
|
|
242
251
|
sqlMigration: new SqlMigrationModel(client),
|
|
243
|
-
email: new EmailModel(client),
|
|
244
252
|
user: new UserModel(client),
|
|
245
253
|
astMigration: new AstMigrationModel(client),
|
|
246
254
|
appMembership: new AppMembershipModel(client),
|