@constructive-io/react 0.18.8 → 0.18.9
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/esm/public/hooks/mutation-keys.d.ts +0 -4
- package/esm/public/hooks/mutation-keys.js +0 -6
- package/esm/public/hooks/mutations/index.d.ts +0 -2
- package/esm/public/hooks/mutations/index.js +0 -2
- package/esm/public/orm/index.d.ts +0 -10
- package/esm/public/orm/input-types.d.ts +0 -22
- package/esm/public/orm/mutation/index.d.ts +1 -17
- package/esm/public/orm/mutation/index.js +0 -24
- package/esm/public/schema-types.d.ts +0 -16
- package/package.json +2 -2
- package/public/hooks/mutation-keys.d.ts +0 -4
- package/public/hooks/mutation-keys.js +0 -6
- package/public/hooks/mutations/index.d.ts +0 -2
- package/public/hooks/mutations/index.js +0 -2
- package/public/orm/index.d.ts +0 -10
- package/public/orm/input-types.d.ts +0 -22
- package/public/orm/mutation/index.d.ts +1 -17
- package/public/orm/mutation/index.js +0 -24
- package/public/schema-types.d.ts +0 -16
- package/esm/public/hooks/mutations/useAppendFieldSmartTagsMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useAppendFieldSmartTagsMutation.js +0 -23
- package/esm/public/hooks/mutations/useAppendTableSmartTagsMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useAppendTableSmartTagsMutation.js +0 -23
- package/public/hooks/mutations/useAppendFieldSmartTagsMutation.d.ts +0 -20
- package/public/hooks/mutations/useAppendFieldSmartTagsMutation.js +0 -26
- package/public/hooks/mutations/useAppendTableSmartTagsMutation.d.ts +0 -20
- package/public/hooks/mutations/useAppendTableSmartTagsMutation.js +0 -26
|
@@ -918,8 +918,6 @@ export declare const customMutationKeys: {
|
|
|
918
918
|
/** Mutation key for provisionSpatialRelation */ readonly provisionSpatialRelation: (identifier?: string) => readonly ["mutation", "provisionSpatialRelation", string] | readonly ["mutation", "provisionSpatialRelation"];
|
|
919
919
|
/** Mutation key for bootstrapUser */ readonly bootstrapUser: (identifier?: string) => readonly ["mutation", "bootstrapUser", string] | readonly ["mutation", "bootstrapUser"];
|
|
920
920
|
/** Mutation key for setFieldOrder */ readonly setFieldOrder: (identifier?: string) => readonly ["mutation", "setFieldOrder", string] | readonly ["mutation", "setFieldOrder"];
|
|
921
|
-
/** Mutation key for appendFieldSmartTags */ readonly appendFieldSmartTags: (identifier?: string) => readonly ["mutation", "appendFieldSmartTags", string] | readonly ["mutation", "appendFieldSmartTags"];
|
|
922
|
-
/** Mutation key for appendTableSmartTags */ readonly appendTableSmartTags: (identifier?: string) => readonly ["mutation", "appendTableSmartTags", string] | readonly ["mutation", "appendTableSmartTags"];
|
|
923
921
|
/** Mutation key for provisionUniqueConstraint */ readonly provisionUniqueConstraint: (identifier?: string) => readonly ["mutation", "provisionUniqueConstraint", string] | readonly ["mutation", "provisionUniqueConstraint"];
|
|
924
922
|
/** Mutation key for provisionFullTextSearch */ readonly provisionFullTextSearch: (identifier?: string) => readonly ["mutation", "provisionFullTextSearch", string] | readonly ["mutation", "provisionFullTextSearch"];
|
|
925
923
|
/** Mutation key for provisionIndex */ readonly provisionIndex: (identifier?: string) => readonly ["mutation", "provisionIndex", string] | readonly ["mutation", "provisionIndex"];
|
|
@@ -1881,8 +1879,6 @@ export declare const mutationKeys: {
|
|
|
1881
1879
|
/** Mutation key for provisionSpatialRelation */ readonly provisionSpatialRelation: (identifier?: string) => readonly ["mutation", "provisionSpatialRelation", string] | readonly ["mutation", "provisionSpatialRelation"];
|
|
1882
1880
|
/** Mutation key for bootstrapUser */ readonly bootstrapUser: (identifier?: string) => readonly ["mutation", "bootstrapUser", string] | readonly ["mutation", "bootstrapUser"];
|
|
1883
1881
|
/** Mutation key for setFieldOrder */ readonly setFieldOrder: (identifier?: string) => readonly ["mutation", "setFieldOrder", string] | readonly ["mutation", "setFieldOrder"];
|
|
1884
|
-
/** Mutation key for appendFieldSmartTags */ readonly appendFieldSmartTags: (identifier?: string) => readonly ["mutation", "appendFieldSmartTags", string] | readonly ["mutation", "appendFieldSmartTags"];
|
|
1885
|
-
/** Mutation key for appendTableSmartTags */ readonly appendTableSmartTags: (identifier?: string) => readonly ["mutation", "appendTableSmartTags", string] | readonly ["mutation", "appendTableSmartTags"];
|
|
1886
1882
|
/** Mutation key for provisionUniqueConstraint */ readonly provisionUniqueConstraint: (identifier?: string) => readonly ["mutation", "provisionUniqueConstraint", string] | readonly ["mutation", "provisionUniqueConstraint"];
|
|
1887
1883
|
/** Mutation key for provisionFullTextSearch */ readonly provisionFullTextSearch: (identifier?: string) => readonly ["mutation", "provisionFullTextSearch", string] | readonly ["mutation", "provisionFullTextSearch"];
|
|
1888
1884
|
/** Mutation key for provisionIndex */ readonly provisionIndex: (identifier?: string) => readonly ["mutation", "provisionIndex", string] | readonly ["mutation", "provisionIndex"];
|
|
@@ -1024,12 +1024,6 @@ export const customMutationKeys = {
|
|
|
1024
1024
|
/** Mutation key for setFieldOrder */ setFieldOrder: (identifier) => identifier
|
|
1025
1025
|
? ['mutation', 'setFieldOrder', identifier]
|
|
1026
1026
|
: ['mutation', 'setFieldOrder'],
|
|
1027
|
-
/** Mutation key for appendFieldSmartTags */ appendFieldSmartTags: (identifier) => identifier
|
|
1028
|
-
? ['mutation', 'appendFieldSmartTags', identifier]
|
|
1029
|
-
: ['mutation', 'appendFieldSmartTags'],
|
|
1030
|
-
/** Mutation key for appendTableSmartTags */ appendTableSmartTags: (identifier) => identifier
|
|
1031
|
-
? ['mutation', 'appendTableSmartTags', identifier]
|
|
1032
|
-
: ['mutation', 'appendTableSmartTags'],
|
|
1033
1027
|
/** Mutation key for provisionUniqueConstraint */ provisionUniqueConstraint: (identifier) => identifier
|
|
1034
1028
|
? ['mutation', 'provisionUniqueConstraint', identifier]
|
|
1035
1029
|
: ['mutation', 'provisionUniqueConstraint'],
|
|
@@ -453,8 +453,6 @@ export * from './useCopyTemplateToBlueprintMutation';
|
|
|
453
453
|
export * from './useProvisionSpatialRelationMutation';
|
|
454
454
|
export * from './useBootstrapUserMutation';
|
|
455
455
|
export * from './useSetFieldOrderMutation';
|
|
456
|
-
export * from './useAppendFieldSmartTagsMutation';
|
|
457
|
-
export * from './useAppendTableSmartTagsMutation';
|
|
458
456
|
export * from './useProvisionUniqueConstraintMutation';
|
|
459
457
|
export * from './useProvisionFullTextSearchMutation';
|
|
460
458
|
export * from './useProvisionIndexMutation';
|
|
@@ -453,8 +453,6 @@ export * from './useCopyTemplateToBlueprintMutation';
|
|
|
453
453
|
export * from './useProvisionSpatialRelationMutation';
|
|
454
454
|
export * from './useBootstrapUserMutation';
|
|
455
455
|
export * from './useSetFieldOrderMutation';
|
|
456
|
-
export * from './useAppendFieldSmartTagsMutation';
|
|
457
|
-
export * from './useAppendTableSmartTagsMutation';
|
|
458
456
|
export * from './useProvisionUniqueConstraintMutation';
|
|
459
457
|
export * from './useProvisionFullTextSearchMutation';
|
|
460
458
|
export * from './useProvisionIndexMutation';
|
|
@@ -569,16 +569,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
569
569
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
570
570
|
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
571
571
|
}>;
|
|
572
|
-
appendFieldSmartTags: <S extends import("./input-types").AppendFieldSmartTagsPayloadSelect>(args: import("./mutation").AppendFieldSmartTagsVariables, options: {
|
|
573
|
-
select: S;
|
|
574
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").AppendFieldSmartTagsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
575
|
-
appendFieldSmartTags: import("./select-types").InferSelectResult<import("./input-types").AppendFieldSmartTagsPayload, S> | null;
|
|
576
|
-
}>;
|
|
577
|
-
appendTableSmartTags: <S extends import("./input-types").AppendTableSmartTagsPayloadSelect>(args: import("./mutation").AppendTableSmartTagsVariables, options: {
|
|
578
|
-
select: S;
|
|
579
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").AppendTableSmartTagsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
580
|
-
appendTableSmartTags: import("./select-types").InferSelectResult<import("./input-types").AppendTableSmartTagsPayload, S> | null;
|
|
581
|
-
}>;
|
|
582
572
|
provisionUniqueConstraint: <S extends import("./input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("./mutation").ProvisionUniqueConstraintVariables, options: {
|
|
583
573
|
select: S;
|
|
584
574
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionUniqueConstraintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -19201,16 +19201,6 @@ export interface SetFieldOrderInput {
|
|
|
19201
19201
|
clientMutationId?: string;
|
|
19202
19202
|
fieldIds?: string[];
|
|
19203
19203
|
}
|
|
19204
|
-
export interface AppendFieldSmartTagsInput {
|
|
19205
|
-
clientMutationId?: string;
|
|
19206
|
-
pFieldId?: string;
|
|
19207
|
-
pTags?: Record<string, unknown>;
|
|
19208
|
-
}
|
|
19209
|
-
export interface AppendTableSmartTagsInput {
|
|
19210
|
-
clientMutationId?: string;
|
|
19211
|
-
pTableId?: string;
|
|
19212
|
-
pTags?: Record<string, unknown>;
|
|
19213
|
-
}
|
|
19214
19204
|
export interface ProvisionUniqueConstraintInput {
|
|
19215
19205
|
clientMutationId?: string;
|
|
19216
19206
|
databaseId?: string;
|
|
@@ -27722,18 +27712,6 @@ export interface SetFieldOrderPayload {
|
|
|
27722
27712
|
export type SetFieldOrderPayloadSelect = {
|
|
27723
27713
|
clientMutationId?: boolean;
|
|
27724
27714
|
};
|
|
27725
|
-
export interface AppendFieldSmartTagsPayload {
|
|
27726
|
-
clientMutationId?: string | null;
|
|
27727
|
-
}
|
|
27728
|
-
export type AppendFieldSmartTagsPayloadSelect = {
|
|
27729
|
-
clientMutationId?: boolean;
|
|
27730
|
-
};
|
|
27731
|
-
export interface AppendTableSmartTagsPayload {
|
|
27732
|
-
clientMutationId?: string | null;
|
|
27733
|
-
}
|
|
27734
|
-
export type AppendTableSmartTagsPayloadSelect = {
|
|
27735
|
-
clientMutationId?: boolean;
|
|
27736
|
-
};
|
|
27737
27715
|
export interface ProvisionUniqueConstraintPayload {
|
|
27738
27716
|
clientMutationId?: string | null;
|
|
27739
27717
|
}
|
|
@@ -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 { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput,
|
|
9
|
+
import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput, ProvisionUniqueConstraintInput, ProvisionFullTextSearchInput, ProvisionIndexInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ProvisionRelationInput, ApplyRlsInput, SignInCrossOriginInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, CreateApiKeyInput, SendVerificationEmailInput, ForgotPasswordInput, SignUpInput, RequestCrossOriginTokenInput, SignInInput, ProvisionTableInput, ProvisionBucketInput, SendAccountDeletionEmailPayload, SignOutPayload, AcceptDatabaseTransferPayload, CancelDatabaseTransferPayload, RejectDatabaseTransferPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, SubmitAppInviteCodePayload, SubmitOrgInviteCodePayload, CheckPasswordPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConstructBlueprintPayload, ProvisionNewUserPayload, ResetPasswordPayload, RemoveNodeAtPathPayload, CopyTemplateToBlueprintPayload, ProvisionSpatialRelationPayload, BootstrapUserPayload, SetFieldOrderPayload, ProvisionUniqueConstraintPayload, ProvisionFullTextSearchPayload, ProvisionIndexPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ProvisionRelationPayload, ApplyRlsPayload, SignInCrossOriginPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, SendVerificationEmailPayload, ForgotPasswordPayload, SignUpPayload, RequestCrossOriginTokenPayload, SignInPayload, ProvisionTablePayload, ProvisionBucketPayload, SendAccountDeletionEmailPayloadSelect, SignOutPayloadSelect, AcceptDatabaseTransferPayloadSelect, CancelDatabaseTransferPayloadSelect, RejectDatabaseTransferPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, SubmitAppInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, CheckPasswordPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConstructBlueprintPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, RemoveNodeAtPathPayloadSelect, CopyTemplateToBlueprintPayloadSelect, ProvisionSpatialRelationPayloadSelect, BootstrapUserPayloadSelect, SetFieldOrderPayloadSelect, ProvisionUniqueConstraintPayloadSelect, ProvisionFullTextSearchPayloadSelect, ProvisionIndexPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ProvisionRelationPayloadSelect, ApplyRlsPayloadSelect, SignInCrossOriginPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, SendVerificationEmailPayloadSelect, ForgotPasswordPayloadSelect, SignUpPayloadSelect, RequestCrossOriginTokenPayloadSelect, SignInPayloadSelect, ProvisionTablePayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SendAccountDeletionEmailVariables {
|
|
11
11
|
input: SendAccountDeletionEmailInput;
|
|
12
12
|
}
|
|
@@ -97,12 +97,6 @@ export interface BootstrapUserVariables {
|
|
|
97
97
|
export interface SetFieldOrderVariables {
|
|
98
98
|
input: SetFieldOrderInput;
|
|
99
99
|
}
|
|
100
|
-
export interface AppendFieldSmartTagsVariables {
|
|
101
|
-
input: AppendFieldSmartTagsInput;
|
|
102
|
-
}
|
|
103
|
-
export interface AppendTableSmartTagsVariables {
|
|
104
|
-
input: AppendTableSmartTagsInput;
|
|
105
|
-
}
|
|
106
100
|
/**
|
|
107
101
|
* Variables for provisionUniqueConstraint
|
|
108
102
|
* Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.
|
|
@@ -346,16 +340,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
346
340
|
} & StrictSelect<S, SetFieldOrderPayloadSelect>) => QueryBuilder<{
|
|
347
341
|
setFieldOrder: InferSelectResult<SetFieldOrderPayload, S> | null;
|
|
348
342
|
}>;
|
|
349
|
-
appendFieldSmartTags: <S extends AppendFieldSmartTagsPayloadSelect>(args: AppendFieldSmartTagsVariables, options: {
|
|
350
|
-
select: S;
|
|
351
|
-
} & StrictSelect<S, AppendFieldSmartTagsPayloadSelect>) => QueryBuilder<{
|
|
352
|
-
appendFieldSmartTags: InferSelectResult<AppendFieldSmartTagsPayload, S> | null;
|
|
353
|
-
}>;
|
|
354
|
-
appendTableSmartTags: <S extends AppendTableSmartTagsPayloadSelect>(args: AppendTableSmartTagsVariables, options: {
|
|
355
|
-
select: S;
|
|
356
|
-
} & StrictSelect<S, AppendTableSmartTagsPayloadSelect>) => QueryBuilder<{
|
|
357
|
-
appendTableSmartTags: InferSelectResult<AppendTableSmartTagsPayload, S> | null;
|
|
358
|
-
}>;
|
|
359
343
|
provisionUniqueConstraint: <S extends ProvisionUniqueConstraintPayloadSelect>(args: ProvisionUniqueConstraintVariables, options: {
|
|
360
344
|
select: S;
|
|
361
345
|
} & StrictSelect<S, ProvisionUniqueConstraintPayloadSelect>) => QueryBuilder<{
|
|
@@ -314,30 +314,6 @@ export function createMutationOperations(client) {
|
|
|
314
314
|
},
|
|
315
315
|
], connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
316
316
|
}),
|
|
317
|
-
appendFieldSmartTags: (args, options) => new QueryBuilder({
|
|
318
|
-
client,
|
|
319
|
-
operation: 'mutation',
|
|
320
|
-
operationName: 'AppendFieldSmartTags',
|
|
321
|
-
fieldName: 'appendFieldSmartTags',
|
|
322
|
-
...buildCustomDocument('mutation', 'AppendFieldSmartTags', 'appendFieldSmartTags', options.select, args, [
|
|
323
|
-
{
|
|
324
|
-
name: 'input',
|
|
325
|
-
type: 'AppendFieldSmartTagsInput!',
|
|
326
|
-
},
|
|
327
|
-
], connectionFieldsMap, 'AppendFieldSmartTagsPayload'),
|
|
328
|
-
}),
|
|
329
|
-
appendTableSmartTags: (args, options) => new QueryBuilder({
|
|
330
|
-
client,
|
|
331
|
-
operation: 'mutation',
|
|
332
|
-
operationName: 'AppendTableSmartTags',
|
|
333
|
-
fieldName: 'appendTableSmartTags',
|
|
334
|
-
...buildCustomDocument('mutation', 'AppendTableSmartTags', 'appendTableSmartTags', options.select, args, [
|
|
335
|
-
{
|
|
336
|
-
name: 'input',
|
|
337
|
-
type: 'AppendTableSmartTagsInput!',
|
|
338
|
-
},
|
|
339
|
-
], connectionFieldsMap, 'AppendTableSmartTagsPayload'),
|
|
340
|
-
}),
|
|
341
317
|
provisionUniqueConstraint: (args, options) => new QueryBuilder({
|
|
342
318
|
client,
|
|
343
319
|
operation: 'mutation',
|
|
@@ -8541,16 +8541,6 @@ export interface SetFieldOrderInput {
|
|
|
8541
8541
|
clientMutationId?: string;
|
|
8542
8542
|
fieldIds?: string[];
|
|
8543
8543
|
}
|
|
8544
|
-
export interface AppendFieldSmartTagsInput {
|
|
8545
|
-
clientMutationId?: string;
|
|
8546
|
-
pFieldId?: string;
|
|
8547
|
-
pTags?: unknown;
|
|
8548
|
-
}
|
|
8549
|
-
export interface AppendTableSmartTagsInput {
|
|
8550
|
-
clientMutationId?: string;
|
|
8551
|
-
pTableId?: string;
|
|
8552
|
-
pTags?: unknown;
|
|
8553
|
-
}
|
|
8554
8544
|
export interface ProvisionUniqueConstraintInput {
|
|
8555
8545
|
clientMutationId?: string;
|
|
8556
8546
|
databaseId?: string;
|
|
@@ -17260,12 +17250,6 @@ export interface BootstrapUserPayload {
|
|
|
17260
17250
|
export interface SetFieldOrderPayload {
|
|
17261
17251
|
clientMutationId?: string | null;
|
|
17262
17252
|
}
|
|
17263
|
-
export interface AppendFieldSmartTagsPayload {
|
|
17264
|
-
clientMutationId?: string | null;
|
|
17265
|
-
}
|
|
17266
|
-
export interface AppendTableSmartTagsPayload {
|
|
17267
|
-
clientMutationId?: string | null;
|
|
17268
|
-
}
|
|
17269
17253
|
export interface ProvisionUniqueConstraintPayload {
|
|
17270
17254
|
clientMutationId?: string | null;
|
|
17271
17255
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/react",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.9",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive React - Auto-generated React Query hooks and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"tsx": "^4.19.0",
|
|
61
61
|
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "b54aef52c81be35a53e771003939d447aa34ba35"
|
|
64
64
|
}
|
|
@@ -918,8 +918,6 @@ export declare const customMutationKeys: {
|
|
|
918
918
|
/** Mutation key for provisionSpatialRelation */ readonly provisionSpatialRelation: (identifier?: string) => readonly ["mutation", "provisionSpatialRelation", string] | readonly ["mutation", "provisionSpatialRelation"];
|
|
919
919
|
/** Mutation key for bootstrapUser */ readonly bootstrapUser: (identifier?: string) => readonly ["mutation", "bootstrapUser", string] | readonly ["mutation", "bootstrapUser"];
|
|
920
920
|
/** Mutation key for setFieldOrder */ readonly setFieldOrder: (identifier?: string) => readonly ["mutation", "setFieldOrder", string] | readonly ["mutation", "setFieldOrder"];
|
|
921
|
-
/** Mutation key for appendFieldSmartTags */ readonly appendFieldSmartTags: (identifier?: string) => readonly ["mutation", "appendFieldSmartTags", string] | readonly ["mutation", "appendFieldSmartTags"];
|
|
922
|
-
/** Mutation key for appendTableSmartTags */ readonly appendTableSmartTags: (identifier?: string) => readonly ["mutation", "appendTableSmartTags", string] | readonly ["mutation", "appendTableSmartTags"];
|
|
923
921
|
/** Mutation key for provisionUniqueConstraint */ readonly provisionUniqueConstraint: (identifier?: string) => readonly ["mutation", "provisionUniqueConstraint", string] | readonly ["mutation", "provisionUniqueConstraint"];
|
|
924
922
|
/** Mutation key for provisionFullTextSearch */ readonly provisionFullTextSearch: (identifier?: string) => readonly ["mutation", "provisionFullTextSearch", string] | readonly ["mutation", "provisionFullTextSearch"];
|
|
925
923
|
/** Mutation key for provisionIndex */ readonly provisionIndex: (identifier?: string) => readonly ["mutation", "provisionIndex", string] | readonly ["mutation", "provisionIndex"];
|
|
@@ -1881,8 +1879,6 @@ export declare const mutationKeys: {
|
|
|
1881
1879
|
/** Mutation key for provisionSpatialRelation */ readonly provisionSpatialRelation: (identifier?: string) => readonly ["mutation", "provisionSpatialRelation", string] | readonly ["mutation", "provisionSpatialRelation"];
|
|
1882
1880
|
/** Mutation key for bootstrapUser */ readonly bootstrapUser: (identifier?: string) => readonly ["mutation", "bootstrapUser", string] | readonly ["mutation", "bootstrapUser"];
|
|
1883
1881
|
/** Mutation key for setFieldOrder */ readonly setFieldOrder: (identifier?: string) => readonly ["mutation", "setFieldOrder", string] | readonly ["mutation", "setFieldOrder"];
|
|
1884
|
-
/** Mutation key for appendFieldSmartTags */ readonly appendFieldSmartTags: (identifier?: string) => readonly ["mutation", "appendFieldSmartTags", string] | readonly ["mutation", "appendFieldSmartTags"];
|
|
1885
|
-
/** Mutation key for appendTableSmartTags */ readonly appendTableSmartTags: (identifier?: string) => readonly ["mutation", "appendTableSmartTags", string] | readonly ["mutation", "appendTableSmartTags"];
|
|
1886
1882
|
/** Mutation key for provisionUniqueConstraint */ readonly provisionUniqueConstraint: (identifier?: string) => readonly ["mutation", "provisionUniqueConstraint", string] | readonly ["mutation", "provisionUniqueConstraint"];
|
|
1887
1883
|
/** Mutation key for provisionFullTextSearch */ readonly provisionFullTextSearch: (identifier?: string) => readonly ["mutation", "provisionFullTextSearch", string] | readonly ["mutation", "provisionFullTextSearch"];
|
|
1888
1884
|
/** Mutation key for provisionIndex */ readonly provisionIndex: (identifier?: string) => readonly ["mutation", "provisionIndex", string] | readonly ["mutation", "provisionIndex"];
|
|
@@ -1029,12 +1029,6 @@ exports.customMutationKeys = {
|
|
|
1029
1029
|
/** Mutation key for setFieldOrder */ setFieldOrder: (identifier) => identifier
|
|
1030
1030
|
? ['mutation', 'setFieldOrder', identifier]
|
|
1031
1031
|
: ['mutation', 'setFieldOrder'],
|
|
1032
|
-
/** Mutation key for appendFieldSmartTags */ appendFieldSmartTags: (identifier) => identifier
|
|
1033
|
-
? ['mutation', 'appendFieldSmartTags', identifier]
|
|
1034
|
-
: ['mutation', 'appendFieldSmartTags'],
|
|
1035
|
-
/** Mutation key for appendTableSmartTags */ appendTableSmartTags: (identifier) => identifier
|
|
1036
|
-
? ['mutation', 'appendTableSmartTags', identifier]
|
|
1037
|
-
: ['mutation', 'appendTableSmartTags'],
|
|
1038
1032
|
/** Mutation key for provisionUniqueConstraint */ provisionUniqueConstraint: (identifier) => identifier
|
|
1039
1033
|
? ['mutation', 'provisionUniqueConstraint', identifier]
|
|
1040
1034
|
: ['mutation', 'provisionUniqueConstraint'],
|
|
@@ -453,8 +453,6 @@ export * from './useCopyTemplateToBlueprintMutation';
|
|
|
453
453
|
export * from './useProvisionSpatialRelationMutation';
|
|
454
454
|
export * from './useBootstrapUserMutation';
|
|
455
455
|
export * from './useSetFieldOrderMutation';
|
|
456
|
-
export * from './useAppendFieldSmartTagsMutation';
|
|
457
|
-
export * from './useAppendTableSmartTagsMutation';
|
|
458
456
|
export * from './useProvisionUniqueConstraintMutation';
|
|
459
457
|
export * from './useProvisionFullTextSearchMutation';
|
|
460
458
|
export * from './useProvisionIndexMutation';
|
|
@@ -469,8 +469,6 @@ __exportStar(require("./useCopyTemplateToBlueprintMutation"), exports);
|
|
|
469
469
|
__exportStar(require("./useProvisionSpatialRelationMutation"), exports);
|
|
470
470
|
__exportStar(require("./useBootstrapUserMutation"), exports);
|
|
471
471
|
__exportStar(require("./useSetFieldOrderMutation"), exports);
|
|
472
|
-
__exportStar(require("./useAppendFieldSmartTagsMutation"), exports);
|
|
473
|
-
__exportStar(require("./useAppendTableSmartTagsMutation"), exports);
|
|
474
472
|
__exportStar(require("./useProvisionUniqueConstraintMutation"), exports);
|
|
475
473
|
__exportStar(require("./useProvisionFullTextSearchMutation"), exports);
|
|
476
474
|
__exportStar(require("./useProvisionIndexMutation"), exports);
|
package/public/orm/index.d.ts
CHANGED
|
@@ -569,16 +569,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
569
569
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
570
570
|
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
571
571
|
}>;
|
|
572
|
-
appendFieldSmartTags: <S extends import("./input-types").AppendFieldSmartTagsPayloadSelect>(args: import("./mutation").AppendFieldSmartTagsVariables, options: {
|
|
573
|
-
select: S;
|
|
574
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").AppendFieldSmartTagsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
575
|
-
appendFieldSmartTags: import("./select-types").InferSelectResult<import("./input-types").AppendFieldSmartTagsPayload, S> | null;
|
|
576
|
-
}>;
|
|
577
|
-
appendTableSmartTags: <S extends import("./input-types").AppendTableSmartTagsPayloadSelect>(args: import("./mutation").AppendTableSmartTagsVariables, options: {
|
|
578
|
-
select: S;
|
|
579
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").AppendTableSmartTagsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
580
|
-
appendTableSmartTags: import("./select-types").InferSelectResult<import("./input-types").AppendTableSmartTagsPayload, S> | null;
|
|
581
|
-
}>;
|
|
582
572
|
provisionUniqueConstraint: <S extends import("./input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("./mutation").ProvisionUniqueConstraintVariables, options: {
|
|
583
573
|
select: S;
|
|
584
574
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionUniqueConstraintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -19201,16 +19201,6 @@ export interface SetFieldOrderInput {
|
|
|
19201
19201
|
clientMutationId?: string;
|
|
19202
19202
|
fieldIds?: string[];
|
|
19203
19203
|
}
|
|
19204
|
-
export interface AppendFieldSmartTagsInput {
|
|
19205
|
-
clientMutationId?: string;
|
|
19206
|
-
pFieldId?: string;
|
|
19207
|
-
pTags?: Record<string, unknown>;
|
|
19208
|
-
}
|
|
19209
|
-
export interface AppendTableSmartTagsInput {
|
|
19210
|
-
clientMutationId?: string;
|
|
19211
|
-
pTableId?: string;
|
|
19212
|
-
pTags?: Record<string, unknown>;
|
|
19213
|
-
}
|
|
19214
19204
|
export interface ProvisionUniqueConstraintInput {
|
|
19215
19205
|
clientMutationId?: string;
|
|
19216
19206
|
databaseId?: string;
|
|
@@ -27722,18 +27712,6 @@ export interface SetFieldOrderPayload {
|
|
|
27722
27712
|
export type SetFieldOrderPayloadSelect = {
|
|
27723
27713
|
clientMutationId?: boolean;
|
|
27724
27714
|
};
|
|
27725
|
-
export interface AppendFieldSmartTagsPayload {
|
|
27726
|
-
clientMutationId?: string | null;
|
|
27727
|
-
}
|
|
27728
|
-
export type AppendFieldSmartTagsPayloadSelect = {
|
|
27729
|
-
clientMutationId?: boolean;
|
|
27730
|
-
};
|
|
27731
|
-
export interface AppendTableSmartTagsPayload {
|
|
27732
|
-
clientMutationId?: string | null;
|
|
27733
|
-
}
|
|
27734
|
-
export type AppendTableSmartTagsPayloadSelect = {
|
|
27735
|
-
clientMutationId?: boolean;
|
|
27736
|
-
};
|
|
27737
27715
|
export interface ProvisionUniqueConstraintPayload {
|
|
27738
27716
|
clientMutationId?: string | null;
|
|
27739
27717
|
}
|
|
@@ -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 { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput,
|
|
9
|
+
import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput, ProvisionUniqueConstraintInput, ProvisionFullTextSearchInput, ProvisionIndexInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ProvisionRelationInput, ApplyRlsInput, SignInCrossOriginInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, CreateApiKeyInput, SendVerificationEmailInput, ForgotPasswordInput, SignUpInput, RequestCrossOriginTokenInput, SignInInput, ProvisionTableInput, ProvisionBucketInput, SendAccountDeletionEmailPayload, SignOutPayload, AcceptDatabaseTransferPayload, CancelDatabaseTransferPayload, RejectDatabaseTransferPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, SubmitAppInviteCodePayload, SubmitOrgInviteCodePayload, CheckPasswordPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConstructBlueprintPayload, ProvisionNewUserPayload, ResetPasswordPayload, RemoveNodeAtPathPayload, CopyTemplateToBlueprintPayload, ProvisionSpatialRelationPayload, BootstrapUserPayload, SetFieldOrderPayload, ProvisionUniqueConstraintPayload, ProvisionFullTextSearchPayload, ProvisionIndexPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ProvisionRelationPayload, ApplyRlsPayload, SignInCrossOriginPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, SendVerificationEmailPayload, ForgotPasswordPayload, SignUpPayload, RequestCrossOriginTokenPayload, SignInPayload, ProvisionTablePayload, ProvisionBucketPayload, SendAccountDeletionEmailPayloadSelect, SignOutPayloadSelect, AcceptDatabaseTransferPayloadSelect, CancelDatabaseTransferPayloadSelect, RejectDatabaseTransferPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, SubmitAppInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, CheckPasswordPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConstructBlueprintPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, RemoveNodeAtPathPayloadSelect, CopyTemplateToBlueprintPayloadSelect, ProvisionSpatialRelationPayloadSelect, BootstrapUserPayloadSelect, SetFieldOrderPayloadSelect, ProvisionUniqueConstraintPayloadSelect, ProvisionFullTextSearchPayloadSelect, ProvisionIndexPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ProvisionRelationPayloadSelect, ApplyRlsPayloadSelect, SignInCrossOriginPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, SendVerificationEmailPayloadSelect, ForgotPasswordPayloadSelect, SignUpPayloadSelect, RequestCrossOriginTokenPayloadSelect, SignInPayloadSelect, ProvisionTablePayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SendAccountDeletionEmailVariables {
|
|
11
11
|
input: SendAccountDeletionEmailInput;
|
|
12
12
|
}
|
|
@@ -97,12 +97,6 @@ export interface BootstrapUserVariables {
|
|
|
97
97
|
export interface SetFieldOrderVariables {
|
|
98
98
|
input: SetFieldOrderInput;
|
|
99
99
|
}
|
|
100
|
-
export interface AppendFieldSmartTagsVariables {
|
|
101
|
-
input: AppendFieldSmartTagsInput;
|
|
102
|
-
}
|
|
103
|
-
export interface AppendTableSmartTagsVariables {
|
|
104
|
-
input: AppendTableSmartTagsInput;
|
|
105
|
-
}
|
|
106
100
|
/**
|
|
107
101
|
* Variables for provisionUniqueConstraint
|
|
108
102
|
* Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.
|
|
@@ -346,16 +340,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
346
340
|
} & StrictSelect<S, SetFieldOrderPayloadSelect>) => QueryBuilder<{
|
|
347
341
|
setFieldOrder: InferSelectResult<SetFieldOrderPayload, S> | null;
|
|
348
342
|
}>;
|
|
349
|
-
appendFieldSmartTags: <S extends AppendFieldSmartTagsPayloadSelect>(args: AppendFieldSmartTagsVariables, options: {
|
|
350
|
-
select: S;
|
|
351
|
-
} & StrictSelect<S, AppendFieldSmartTagsPayloadSelect>) => QueryBuilder<{
|
|
352
|
-
appendFieldSmartTags: InferSelectResult<AppendFieldSmartTagsPayload, S> | null;
|
|
353
|
-
}>;
|
|
354
|
-
appendTableSmartTags: <S extends AppendTableSmartTagsPayloadSelect>(args: AppendTableSmartTagsVariables, options: {
|
|
355
|
-
select: S;
|
|
356
|
-
} & StrictSelect<S, AppendTableSmartTagsPayloadSelect>) => QueryBuilder<{
|
|
357
|
-
appendTableSmartTags: InferSelectResult<AppendTableSmartTagsPayload, S> | null;
|
|
358
|
-
}>;
|
|
359
343
|
provisionUniqueConstraint: <S extends ProvisionUniqueConstraintPayloadSelect>(args: ProvisionUniqueConstraintVariables, options: {
|
|
360
344
|
select: S;
|
|
361
345
|
} & StrictSelect<S, ProvisionUniqueConstraintPayloadSelect>) => QueryBuilder<{
|
|
@@ -317,30 +317,6 @@ function createMutationOperations(client) {
|
|
|
317
317
|
},
|
|
318
318
|
], input_types_1.connectionFieldsMap, 'SetFieldOrderPayload'),
|
|
319
319
|
}),
|
|
320
|
-
appendFieldSmartTags: (args, options) => new query_builder_1.QueryBuilder({
|
|
321
|
-
client,
|
|
322
|
-
operation: 'mutation',
|
|
323
|
-
operationName: 'AppendFieldSmartTags',
|
|
324
|
-
fieldName: 'appendFieldSmartTags',
|
|
325
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'AppendFieldSmartTags', 'appendFieldSmartTags', options.select, args, [
|
|
326
|
-
{
|
|
327
|
-
name: 'input',
|
|
328
|
-
type: 'AppendFieldSmartTagsInput!',
|
|
329
|
-
},
|
|
330
|
-
], input_types_1.connectionFieldsMap, 'AppendFieldSmartTagsPayload'),
|
|
331
|
-
}),
|
|
332
|
-
appendTableSmartTags: (args, options) => new query_builder_1.QueryBuilder({
|
|
333
|
-
client,
|
|
334
|
-
operation: 'mutation',
|
|
335
|
-
operationName: 'AppendTableSmartTags',
|
|
336
|
-
fieldName: 'appendTableSmartTags',
|
|
337
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'AppendTableSmartTags', 'appendTableSmartTags', options.select, args, [
|
|
338
|
-
{
|
|
339
|
-
name: 'input',
|
|
340
|
-
type: 'AppendTableSmartTagsInput!',
|
|
341
|
-
},
|
|
342
|
-
], input_types_1.connectionFieldsMap, 'AppendTableSmartTagsPayload'),
|
|
343
|
-
}),
|
|
344
320
|
provisionUniqueConstraint: (args, options) => new query_builder_1.QueryBuilder({
|
|
345
321
|
client,
|
|
346
322
|
operation: 'mutation',
|
package/public/schema-types.d.ts
CHANGED
|
@@ -8541,16 +8541,6 @@ export interface SetFieldOrderInput {
|
|
|
8541
8541
|
clientMutationId?: string;
|
|
8542
8542
|
fieldIds?: string[];
|
|
8543
8543
|
}
|
|
8544
|
-
export interface AppendFieldSmartTagsInput {
|
|
8545
|
-
clientMutationId?: string;
|
|
8546
|
-
pFieldId?: string;
|
|
8547
|
-
pTags?: unknown;
|
|
8548
|
-
}
|
|
8549
|
-
export interface AppendTableSmartTagsInput {
|
|
8550
|
-
clientMutationId?: string;
|
|
8551
|
-
pTableId?: string;
|
|
8552
|
-
pTags?: unknown;
|
|
8553
|
-
}
|
|
8554
8544
|
export interface ProvisionUniqueConstraintInput {
|
|
8555
8545
|
clientMutationId?: string;
|
|
8556
8546
|
databaseId?: string;
|
|
@@ -17260,12 +17250,6 @@ export interface BootstrapUserPayload {
|
|
|
17260
17250
|
export interface SetFieldOrderPayload {
|
|
17261
17251
|
clientMutationId?: string | null;
|
|
17262
17252
|
}
|
|
17263
|
-
export interface AppendFieldSmartTagsPayload {
|
|
17264
|
-
clientMutationId?: string | null;
|
|
17265
|
-
}
|
|
17266
|
-
export interface AppendTableSmartTagsPayload {
|
|
17267
|
-
clientMutationId?: string | null;
|
|
17268
|
-
}
|
|
17269
17253
|
export interface ProvisionUniqueConstraintPayload {
|
|
17270
17254
|
clientMutationId?: string | null;
|
|
17271
17255
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for appendFieldSmartTags
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { AppendFieldSmartTagsVariables } from '../../orm/mutation';
|
|
8
|
-
import type { AppendFieldSmartTagsPayloadSelect, AppendFieldSmartTagsPayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AppendFieldSmartTagsVariables } from '../../orm/mutation';
|
|
11
|
-
export type { AppendFieldSmartTagsPayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useAppendFieldSmartTagsMutation<S extends AppendFieldSmartTagsPayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & AppendFieldSmartTagsPayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, AppendFieldSmartTagsPayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
appendFieldSmartTags: InferSelectResult<AppendFieldSmartTagsPayload, S> | null;
|
|
18
|
-
}, Error, AppendFieldSmartTagsVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
appendFieldSmartTags: InferSelectResult<AppendFieldSmartTagsPayload, S> | null;
|
|
20
|
-
}, Error, AppendFieldSmartTagsVariables>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for appendFieldSmartTags
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
-
export function useAppendFieldSmartTagsMutation(params) {
|
|
11
|
-
const args = buildSelectionArgs(params.selection);
|
|
12
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
-
void _selection;
|
|
14
|
-
return useMutation({
|
|
15
|
-
mutationKey: customMutationKeys.appendFieldSmartTags(),
|
|
16
|
-
mutationFn: (variables) => getClient()
|
|
17
|
-
.mutation.appendFieldSmartTags(variables, {
|
|
18
|
-
select: args.select,
|
|
19
|
-
})
|
|
20
|
-
.unwrap(),
|
|
21
|
-
...mutationOptions,
|
|
22
|
-
});
|
|
23
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for appendTableSmartTags
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { AppendTableSmartTagsVariables } from '../../orm/mutation';
|
|
8
|
-
import type { AppendTableSmartTagsPayloadSelect, AppendTableSmartTagsPayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AppendTableSmartTagsVariables } from '../../orm/mutation';
|
|
11
|
-
export type { AppendTableSmartTagsPayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useAppendTableSmartTagsMutation<S extends AppendTableSmartTagsPayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & AppendTableSmartTagsPayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, AppendTableSmartTagsPayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
appendTableSmartTags: InferSelectResult<AppendTableSmartTagsPayload, S> | null;
|
|
18
|
-
}, Error, AppendTableSmartTagsVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
appendTableSmartTags: InferSelectResult<AppendTableSmartTagsPayload, S> | null;
|
|
20
|
-
}, Error, AppendTableSmartTagsVariables>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for appendTableSmartTags
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
-
export function useAppendTableSmartTagsMutation(params) {
|
|
11
|
-
const args = buildSelectionArgs(params.selection);
|
|
12
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
-
void _selection;
|
|
14
|
-
return useMutation({
|
|
15
|
-
mutationKey: customMutationKeys.appendTableSmartTags(),
|
|
16
|
-
mutationFn: (variables) => getClient()
|
|
17
|
-
.mutation.appendTableSmartTags(variables, {
|
|
18
|
-
select: args.select,
|
|
19
|
-
})
|
|
20
|
-
.unwrap(),
|
|
21
|
-
...mutationOptions,
|
|
22
|
-
});
|
|
23
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for appendFieldSmartTags
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { AppendFieldSmartTagsVariables } from '../../orm/mutation';
|
|
8
|
-
import type { AppendFieldSmartTagsPayloadSelect, AppendFieldSmartTagsPayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AppendFieldSmartTagsVariables } from '../../orm/mutation';
|
|
11
|
-
export type { AppendFieldSmartTagsPayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useAppendFieldSmartTagsMutation<S extends AppendFieldSmartTagsPayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & AppendFieldSmartTagsPayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, AppendFieldSmartTagsPayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
appendFieldSmartTags: InferSelectResult<AppendFieldSmartTagsPayload, S> | null;
|
|
18
|
-
}, Error, AppendFieldSmartTagsVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
appendFieldSmartTags: InferSelectResult<AppendFieldSmartTagsPayload, S> | null;
|
|
20
|
-
}, Error, AppendFieldSmartTagsVariables>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Custom mutation hook for appendFieldSmartTags
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.useAppendFieldSmartTagsMutation = useAppendFieldSmartTagsMutation;
|
|
9
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
-
const client_1 = require("../client");
|
|
11
|
-
const selection_1 = require("../selection");
|
|
12
|
-
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
-
function useAppendFieldSmartTagsMutation(params) {
|
|
14
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
|
-
void _selection;
|
|
17
|
-
return (0, react_query_1.useMutation)({
|
|
18
|
-
mutationKey: mutation_keys_1.customMutationKeys.appendFieldSmartTags(),
|
|
19
|
-
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
-
.mutation.appendFieldSmartTags(variables, {
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
...mutationOptions,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for appendTableSmartTags
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { AppendTableSmartTagsVariables } from '../../orm/mutation';
|
|
8
|
-
import type { AppendTableSmartTagsPayloadSelect, AppendTableSmartTagsPayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AppendTableSmartTagsVariables } from '../../orm/mutation';
|
|
11
|
-
export type { AppendTableSmartTagsPayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useAppendTableSmartTagsMutation<S extends AppendTableSmartTagsPayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & AppendTableSmartTagsPayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, AppendTableSmartTagsPayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
appendTableSmartTags: InferSelectResult<AppendTableSmartTagsPayload, S> | null;
|
|
18
|
-
}, Error, AppendTableSmartTagsVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
appendTableSmartTags: InferSelectResult<AppendTableSmartTagsPayload, S> | null;
|
|
20
|
-
}, Error, AppendTableSmartTagsVariables>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Custom mutation hook for appendTableSmartTags
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.useAppendTableSmartTagsMutation = useAppendTableSmartTagsMutation;
|
|
9
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
-
const client_1 = require("../client");
|
|
11
|
-
const selection_1 = require("../selection");
|
|
12
|
-
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
-
function useAppendTableSmartTagsMutation(params) {
|
|
14
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
|
-
void _selection;
|
|
17
|
-
return (0, react_query_1.useMutation)({
|
|
18
|
-
mutationKey: mutation_keys_1.customMutationKeys.appendTableSmartTags(),
|
|
19
|
-
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
-
.mutation.appendTableSmartTags(variables, {
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
...mutationOptions,
|
|
25
|
-
});
|
|
26
|
-
}
|