@constructive-io/react 0.6.4 → 0.6.6
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 +8 -0
- package/admin/hooks/queries/index.d.ts +1 -1
- package/admin/hooks/queries/index.js +1 -1
- package/admin/hooks/query-keys.d.ts +2 -2
- package/admin/hooks/query-keys.js +1 -1
- package/admin/orm/index.d.ts +5 -5
- package/admin/orm/query/index.d.ts +9 -9
- package/admin/orm/query/index.js +16 -16
- package/auth/orm/input-types.d.ts +0 -1
- package/auth/schema-types.d.ts +1 -3
- package/esm/admin/hooks/queries/index.d.ts +1 -1
- package/esm/admin/hooks/queries/index.js +1 -1
- package/esm/admin/hooks/query-keys.d.ts +2 -2
- package/esm/admin/hooks/query-keys.js +1 -1
- package/esm/admin/orm/index.d.ts +5 -5
- package/esm/admin/orm/query/index.d.ts +9 -9
- package/esm/admin/orm/query/index.js +16 -16
- package/esm/auth/orm/input-types.d.ts +0 -1
- package/esm/auth/schema-types.d.ts +1 -3
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +18 -18
- package/esm/public/hooks/invalidation.js +49 -49
- package/esm/public/hooks/mutation-keys.d.ts +48 -48
- package/esm/public/hooks/mutation-keys.js +39 -39
- package/esm/public/hooks/mutations/index.d.ts +15 -15
- package/esm/public/hooks/mutations/index.js +15 -15
- package/esm/public/hooks/queries/index.d.ts +8 -8
- package/esm/public/hooks/queries/index.js +8 -8
- package/esm/public/hooks/query-keys.d.ts +46 -46
- package/esm/public/hooks/query-keys.js +26 -26
- package/esm/public/orm/index.d.ts +44 -44
- package/esm/public/orm/index.js +6 -6
- package/esm/public/orm/input-types.d.ts +570 -571
- package/esm/public/orm/models/index.d.ts +3 -3
- package/esm/public/orm/models/index.js +3 -3
- package/esm/public/orm/mutation/index.d.ts +46 -46
- package/esm/public/orm/mutation/index.js +66 -66
- package/esm/public/orm/query/index.d.ts +28 -28
- package/esm/public/orm/query/index.js +48 -48
- package/esm/public/schema-types.d.ts +752 -754
- package/esm/public/types.d.ts +36 -36
- package/package.json +4 -4
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +18 -18
- package/public/hooks/invalidation.js +48 -48
- package/public/hooks/mutation-keys.d.ts +48 -48
- package/public/hooks/mutation-keys.js +42 -42
- package/public/hooks/mutations/index.d.ts +15 -15
- package/public/hooks/mutations/index.js +15 -15
- package/public/hooks/queries/index.d.ts +8 -8
- package/public/hooks/queries/index.js +8 -8
- package/public/hooks/query-keys.d.ts +46 -46
- package/public/hooks/query-keys.js +29 -29
- package/public/orm/index.d.ts +44 -44
- package/public/orm/index.js +6 -6
- package/public/orm/input-types.d.ts +570 -571
- package/public/orm/models/index.d.ts +3 -3
- package/public/orm/models/index.js +9 -9
- package/public/orm/mutation/index.d.ts +46 -46
- package/public/orm/mutation/index.js +66 -66
- package/public/orm/query/index.d.ts +28 -28
- package/public/orm/query/index.js +48 -48
- package/public/schema-types.d.ts +752 -754
- package/public/types.d.ts +36 -36
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
export { OrgGetManagersRecordModel } from './orgGetManagersRecord';
|
|
7
7
|
export { OrgGetSubordinatesRecordModel } from './orgGetSubordinatesRecord';
|
|
8
8
|
export { GetAllRecordModel } from './getAllRecord';
|
|
9
|
+
export { ObjectModel } from './object';
|
|
9
10
|
export { AppPermissionModel } from './appPermission';
|
|
10
11
|
export { OrgPermissionModel } from './orgPermission';
|
|
11
|
-
export { ObjectModel } from './object';
|
|
12
12
|
export { AppLevelRequirementModel } from './appLevelRequirement';
|
|
13
13
|
export { DatabaseModel } from './database';
|
|
14
14
|
export { SchemaModel } from './schema';
|
|
@@ -94,15 +94,15 @@ export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
|
94
94
|
export { ConnectedAccountModel } from './connectedAccount';
|
|
95
95
|
export { NodeTypeRegistryModel } from './nodeTypeRegistry';
|
|
96
96
|
export { MembershipTypeModel } from './membershipType';
|
|
97
|
+
export { CommitModel } from './commit';
|
|
97
98
|
export { AppMembershipDefaultModel } from './appMembershipDefault';
|
|
98
99
|
export { RlsModuleModel } from './rlsModule';
|
|
99
|
-
export { CommitModel } from './commit';
|
|
100
100
|
export { OrgMembershipDefaultModel } from './orgMembershipDefault';
|
|
101
101
|
export { AuditLogModel } from './auditLog';
|
|
102
102
|
export { AppLevelModel } from './appLevel';
|
|
103
103
|
export { SqlMigrationModel } from './sqlMigration';
|
|
104
104
|
export { EmailModel } from './email';
|
|
105
|
+
export { UserModel } from './user';
|
|
105
106
|
export { AstMigrationModel } from './astMigration';
|
|
106
107
|
export { AppMembershipModel } from './appMembership';
|
|
107
|
-
export { UserModel } from './user';
|
|
108
108
|
export { HierarchyModuleModel } from './hierarchyModule';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LimitsModuleModel = exports.LevelsModuleModel = exports.InvitesModuleModel = exports.FieldModuleModel = exports.EncryptedSecretsModuleModel = exports.EmailsModuleModel = exports.DenormalizedTableFieldModel = exports.DefaultIdsModuleModel = exports.CryptoAuthModuleModel = exports.CryptoAddressesModuleModel = exports.ConnectedAccountsModuleModel = exports.AppModel = exports.SiteModel = exports.ApiModel = exports.TriggerFunctionModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.DomainModel = exports.ApiModuleModel = exports.ApiSchemaModel = exports.DefaultPrivilegeModel = exports.SchemaGrantModel = exports.RelationProvisionModel = exports.SecureTableProvisionModel = exports.TableTemplateModuleModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewTableModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerModel = exports.TableGrantModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.IndexModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.CheckConstraintModel = exports.TableModel = exports.SchemaModel = exports.DatabaseModel = exports.AppLevelRequirementModel = exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.HierarchyModuleModel = exports.
|
|
3
|
+
exports.LimitsModuleModel = exports.LevelsModuleModel = exports.InvitesModuleModel = exports.FieldModuleModel = exports.EncryptedSecretsModuleModel = exports.EmailsModuleModel = exports.DenormalizedTableFieldModel = exports.DefaultIdsModuleModel = exports.CryptoAuthModuleModel = exports.CryptoAddressesModuleModel = exports.ConnectedAccountsModuleModel = exports.AppModel = exports.SiteModel = exports.ApiModel = exports.TriggerFunctionModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.DomainModel = exports.ApiModuleModel = exports.ApiSchemaModel = exports.DefaultPrivilegeModel = exports.SchemaGrantModel = exports.RelationProvisionModel = exports.SecureTableProvisionModel = exports.TableTemplateModuleModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewTableModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerModel = exports.TableGrantModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.IndexModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.CheckConstraintModel = exports.TableModel = exports.SchemaModel = exports.DatabaseModel = exports.AppLevelRequirementModel = exports.OrgPermissionModel = exports.AppPermissionModel = exports.ObjectModel = exports.GetAllRecordModel = exports.OrgGetSubordinatesRecordModel = exports.OrgGetManagersRecordModel = void 0;
|
|
4
|
+
exports.UserModel = exports.EmailModel = exports.SqlMigrationModel = exports.AppLevelModel = exports.AuditLogModel = exports.OrgMembershipDefaultModel = exports.RlsModuleModel = exports.AppMembershipDefaultModel = exports.CommitModel = exports.MembershipTypeModel = exports.NodeTypeRegistryModel = exports.ConnectedAccountModel = exports.OrgLimitDefaultModel = exports.AppLimitDefaultModel = exports.PhoneNumberModel = exports.OrgPermissionDefaultModel = exports.RoleTypeModel = exports.CryptoAddressModel = exports.AppPermissionDefaultModel = exports.StoreModel = exports.RefModel = exports.OrgClaimedInviteModel = exports.OrgInviteModel = exports.ClaimedInviteModel = exports.InviteModel = exports.AppAchievementModel = exports.AppStepModel = exports.OrgLimitModel = exports.AppLimitModel = exports.OrgChartEdgeGrantModel = exports.OrgChartEdgeModel = exports.OrgGrantModel = exports.OrgOwnerGrantModel = exports.OrgAdminGrantModel = exports.OrgMemberModel = exports.OrgMembershipModel = exports.AppGrantModel = exports.AppOwnerGrantModel = exports.AppAdminGrantModel = exports.DatabaseProvisionModuleModel = exports.UuidModuleModel = exports.UsersModuleModel = exports.UserAuthModuleModel = exports.SessionsModuleModel = exports.SecretsModuleModel = exports.ProfilesModuleModel = exports.PhoneNumbersModuleModel = exports.PermissionsModuleModel = exports.MembershipsModuleModel = exports.MembershipTypesModuleModel = void 0;
|
|
5
|
+
exports.HierarchyModuleModel = exports.AppMembershipModel = exports.AstMigrationModel = void 0;
|
|
6
6
|
/**
|
|
7
7
|
* Models barrel export
|
|
8
8
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -14,12 +14,12 @@ var orgGetSubordinatesRecord_1 = require("./orgGetSubordinatesRecord");
|
|
|
14
14
|
Object.defineProperty(exports, "OrgGetSubordinatesRecordModel", { enumerable: true, get: function () { return orgGetSubordinatesRecord_1.OrgGetSubordinatesRecordModel; } });
|
|
15
15
|
var getAllRecord_1 = require("./getAllRecord");
|
|
16
16
|
Object.defineProperty(exports, "GetAllRecordModel", { enumerable: true, get: function () { return getAllRecord_1.GetAllRecordModel; } });
|
|
17
|
+
var object_1 = require("./object");
|
|
18
|
+
Object.defineProperty(exports, "ObjectModel", { enumerable: true, get: function () { return object_1.ObjectModel; } });
|
|
17
19
|
var appPermission_1 = require("./appPermission");
|
|
18
20
|
Object.defineProperty(exports, "AppPermissionModel", { enumerable: true, get: function () { return appPermission_1.AppPermissionModel; } });
|
|
19
21
|
var orgPermission_1 = require("./orgPermission");
|
|
20
22
|
Object.defineProperty(exports, "OrgPermissionModel", { enumerable: true, get: function () { return orgPermission_1.OrgPermissionModel; } });
|
|
21
|
-
var object_1 = require("./object");
|
|
22
|
-
Object.defineProperty(exports, "ObjectModel", { enumerable: true, get: function () { return object_1.ObjectModel; } });
|
|
23
23
|
var appLevelRequirement_1 = require("./appLevelRequirement");
|
|
24
24
|
Object.defineProperty(exports, "AppLevelRequirementModel", { enumerable: true, get: function () { return appLevelRequirement_1.AppLevelRequirementModel; } });
|
|
25
25
|
var database_1 = require("./database");
|
|
@@ -190,12 +190,12 @@ var nodeTypeRegistry_1 = require("./nodeTypeRegistry");
|
|
|
190
190
|
Object.defineProperty(exports, "NodeTypeRegistryModel", { enumerable: true, get: function () { return nodeTypeRegistry_1.NodeTypeRegistryModel; } });
|
|
191
191
|
var membershipType_1 = require("./membershipType");
|
|
192
192
|
Object.defineProperty(exports, "MembershipTypeModel", { enumerable: true, get: function () { return membershipType_1.MembershipTypeModel; } });
|
|
193
|
+
var commit_1 = require("./commit");
|
|
194
|
+
Object.defineProperty(exports, "CommitModel", { enumerable: true, get: function () { return commit_1.CommitModel; } });
|
|
193
195
|
var appMembershipDefault_1 = require("./appMembershipDefault");
|
|
194
196
|
Object.defineProperty(exports, "AppMembershipDefaultModel", { enumerable: true, get: function () { return appMembershipDefault_1.AppMembershipDefaultModel; } });
|
|
195
197
|
var rlsModule_1 = require("./rlsModule");
|
|
196
198
|
Object.defineProperty(exports, "RlsModuleModel", { enumerable: true, get: function () { return rlsModule_1.RlsModuleModel; } });
|
|
197
|
-
var commit_1 = require("./commit");
|
|
198
|
-
Object.defineProperty(exports, "CommitModel", { enumerable: true, get: function () { return commit_1.CommitModel; } });
|
|
199
199
|
var orgMembershipDefault_1 = require("./orgMembershipDefault");
|
|
200
200
|
Object.defineProperty(exports, "OrgMembershipDefaultModel", { enumerable: true, get: function () { return orgMembershipDefault_1.OrgMembershipDefaultModel; } });
|
|
201
201
|
var auditLog_1 = require("./auditLog");
|
|
@@ -206,11 +206,11 @@ var sqlMigration_1 = require("./sqlMigration");
|
|
|
206
206
|
Object.defineProperty(exports, "SqlMigrationModel", { enumerable: true, get: function () { return sqlMigration_1.SqlMigrationModel; } });
|
|
207
207
|
var email_1 = require("./email");
|
|
208
208
|
Object.defineProperty(exports, "EmailModel", { enumerable: true, get: function () { return email_1.EmailModel; } });
|
|
209
|
+
var user_1 = require("./user");
|
|
210
|
+
Object.defineProperty(exports, "UserModel", { enumerable: true, get: function () { return user_1.UserModel; } });
|
|
209
211
|
var astMigration_1 = require("./astMigration");
|
|
210
212
|
Object.defineProperty(exports, "AstMigrationModel", { enumerable: true, get: function () { return astMigration_1.AstMigrationModel; } });
|
|
211
213
|
var appMembership_1 = require("./appMembership");
|
|
212
214
|
Object.defineProperty(exports, "AppMembershipModel", { enumerable: true, get: function () { return appMembership_1.AppMembershipModel; } });
|
|
213
|
-
var user_1 = require("./user");
|
|
214
|
-
Object.defineProperty(exports, "UserModel", { enumerable: true, get: function () { return user_1.UserModel; } });
|
|
215
215
|
var hierarchyModule_1 = require("./hierarchyModule");
|
|
216
216
|
Object.defineProperty(exports, "HierarchyModuleModel", { enumerable: true, get: function () { return hierarchyModule_1.HierarchyModuleModel; } });
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, FreezeObjectsInput, InitEmptyRepoInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, ResetPasswordInput, BootstrapUserInput,
|
|
9
|
+
import type { SignOutInput, SendAccountDeletionEmailInput, CheckPasswordInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, FreezeObjectsInput, InitEmptyRepoInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, RemoveNodeAtPathInput, ResetPasswordInput, BootstrapUserInput, SetFieldOrderInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ApplyRlsInput, SignInOneTimeTokenInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, SignInInput, SignUpInput, OneTimeTokenInput, ForgotPasswordInput, SendVerificationEmailInput, VerifyPasswordInput, VerifyTotpInput, SignOutPayload, SendAccountDeletionEmailPayload, CheckPasswordPayload, SubmitInviteCodePayload, SubmitOrgInviteCodePayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, RemoveNodeAtPathPayload, ResetPasswordPayload, BootstrapUserPayload, SetFieldOrderPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ApplyRlsPayload, SignInOneTimeTokenPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, SignInPayload, SignUpPayload, OneTimeTokenPayload, ForgotPasswordPayload, SendVerificationEmailPayload, VerifyPasswordPayload, VerifyTotpPayload, SignOutPayloadSelect, SendAccountDeletionEmailPayloadSelect, CheckPasswordPayloadSelect, SubmitInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, RemoveNodeAtPathPayloadSelect, ResetPasswordPayloadSelect, BootstrapUserPayloadSelect, SetFieldOrderPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ApplyRlsPayloadSelect, SignInOneTimeTokenPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, OneTimeTokenPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SignOutVariables {
|
|
11
11
|
input: SignOutInput;
|
|
12
12
|
}
|
|
@@ -37,14 +37,17 @@ export interface SetPasswordVariables {
|
|
|
37
37
|
export interface VerifyEmailVariables {
|
|
38
38
|
input: VerifyEmailInput;
|
|
39
39
|
}
|
|
40
|
+
export interface RemoveNodeAtPathVariables {
|
|
41
|
+
input: RemoveNodeAtPathInput;
|
|
42
|
+
}
|
|
40
43
|
export interface ResetPasswordVariables {
|
|
41
44
|
input: ResetPasswordInput;
|
|
42
45
|
}
|
|
43
46
|
export interface BootstrapUserVariables {
|
|
44
47
|
input: BootstrapUserInput;
|
|
45
48
|
}
|
|
46
|
-
export interface
|
|
47
|
-
input:
|
|
49
|
+
export interface SetFieldOrderVariables {
|
|
50
|
+
input: SetFieldOrderInput;
|
|
48
51
|
}
|
|
49
52
|
export interface SetDataAtPathVariables {
|
|
50
53
|
input: SetDataAtPathInput;
|
|
@@ -55,6 +58,18 @@ export interface SetPropsAndCommitVariables {
|
|
|
55
58
|
export interface ProvisionDatabaseWithUserVariables {
|
|
56
59
|
input: ProvisionDatabaseWithUserInput;
|
|
57
60
|
}
|
|
61
|
+
export interface InsertNodeAtPathVariables {
|
|
62
|
+
input: InsertNodeAtPathInput;
|
|
63
|
+
}
|
|
64
|
+
export interface UpdateNodeAtPathVariables {
|
|
65
|
+
input: UpdateNodeAtPathInput;
|
|
66
|
+
}
|
|
67
|
+
export interface SetAndCommitVariables {
|
|
68
|
+
input: SetAndCommitInput;
|
|
69
|
+
}
|
|
70
|
+
export interface ApplyRlsVariables {
|
|
71
|
+
input: ApplyRlsInput;
|
|
72
|
+
}
|
|
58
73
|
export interface SignInOneTimeTokenVariables {
|
|
59
74
|
input: SignInOneTimeTokenInput;
|
|
60
75
|
}
|
|
@@ -89,24 +104,9 @@ export interface SignInVariables {
|
|
|
89
104
|
export interface SignUpVariables {
|
|
90
105
|
input: SignUpInput;
|
|
91
106
|
}
|
|
92
|
-
export interface SetFieldOrderVariables {
|
|
93
|
-
input: SetFieldOrderInput;
|
|
94
|
-
}
|
|
95
107
|
export interface OneTimeTokenVariables {
|
|
96
108
|
input: OneTimeTokenInput;
|
|
97
109
|
}
|
|
98
|
-
export interface InsertNodeAtPathVariables {
|
|
99
|
-
input: InsertNodeAtPathInput;
|
|
100
|
-
}
|
|
101
|
-
export interface UpdateNodeAtPathVariables {
|
|
102
|
-
input: UpdateNodeAtPathInput;
|
|
103
|
-
}
|
|
104
|
-
export interface SetAndCommitVariables {
|
|
105
|
-
input: SetAndCommitInput;
|
|
106
|
-
}
|
|
107
|
-
export interface ApplyRlsVariables {
|
|
108
|
-
input: ApplyRlsInput;
|
|
109
|
-
}
|
|
110
110
|
export interface ForgotPasswordVariables {
|
|
111
111
|
input: ForgotPasswordInput;
|
|
112
112
|
}
|
|
@@ -170,6 +170,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
170
170
|
} & StrictSelect<S, VerifyEmailPayloadSelect>) => QueryBuilder<{
|
|
171
171
|
verifyEmail: InferSelectResult<VerifyEmailPayload, S> | null;
|
|
172
172
|
}>;
|
|
173
|
+
removeNodeAtPath: <S extends RemoveNodeAtPathPayloadSelect>(args: RemoveNodeAtPathVariables, options: {
|
|
174
|
+
select: S;
|
|
175
|
+
} & StrictSelect<S, RemoveNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
176
|
+
removeNodeAtPath: InferSelectResult<RemoveNodeAtPathPayload, S> | null;
|
|
177
|
+
}>;
|
|
173
178
|
resetPassword: <S extends ResetPasswordPayloadSelect>(args: ResetPasswordVariables, options: {
|
|
174
179
|
select: S;
|
|
175
180
|
} & StrictSelect<S, ResetPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -180,10 +185,10 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
180
185
|
} & StrictSelect<S, BootstrapUserPayloadSelect>) => QueryBuilder<{
|
|
181
186
|
bootstrapUser: InferSelectResult<BootstrapUserPayload, S> | null;
|
|
182
187
|
}>;
|
|
183
|
-
|
|
188
|
+
setFieldOrder: <S extends SetFieldOrderPayloadSelect>(args: SetFieldOrderVariables, options: {
|
|
184
189
|
select: S;
|
|
185
|
-
} & StrictSelect<S,
|
|
186
|
-
|
|
190
|
+
} & StrictSelect<S, SetFieldOrderPayloadSelect>) => QueryBuilder<{
|
|
191
|
+
setFieldOrder: InferSelectResult<SetFieldOrderPayload, S> | null;
|
|
187
192
|
}>;
|
|
188
193
|
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
189
194
|
select: S;
|
|
@@ -200,6 +205,26 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
200
205
|
} & StrictSelect<S, ProvisionDatabaseWithUserPayloadSelect>) => QueryBuilder<{
|
|
201
206
|
provisionDatabaseWithUser: InferSelectResult<ProvisionDatabaseWithUserPayload, S> | null;
|
|
202
207
|
}>;
|
|
208
|
+
insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
|
|
209
|
+
select: S;
|
|
210
|
+
} & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
211
|
+
insertNodeAtPath: InferSelectResult<InsertNodeAtPathPayload, S> | null;
|
|
212
|
+
}>;
|
|
213
|
+
updateNodeAtPath: <S extends UpdateNodeAtPathPayloadSelect>(args: UpdateNodeAtPathVariables, options: {
|
|
214
|
+
select: S;
|
|
215
|
+
} & StrictSelect<S, UpdateNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
216
|
+
updateNodeAtPath: InferSelectResult<UpdateNodeAtPathPayload, S> | null;
|
|
217
|
+
}>;
|
|
218
|
+
setAndCommit: <S extends SetAndCommitPayloadSelect>(args: SetAndCommitVariables, options: {
|
|
219
|
+
select: S;
|
|
220
|
+
} & StrictSelect<S, SetAndCommitPayloadSelect>) => QueryBuilder<{
|
|
221
|
+
setAndCommit: InferSelectResult<SetAndCommitPayload, S> | null;
|
|
222
|
+
}>;
|
|
223
|
+
applyRls: <S extends ApplyRlsPayloadSelect>(args: ApplyRlsVariables, options: {
|
|
224
|
+
select: S;
|
|
225
|
+
} & StrictSelect<S, ApplyRlsPayloadSelect>) => QueryBuilder<{
|
|
226
|
+
applyRls: InferSelectResult<ApplyRlsPayload, S> | null;
|
|
227
|
+
}>;
|
|
203
228
|
signInOneTimeToken: <S extends SignInOneTimeTokenPayloadSelect>(args: SignInOneTimeTokenVariables, options: {
|
|
204
229
|
select: S;
|
|
205
230
|
} & StrictSelect<S, SignInOneTimeTokenPayloadSelect>) => QueryBuilder<{
|
|
@@ -225,36 +250,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
225
250
|
} & StrictSelect<S, SignUpPayloadSelect>) => QueryBuilder<{
|
|
226
251
|
signUp: InferSelectResult<SignUpPayload, S> | null;
|
|
227
252
|
}>;
|
|
228
|
-
setFieldOrder: <S extends SetFieldOrderPayloadSelect>(args: SetFieldOrderVariables, options: {
|
|
229
|
-
select: S;
|
|
230
|
-
} & StrictSelect<S, SetFieldOrderPayloadSelect>) => QueryBuilder<{
|
|
231
|
-
setFieldOrder: InferSelectResult<SetFieldOrderPayload, S> | null;
|
|
232
|
-
}>;
|
|
233
253
|
oneTimeToken: <S extends OneTimeTokenPayloadSelect>(args: OneTimeTokenVariables, options: {
|
|
234
254
|
select: S;
|
|
235
255
|
} & StrictSelect<S, OneTimeTokenPayloadSelect>) => QueryBuilder<{
|
|
236
256
|
oneTimeToken: InferSelectResult<OneTimeTokenPayload, S> | null;
|
|
237
257
|
}>;
|
|
238
|
-
insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
|
|
239
|
-
select: S;
|
|
240
|
-
} & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
241
|
-
insertNodeAtPath: InferSelectResult<InsertNodeAtPathPayload, S> | null;
|
|
242
|
-
}>;
|
|
243
|
-
updateNodeAtPath: <S extends UpdateNodeAtPathPayloadSelect>(args: UpdateNodeAtPathVariables, options: {
|
|
244
|
-
select: S;
|
|
245
|
-
} & StrictSelect<S, UpdateNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
246
|
-
updateNodeAtPath: InferSelectResult<UpdateNodeAtPathPayload, S> | null;
|
|
247
|
-
}>;
|
|
248
|
-
setAndCommit: <S extends SetAndCommitPayloadSelect>(args: SetAndCommitVariables, options: {
|
|
249
|
-
select: S;
|
|
250
|
-
} & StrictSelect<S, SetAndCommitPayloadSelect>) => QueryBuilder<{
|
|
251
|
-
setAndCommit: InferSelectResult<SetAndCommitPayload, S> | null;
|
|
252
|
-
}>;
|
|
253
|
-
applyRls: <S extends ApplyRlsPayloadSelect>(args: ApplyRlsVariables, options: {
|
|
254
|
-
select: S;
|
|
255
|
-
} & StrictSelect<S, ApplyRlsPayloadSelect>) => QueryBuilder<{
|
|
256
|
-
applyRls: InferSelectResult<ApplyRlsPayload, S> | null;
|
|
257
|
-
}>;
|
|
258
258
|
forgotPassword: <S extends ForgotPasswordPayloadSelect>(args: ForgotPasswordVariables, options: {
|
|
259
259
|
select: S;
|
|
260
260
|
} & StrictSelect<S, ForgotPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -125,6 +125,18 @@ function createMutationOperations(client) {
|
|
|
125
125
|
},
|
|
126
126
|
], input_types_1.connectionFieldsMap, 'VerifyEmailPayload'),
|
|
127
127
|
}),
|
|
128
|
+
removeNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
129
|
+
client,
|
|
130
|
+
operation: 'mutation',
|
|
131
|
+
operationName: 'RemoveNodeAtPath',
|
|
132
|
+
fieldName: 'removeNodeAtPath',
|
|
133
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RemoveNodeAtPath', 'removeNodeAtPath', options.select, args, [
|
|
134
|
+
{
|
|
135
|
+
name: 'input',
|
|
136
|
+
type: 'RemoveNodeAtPathInput!',
|
|
137
|
+
},
|
|
138
|
+
], input_types_1.connectionFieldsMap, 'RemoveNodeAtPathPayload'),
|
|
139
|
+
}),
|
|
128
140
|
resetPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
129
141
|
client,
|
|
130
142
|
operation: 'mutation',
|
|
@@ -149,17 +161,17 @@ function createMutationOperations(client) {
|
|
|
149
161
|
},
|
|
150
162
|
], input_types_1.connectionFieldsMap, 'BootstrapUserPayload'),
|
|
151
163
|
}),
|
|
152
|
-
|
|
164
|
+
setFieldOrder: (args, options) => new query_builder_1.QueryBuilder({
|
|
153
165
|
client,
|
|
154
166
|
operation: 'mutation',
|
|
155
|
-
operationName: '
|
|
156
|
-
fieldName: '
|
|
157
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
167
|
+
operationName: 'SetFieldOrder',
|
|
168
|
+
fieldName: 'setFieldOrder',
|
|
169
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetFieldOrder', 'setFieldOrder', options.select, args, [
|
|
158
170
|
{
|
|
159
171
|
name: 'input',
|
|
160
|
-
type: '
|
|
172
|
+
type: 'SetFieldOrderInput!',
|
|
161
173
|
},
|
|
162
|
-
], input_types_1.connectionFieldsMap, '
|
|
174
|
+
], input_types_1.connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
163
175
|
}),
|
|
164
176
|
setDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
165
177
|
client,
|
|
@@ -197,6 +209,54 @@ function createMutationOperations(client) {
|
|
|
197
209
|
},
|
|
198
210
|
], input_types_1.connectionFieldsMap, 'ProvisionDatabaseWithUserPayload'),
|
|
199
211
|
}),
|
|
212
|
+
insertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
213
|
+
client,
|
|
214
|
+
operation: 'mutation',
|
|
215
|
+
operationName: 'InsertNodeAtPath',
|
|
216
|
+
fieldName: 'insertNodeAtPath',
|
|
217
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'InsertNodeAtPath', 'insertNodeAtPath', options.select, args, [
|
|
218
|
+
{
|
|
219
|
+
name: 'input',
|
|
220
|
+
type: 'InsertNodeAtPathInput!',
|
|
221
|
+
},
|
|
222
|
+
], input_types_1.connectionFieldsMap, 'InsertNodeAtPathPayload'),
|
|
223
|
+
}),
|
|
224
|
+
updateNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
225
|
+
client,
|
|
226
|
+
operation: 'mutation',
|
|
227
|
+
operationName: 'UpdateNodeAtPath',
|
|
228
|
+
fieldName: 'updateNodeAtPath',
|
|
229
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'UpdateNodeAtPath', 'updateNodeAtPath', options.select, args, [
|
|
230
|
+
{
|
|
231
|
+
name: 'input',
|
|
232
|
+
type: 'UpdateNodeAtPathInput!',
|
|
233
|
+
},
|
|
234
|
+
], input_types_1.connectionFieldsMap, 'UpdateNodeAtPathPayload'),
|
|
235
|
+
}),
|
|
236
|
+
setAndCommit: (args, options) => new query_builder_1.QueryBuilder({
|
|
237
|
+
client,
|
|
238
|
+
operation: 'mutation',
|
|
239
|
+
operationName: 'SetAndCommit',
|
|
240
|
+
fieldName: 'setAndCommit',
|
|
241
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetAndCommit', 'setAndCommit', options.select, args, [
|
|
242
|
+
{
|
|
243
|
+
name: 'input',
|
|
244
|
+
type: 'SetAndCommitInput!',
|
|
245
|
+
},
|
|
246
|
+
], input_types_1.connectionFieldsMap, 'SetAndCommitPayload'),
|
|
247
|
+
}),
|
|
248
|
+
applyRls: (args, options) => new query_builder_1.QueryBuilder({
|
|
249
|
+
client,
|
|
250
|
+
operation: 'mutation',
|
|
251
|
+
operationName: 'ApplyRls',
|
|
252
|
+
fieldName: 'applyRls',
|
|
253
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ApplyRls', 'applyRls', options.select, args, [
|
|
254
|
+
{
|
|
255
|
+
name: 'input',
|
|
256
|
+
type: 'ApplyRlsInput!',
|
|
257
|
+
},
|
|
258
|
+
], input_types_1.connectionFieldsMap, 'ApplyRlsPayload'),
|
|
259
|
+
}),
|
|
200
260
|
signInOneTimeToken: (args, options) => new query_builder_1.QueryBuilder({
|
|
201
261
|
client,
|
|
202
262
|
operation: 'mutation',
|
|
@@ -257,18 +317,6 @@ function createMutationOperations(client) {
|
|
|
257
317
|
},
|
|
258
318
|
], input_types_1.connectionFieldsMap, 'SignUpPayload'),
|
|
259
319
|
}),
|
|
260
|
-
setFieldOrder: (args, options) => new query_builder_1.QueryBuilder({
|
|
261
|
-
client,
|
|
262
|
-
operation: 'mutation',
|
|
263
|
-
operationName: 'SetFieldOrder',
|
|
264
|
-
fieldName: 'setFieldOrder',
|
|
265
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetFieldOrder', 'setFieldOrder', options.select, args, [
|
|
266
|
-
{
|
|
267
|
-
name: 'input',
|
|
268
|
-
type: 'SetFieldOrderInput!',
|
|
269
|
-
},
|
|
270
|
-
], input_types_1.connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
271
|
-
}),
|
|
272
320
|
oneTimeToken: (args, options) => new query_builder_1.QueryBuilder({
|
|
273
321
|
client,
|
|
274
322
|
operation: 'mutation',
|
|
@@ -281,54 +329,6 @@ function createMutationOperations(client) {
|
|
|
281
329
|
},
|
|
282
330
|
], input_types_1.connectionFieldsMap, 'OneTimeTokenPayload'),
|
|
283
331
|
}),
|
|
284
|
-
insertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
285
|
-
client,
|
|
286
|
-
operation: 'mutation',
|
|
287
|
-
operationName: 'InsertNodeAtPath',
|
|
288
|
-
fieldName: 'insertNodeAtPath',
|
|
289
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'InsertNodeAtPath', 'insertNodeAtPath', options.select, args, [
|
|
290
|
-
{
|
|
291
|
-
name: 'input',
|
|
292
|
-
type: 'InsertNodeAtPathInput!',
|
|
293
|
-
},
|
|
294
|
-
], input_types_1.connectionFieldsMap, 'InsertNodeAtPathPayload'),
|
|
295
|
-
}),
|
|
296
|
-
updateNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
297
|
-
client,
|
|
298
|
-
operation: 'mutation',
|
|
299
|
-
operationName: 'UpdateNodeAtPath',
|
|
300
|
-
fieldName: 'updateNodeAtPath',
|
|
301
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'UpdateNodeAtPath', 'updateNodeAtPath', options.select, args, [
|
|
302
|
-
{
|
|
303
|
-
name: 'input',
|
|
304
|
-
type: 'UpdateNodeAtPathInput!',
|
|
305
|
-
},
|
|
306
|
-
], input_types_1.connectionFieldsMap, 'UpdateNodeAtPathPayload'),
|
|
307
|
-
}),
|
|
308
|
-
setAndCommit: (args, options) => new query_builder_1.QueryBuilder({
|
|
309
|
-
client,
|
|
310
|
-
operation: 'mutation',
|
|
311
|
-
operationName: 'SetAndCommit',
|
|
312
|
-
fieldName: 'setAndCommit',
|
|
313
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'SetAndCommit', 'setAndCommit', options.select, args, [
|
|
314
|
-
{
|
|
315
|
-
name: 'input',
|
|
316
|
-
type: 'SetAndCommitInput!',
|
|
317
|
-
},
|
|
318
|
-
], input_types_1.connectionFieldsMap, 'SetAndCommitPayload'),
|
|
319
|
-
}),
|
|
320
|
-
applyRls: (args, options) => new query_builder_1.QueryBuilder({
|
|
321
|
-
client,
|
|
322
|
-
operation: 'mutation',
|
|
323
|
-
operationName: 'ApplyRls',
|
|
324
|
-
fieldName: 'applyRls',
|
|
325
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'ApplyRls', 'applyRls', options.select, args, [
|
|
326
|
-
{
|
|
327
|
-
name: 'input',
|
|
328
|
-
type: 'ApplyRlsInput!',
|
|
329
|
-
},
|
|
330
|
-
], input_types_1.connectionFieldsMap, 'ApplyRlsPayload'),
|
|
331
|
-
}),
|
|
332
332
|
forgotPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
333
333
|
client,
|
|
334
334
|
operation: 'mutation',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { Object, User, ObjectSelect, UserSelect, AppPermissionConnection, OrgPermissionConnection,
|
|
9
|
+
import type { Object, User, ObjectSelect, UserSelect, ObjectConnection, AppPermissionConnection, OrgPermissionConnection, AppLevelRequirementConnection } from '../input-types';
|
|
10
10
|
export interface AppPermissionsGetPaddedMaskVariables {
|
|
11
11
|
mask?: string;
|
|
12
12
|
}
|
|
@@ -40,8 +40,9 @@ export interface AppPermissionsGetMaskByNamesVariables {
|
|
|
40
40
|
export interface OrgPermissionsGetMaskByNamesVariables {
|
|
41
41
|
names?: string[];
|
|
42
42
|
}
|
|
43
|
-
export interface
|
|
44
|
-
|
|
43
|
+
export interface GetAllObjectsFromRootVariables {
|
|
44
|
+
databaseId?: string;
|
|
45
|
+
id?: string;
|
|
45
46
|
/** Only read the first `n` values of the set. */
|
|
46
47
|
first?: number;
|
|
47
48
|
/**
|
|
@@ -52,8 +53,10 @@ export interface AppPermissionsGetByMaskVariables {
|
|
|
52
53
|
/** Read all values in the set after (below) this cursor. */
|
|
53
54
|
after?: string;
|
|
54
55
|
}
|
|
55
|
-
export interface
|
|
56
|
-
|
|
56
|
+
export interface GetPathObjectsFromRootVariables {
|
|
57
|
+
databaseId?: string;
|
|
58
|
+
id?: string;
|
|
59
|
+
path?: string[];
|
|
57
60
|
/** Only read the first `n` values of the set. */
|
|
58
61
|
first?: number;
|
|
59
62
|
/**
|
|
@@ -64,9 +67,14 @@ export interface OrgPermissionsGetByMaskVariables {
|
|
|
64
67
|
/** Read all values in the set after (below) this cursor. */
|
|
65
68
|
after?: string;
|
|
66
69
|
}
|
|
67
|
-
export interface
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
export interface GetObjectAtPathVariables {
|
|
71
|
+
dbId?: string;
|
|
72
|
+
storeId?: string;
|
|
73
|
+
path?: string[];
|
|
74
|
+
refname?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface AppPermissionsGetByMaskVariables {
|
|
77
|
+
mask?: string;
|
|
70
78
|
/** Only read the first `n` values of the set. */
|
|
71
79
|
first?: number;
|
|
72
80
|
/**
|
|
@@ -77,10 +85,8 @@ export interface GetAllObjectsFromRootVariables {
|
|
|
77
85
|
/** Read all values in the set after (below) this cursor. */
|
|
78
86
|
after?: string;
|
|
79
87
|
}
|
|
80
|
-
export interface
|
|
81
|
-
|
|
82
|
-
id?: string;
|
|
83
|
-
path?: string[];
|
|
88
|
+
export interface OrgPermissionsGetByMaskVariables {
|
|
89
|
+
mask?: string;
|
|
84
90
|
/** Only read the first `n` values of the set. */
|
|
85
91
|
first?: number;
|
|
86
92
|
/**
|
|
@@ -91,12 +97,6 @@ export interface GetPathObjectsFromRootVariables {
|
|
|
91
97
|
/** Read all values in the set after (below) this cursor. */
|
|
92
98
|
after?: string;
|
|
93
99
|
}
|
|
94
|
-
export interface GetObjectAtPathVariables {
|
|
95
|
-
dbId?: string;
|
|
96
|
-
storeId?: string;
|
|
97
|
-
path?: string[];
|
|
98
|
-
refname?: string;
|
|
99
|
-
}
|
|
100
100
|
export interface StepsRequiredVariables {
|
|
101
101
|
vlevel?: string;
|
|
102
102
|
vroleId?: string;
|
|
@@ -171,16 +171,6 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
171
171
|
}) => QueryBuilder<{
|
|
172
172
|
orgPermissionsGetMaskByNames: string | null;
|
|
173
173
|
}>;
|
|
174
|
-
appPermissionsGetByMask: (args: AppPermissionsGetByMaskVariables, options?: {
|
|
175
|
-
select?: Record<string, unknown>;
|
|
176
|
-
}) => QueryBuilder<{
|
|
177
|
-
appPermissionsGetByMask: AppPermissionConnection | null;
|
|
178
|
-
}>;
|
|
179
|
-
orgPermissionsGetByMask: (args: OrgPermissionsGetByMaskVariables, options?: {
|
|
180
|
-
select?: Record<string, unknown>;
|
|
181
|
-
}) => QueryBuilder<{
|
|
182
|
-
orgPermissionsGetByMask: OrgPermissionConnection | null;
|
|
183
|
-
}>;
|
|
184
174
|
getAllObjectsFromRoot: (args: GetAllObjectsFromRootVariables, options?: {
|
|
185
175
|
select?: Record<string, unknown>;
|
|
186
176
|
}) => QueryBuilder<{
|
|
@@ -196,6 +186,16 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
196
186
|
} & StrictSelect<S, ObjectSelect>) => QueryBuilder<{
|
|
197
187
|
getObjectAtPath: InferSelectResult<Object, S> | null;
|
|
198
188
|
}>;
|
|
189
|
+
appPermissionsGetByMask: (args: AppPermissionsGetByMaskVariables, options?: {
|
|
190
|
+
select?: Record<string, unknown>;
|
|
191
|
+
}) => QueryBuilder<{
|
|
192
|
+
appPermissionsGetByMask: AppPermissionConnection | null;
|
|
193
|
+
}>;
|
|
194
|
+
orgPermissionsGetByMask: (args: OrgPermissionsGetByMaskVariables, options?: {
|
|
195
|
+
select?: Record<string, unknown>;
|
|
196
|
+
}) => QueryBuilder<{
|
|
197
|
+
orgPermissionsGetByMask: OrgPermissionConnection | null;
|
|
198
|
+
}>;
|
|
199
199
|
stepsRequired: (args: StepsRequiredVariables, options?: {
|
|
200
200
|
select?: Record<string, unknown>;
|
|
201
201
|
}) => QueryBuilder<{
|
|
@@ -158,54 +158,6 @@ function createQueryOperations(client) {
|
|
|
158
158
|
},
|
|
159
159
|
], input_types_1.connectionFieldsMap, undefined),
|
|
160
160
|
}),
|
|
161
|
-
appPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
|
|
162
|
-
client,
|
|
163
|
-
operation: 'query',
|
|
164
|
-
operationName: 'AppPermissionsGetByMask',
|
|
165
|
-
fieldName: 'appPermissionsGetByMask',
|
|
166
|
-
...(0, query_builder_1.buildCustomDocument)('query', 'AppPermissionsGetByMask', 'appPermissionsGetByMask', options?.select, args, [
|
|
167
|
-
{
|
|
168
|
-
name: 'mask',
|
|
169
|
-
type: 'BitString',
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
name: 'first',
|
|
173
|
-
type: 'Int',
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
name: 'offset',
|
|
177
|
-
type: 'Int',
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: 'after',
|
|
181
|
-
type: 'Cursor',
|
|
182
|
-
},
|
|
183
|
-
], input_types_1.connectionFieldsMap, undefined),
|
|
184
|
-
}),
|
|
185
|
-
orgPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
|
|
186
|
-
client,
|
|
187
|
-
operation: 'query',
|
|
188
|
-
operationName: 'OrgPermissionsGetByMask',
|
|
189
|
-
fieldName: 'orgPermissionsGetByMask',
|
|
190
|
-
...(0, query_builder_1.buildCustomDocument)('query', 'OrgPermissionsGetByMask', 'orgPermissionsGetByMask', options?.select, args, [
|
|
191
|
-
{
|
|
192
|
-
name: 'mask',
|
|
193
|
-
type: 'BitString',
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
name: 'first',
|
|
197
|
-
type: 'Int',
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
name: 'offset',
|
|
201
|
-
type: 'Int',
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
name: 'after',
|
|
205
|
-
type: 'Cursor',
|
|
206
|
-
},
|
|
207
|
-
], input_types_1.connectionFieldsMap, undefined),
|
|
208
|
-
}),
|
|
209
161
|
getAllObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
|
|
210
162
|
client,
|
|
211
163
|
operation: 'query',
|
|
@@ -290,6 +242,54 @@ function createQueryOperations(client) {
|
|
|
290
242
|
},
|
|
291
243
|
], input_types_1.connectionFieldsMap, 'Object'),
|
|
292
244
|
}),
|
|
245
|
+
appPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
|
|
246
|
+
client,
|
|
247
|
+
operation: 'query',
|
|
248
|
+
operationName: 'AppPermissionsGetByMask',
|
|
249
|
+
fieldName: 'appPermissionsGetByMask',
|
|
250
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'AppPermissionsGetByMask', 'appPermissionsGetByMask', options?.select, args, [
|
|
251
|
+
{
|
|
252
|
+
name: 'mask',
|
|
253
|
+
type: 'BitString',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: 'first',
|
|
257
|
+
type: 'Int',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
name: 'offset',
|
|
261
|
+
type: 'Int',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: 'after',
|
|
265
|
+
type: 'Cursor',
|
|
266
|
+
},
|
|
267
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
268
|
+
}),
|
|
269
|
+
orgPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
|
|
270
|
+
client,
|
|
271
|
+
operation: 'query',
|
|
272
|
+
operationName: 'OrgPermissionsGetByMask',
|
|
273
|
+
fieldName: 'orgPermissionsGetByMask',
|
|
274
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'OrgPermissionsGetByMask', 'orgPermissionsGetByMask', options?.select, args, [
|
|
275
|
+
{
|
|
276
|
+
name: 'mask',
|
|
277
|
+
type: 'BitString',
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
name: 'first',
|
|
281
|
+
type: 'Int',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: 'offset',
|
|
285
|
+
type: 'Int',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: 'after',
|
|
289
|
+
type: 'Cursor',
|
|
290
|
+
},
|
|
291
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
292
|
+
}),
|
|
293
293
|
stepsRequired: (args, options) => new query_builder_1.QueryBuilder({
|
|
294
294
|
client,
|
|
295
295
|
operation: 'query',
|