@constructive-io/sdk 0.7.7 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/orm/input-types.d.ts +31 -49
- package/auth/orm/input-types.d.ts +8 -21
- package/esm/admin/orm/input-types.d.ts +31 -49
- package/esm/auth/orm/input-types.d.ts +8 -21
- package/esm/objects/orm/input-types.d.ts +17 -24
- package/esm/public/orm/input-types.d.ts +230 -524
- package/objects/orm/input-types.d.ts +17 -24
- package/package.json +7 -4
- package/public/orm/input-types.d.ts +230 -524
|
@@ -230,15 +230,15 @@ export interface UUIDListFilter {
|
|
|
230
230
|
anyGreaterThanOrEqualTo?: string;
|
|
231
231
|
}
|
|
232
232
|
export interface GetAllRecord {
|
|
233
|
-
path?: string | null;
|
|
233
|
+
path?: string[] | null;
|
|
234
234
|
data?: Record<string, unknown> | null;
|
|
235
235
|
}
|
|
236
236
|
export interface Object {
|
|
237
237
|
hashUuid?: string | null;
|
|
238
238
|
id: string;
|
|
239
239
|
databaseId?: string | null;
|
|
240
|
-
kids?: string | null;
|
|
241
|
-
ktree?: string | null;
|
|
240
|
+
kids?: string[] | null;
|
|
241
|
+
ktree?: string[] | null;
|
|
242
242
|
data?: Record<string, unknown> | null;
|
|
243
243
|
frzn?: boolean | null;
|
|
244
244
|
createdAt?: string | null;
|
|
@@ -283,7 +283,7 @@ export interface Commit {
|
|
|
283
283
|
databaseId?: string | null;
|
|
284
284
|
storeId?: string | null;
|
|
285
285
|
/** Parent commits */
|
|
286
|
-
parentIds?: string | null;
|
|
286
|
+
parentIds?: string[] | null;
|
|
287
287
|
/** The author of the commit */
|
|
288
288
|
authorId?: string | null;
|
|
289
289
|
/** The committer of the commit */
|
|
@@ -368,7 +368,7 @@ export type CommitSelect = {
|
|
|
368
368
|
searchScore?: boolean;
|
|
369
369
|
};
|
|
370
370
|
export interface GetAllRecordFilter {
|
|
371
|
-
path?:
|
|
371
|
+
path?: StringListFilter;
|
|
372
372
|
data?: JSONFilter;
|
|
373
373
|
and?: GetAllRecordFilter[];
|
|
374
374
|
or?: GetAllRecordFilter[];
|
|
@@ -378,8 +378,8 @@ export interface ObjectFilter {
|
|
|
378
378
|
hashUuid?: UUIDFilter;
|
|
379
379
|
id?: UUIDFilter;
|
|
380
380
|
databaseId?: UUIDFilter;
|
|
381
|
-
kids?:
|
|
382
|
-
ktree?:
|
|
381
|
+
kids?: UUIDListFilter;
|
|
382
|
+
ktree?: StringListFilter;
|
|
383
383
|
data?: JSONFilter;
|
|
384
384
|
frzn?: BooleanFilter;
|
|
385
385
|
createdAt?: DatetimeFilter;
|
|
@@ -416,7 +416,7 @@ export interface CommitFilter {
|
|
|
416
416
|
message?: StringFilter;
|
|
417
417
|
databaseId?: UUIDFilter;
|
|
418
418
|
storeId?: UUIDFilter;
|
|
419
|
-
parentIds?:
|
|
419
|
+
parentIds?: UUIDListFilter;
|
|
420
420
|
authorId?: UUIDFilter;
|
|
421
421
|
committerId?: UUIDFilter;
|
|
422
422
|
treeId?: UUIDFilter;
|
|
@@ -428,19 +428,19 @@ export interface CommitFilter {
|
|
|
428
428
|
not?: CommitFilter;
|
|
429
429
|
}
|
|
430
430
|
export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
|
|
431
|
-
export type ObjectOrderBy = '
|
|
432
|
-
export type RefOrderBy = '
|
|
433
|
-
export type StoreOrderBy = '
|
|
434
|
-
export type CommitOrderBy = '
|
|
431
|
+
export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FRZN_ASC' | 'FRZN_DESC';
|
|
432
|
+
export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'NAME_TRGM_SIMILARITY_ASC' | 'NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
433
|
+
export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_TRGM_SIMILARITY_ASC' | 'NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
434
|
+
export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'MESSAGE_TRGM_SIMILARITY_ASC' | 'MESSAGE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
435
435
|
export interface CreateGetAllRecordInput {
|
|
436
436
|
clientMutationId?: string;
|
|
437
437
|
getAllRecord: {
|
|
438
|
-
path?: string;
|
|
438
|
+
path?: string[];
|
|
439
439
|
data?: Record<string, unknown>;
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
442
|
export interface GetAllRecordPatch {
|
|
443
|
-
path?: string | null;
|
|
443
|
+
path?: string[] | null;
|
|
444
444
|
data?: Record<string, unknown> | null;
|
|
445
445
|
}
|
|
446
446
|
export interface UpdateGetAllRecordInput {
|
|
@@ -463,10 +463,9 @@ export interface CreateObjectInput {
|
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
465
|
export interface ObjectPatch {
|
|
466
|
-
hashUuid?: string | null;
|
|
467
466
|
databaseId?: string | null;
|
|
468
|
-
kids?: string | null;
|
|
469
|
-
ktree?: string | null;
|
|
467
|
+
kids?: string[] | null;
|
|
468
|
+
ktree?: string[] | null;
|
|
470
469
|
data?: Record<string, unknown> | null;
|
|
471
470
|
frzn?: boolean | null;
|
|
472
471
|
}
|
|
@@ -493,8 +492,6 @@ export interface RefPatch {
|
|
|
493
492
|
databaseId?: string | null;
|
|
494
493
|
storeId?: string | null;
|
|
495
494
|
commitId?: string | null;
|
|
496
|
-
nameTrgmSimilarity?: number | null;
|
|
497
|
-
searchScore?: number | null;
|
|
498
495
|
}
|
|
499
496
|
export interface UpdateRefInput {
|
|
500
497
|
clientMutationId?: string;
|
|
@@ -517,8 +514,6 @@ export interface StorePatch {
|
|
|
517
514
|
name?: string | null;
|
|
518
515
|
databaseId?: string | null;
|
|
519
516
|
hash?: string | null;
|
|
520
|
-
nameTrgmSimilarity?: number | null;
|
|
521
|
-
searchScore?: number | null;
|
|
522
517
|
}
|
|
523
518
|
export interface UpdateStoreInput {
|
|
524
519
|
clientMutationId?: string;
|
|
@@ -546,13 +541,11 @@ export interface CommitPatch {
|
|
|
546
541
|
message?: string | null;
|
|
547
542
|
databaseId?: string | null;
|
|
548
543
|
storeId?: string | null;
|
|
549
|
-
parentIds?: string | null;
|
|
544
|
+
parentIds?: string[] | null;
|
|
550
545
|
authorId?: string | null;
|
|
551
546
|
committerId?: string | null;
|
|
552
547
|
treeId?: string | null;
|
|
553
548
|
date?: string | null;
|
|
554
|
-
messageTrgmSimilarity?: number | null;
|
|
555
|
-
searchScore?: number | null;
|
|
556
549
|
}
|
|
557
550
|
export interface UpdateCommitInput {
|
|
558
551
|
clientMutationId?: string;
|