@constructive-io/sdk 0.0.4 → 0.1.1
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 +152 -0
- package/admin/orm/query/index.d.ts +18 -0
- package/auth/orm/input-types.d.ts +50 -0
- package/esm/admin/orm/input-types.d.ts +152 -0
- package/esm/admin/orm/query/index.d.ts +18 -0
- package/esm/auth/orm/input-types.d.ts +50 -0
- package/esm/objects/orm/input-types.d.ts +42 -0
- package/esm/objects/orm/query/index.d.ts +12 -0
- package/esm/public/orm/input-types.d.ts +548 -0
- package/esm/public/orm/mutation/index.d.ts +19 -0
- package/esm/public/orm/query/index.d.ts +30 -0
- package/objects/orm/input-types.d.ts +42 -0
- package/objects/orm/query/index.d.ts +12 -0
- package/package.json +3 -3
- package/public/orm/input-types.d.ts +548 -0
- package/public/orm/mutation/index.d.ts +19 -0
- package/public/orm/query/index.d.ts +30 -0
|
@@ -30,21 +30,39 @@ export interface OrgPermissionsGetMaskByNamesVariables {
|
|
|
30
30
|
}
|
|
31
31
|
export interface AppPermissionsGetByMaskVariables {
|
|
32
32
|
mask?: string;
|
|
33
|
+
/** Only read the first `n` values of the set. */
|
|
33
34
|
first?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Skip the first `n` values from our `after` cursor, an alternative to cursor
|
|
37
|
+
* based pagination. May not be used with `last`.
|
|
38
|
+
*/
|
|
34
39
|
offset?: number;
|
|
40
|
+
/** Read all values in the set after (below) this cursor. */
|
|
35
41
|
after?: string;
|
|
36
42
|
}
|
|
37
43
|
export interface OrgPermissionsGetByMaskVariables {
|
|
38
44
|
mask?: string;
|
|
45
|
+
/** Only read the first `n` values of the set. */
|
|
39
46
|
first?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Skip the first `n` values from our `after` cursor, an alternative to cursor
|
|
49
|
+
* based pagination. May not be used with `last`.
|
|
50
|
+
*/
|
|
40
51
|
offset?: number;
|
|
52
|
+
/** Read all values in the set after (below) this cursor. */
|
|
41
53
|
after?: string;
|
|
42
54
|
}
|
|
43
55
|
export interface StepsRequiredVariables {
|
|
44
56
|
vlevel?: string;
|
|
45
57
|
vroleId?: string;
|
|
58
|
+
/** Only read the first `n` values of the set. */
|
|
46
59
|
first?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Skip the first `n` values from our `after` cursor, an alternative to cursor
|
|
62
|
+
* based pagination. May not be used with `last`.
|
|
63
|
+
*/
|
|
47
64
|
offset?: number;
|
|
65
|
+
/** Read all values in the set after (below) this cursor. */
|
|
48
66
|
after?: string;
|
|
49
67
|
}
|
|
50
68
|
export declare function createQueryOperations(client: OrmClient): {
|
|
@@ -251,8 +251,11 @@ export interface PhoneNumber {
|
|
|
251
251
|
export interface ConnectedAccount {
|
|
252
252
|
id: string;
|
|
253
253
|
ownerId?: string | null;
|
|
254
|
+
/** The service used, e.g. `twitter` or `github`. */
|
|
254
255
|
service?: string | null;
|
|
256
|
+
/** A unique identifier for the user within the service */
|
|
255
257
|
identifier?: string | null;
|
|
258
|
+
/** Additional profile details extracted from this login method */
|
|
256
259
|
details?: Record<string, unknown> | null;
|
|
257
260
|
isVerified?: boolean | null;
|
|
258
261
|
createdAt?: string | null;
|
|
@@ -286,6 +289,7 @@ export interface User {
|
|
|
286
289
|
type?: number | null;
|
|
287
290
|
createdAt?: string | null;
|
|
288
291
|
updatedAt?: string | null;
|
|
292
|
+
/** Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. */
|
|
289
293
|
searchTsvRank?: number | null;
|
|
290
294
|
}
|
|
291
295
|
export interface ConnectionResult<T> {
|
|
@@ -814,12 +818,23 @@ export interface VerifyTotpInput {
|
|
|
814
818
|
clientMutationId?: string;
|
|
815
819
|
totpValue: string;
|
|
816
820
|
}
|
|
821
|
+
/** An interval of time that has passed where the smallest distinct unit is a second. */
|
|
817
822
|
export interface IntervalInput {
|
|
823
|
+
/**
|
|
824
|
+
* A quantity of seconds. This is the only non-integer field, as all the other
|
|
825
|
+
* fields will dump their overflow into a smaller unit of time. Intervals don’t
|
|
826
|
+
* have a smaller unit than seconds.
|
|
827
|
+
*/
|
|
818
828
|
seconds?: number;
|
|
829
|
+
/** A quantity of minutes. */
|
|
819
830
|
minutes?: number;
|
|
831
|
+
/** A quantity of hours. */
|
|
820
832
|
hours?: number;
|
|
833
|
+
/** A quantity of days. */
|
|
821
834
|
days?: number;
|
|
835
|
+
/** A quantity of months. */
|
|
822
836
|
months?: number;
|
|
837
|
+
/** A quantity of years. */
|
|
823
838
|
years?: number;
|
|
824
839
|
}
|
|
825
840
|
export interface SignOutPayload {
|
|
@@ -958,6 +973,7 @@ export type VerifyTotpPayloadSelect = {
|
|
|
958
973
|
};
|
|
959
974
|
export interface CreateRoleTypePayload {
|
|
960
975
|
clientMutationId?: string | null;
|
|
976
|
+
/** The `RoleType` that was created by this mutation. */
|
|
961
977
|
roleType?: RoleType | null;
|
|
962
978
|
roleTypeEdge?: RoleTypeEdge | null;
|
|
963
979
|
}
|
|
@@ -972,6 +988,7 @@ export type CreateRoleTypePayloadSelect = {
|
|
|
972
988
|
};
|
|
973
989
|
export interface UpdateRoleTypePayload {
|
|
974
990
|
clientMutationId?: string | null;
|
|
991
|
+
/** The `RoleType` that was updated by this mutation. */
|
|
975
992
|
roleType?: RoleType | null;
|
|
976
993
|
roleTypeEdge?: RoleTypeEdge | null;
|
|
977
994
|
}
|
|
@@ -986,6 +1003,7 @@ export type UpdateRoleTypePayloadSelect = {
|
|
|
986
1003
|
};
|
|
987
1004
|
export interface DeleteRoleTypePayload {
|
|
988
1005
|
clientMutationId?: string | null;
|
|
1006
|
+
/** The `RoleType` that was deleted by this mutation. */
|
|
989
1007
|
roleType?: RoleType | null;
|
|
990
1008
|
roleTypeEdge?: RoleTypeEdge | null;
|
|
991
1009
|
}
|
|
@@ -1000,6 +1018,7 @@ export type DeleteRoleTypePayloadSelect = {
|
|
|
1000
1018
|
};
|
|
1001
1019
|
export interface CreateCryptoAddressPayload {
|
|
1002
1020
|
clientMutationId?: string | null;
|
|
1021
|
+
/** The `CryptoAddress` that was created by this mutation. */
|
|
1003
1022
|
cryptoAddress?: CryptoAddress | null;
|
|
1004
1023
|
cryptoAddressEdge?: CryptoAddressEdge | null;
|
|
1005
1024
|
}
|
|
@@ -1014,6 +1033,7 @@ export type CreateCryptoAddressPayloadSelect = {
|
|
|
1014
1033
|
};
|
|
1015
1034
|
export interface UpdateCryptoAddressPayload {
|
|
1016
1035
|
clientMutationId?: string | null;
|
|
1036
|
+
/** The `CryptoAddress` that was updated by this mutation. */
|
|
1017
1037
|
cryptoAddress?: CryptoAddress | null;
|
|
1018
1038
|
cryptoAddressEdge?: CryptoAddressEdge | null;
|
|
1019
1039
|
}
|
|
@@ -1028,6 +1048,7 @@ export type UpdateCryptoAddressPayloadSelect = {
|
|
|
1028
1048
|
};
|
|
1029
1049
|
export interface DeleteCryptoAddressPayload {
|
|
1030
1050
|
clientMutationId?: string | null;
|
|
1051
|
+
/** The `CryptoAddress` that was deleted by this mutation. */
|
|
1031
1052
|
cryptoAddress?: CryptoAddress | null;
|
|
1032
1053
|
cryptoAddressEdge?: CryptoAddressEdge | null;
|
|
1033
1054
|
}
|
|
@@ -1042,6 +1063,7 @@ export type DeleteCryptoAddressPayloadSelect = {
|
|
|
1042
1063
|
};
|
|
1043
1064
|
export interface CreatePhoneNumberPayload {
|
|
1044
1065
|
clientMutationId?: string | null;
|
|
1066
|
+
/** The `PhoneNumber` that was created by this mutation. */
|
|
1045
1067
|
phoneNumber?: PhoneNumber | null;
|
|
1046
1068
|
phoneNumberEdge?: PhoneNumberEdge | null;
|
|
1047
1069
|
}
|
|
@@ -1056,6 +1078,7 @@ export type CreatePhoneNumberPayloadSelect = {
|
|
|
1056
1078
|
};
|
|
1057
1079
|
export interface UpdatePhoneNumberPayload {
|
|
1058
1080
|
clientMutationId?: string | null;
|
|
1081
|
+
/** The `PhoneNumber` that was updated by this mutation. */
|
|
1059
1082
|
phoneNumber?: PhoneNumber | null;
|
|
1060
1083
|
phoneNumberEdge?: PhoneNumberEdge | null;
|
|
1061
1084
|
}
|
|
@@ -1070,6 +1093,7 @@ export type UpdatePhoneNumberPayloadSelect = {
|
|
|
1070
1093
|
};
|
|
1071
1094
|
export interface DeletePhoneNumberPayload {
|
|
1072
1095
|
clientMutationId?: string | null;
|
|
1096
|
+
/** The `PhoneNumber` that was deleted by this mutation. */
|
|
1073
1097
|
phoneNumber?: PhoneNumber | null;
|
|
1074
1098
|
phoneNumberEdge?: PhoneNumberEdge | null;
|
|
1075
1099
|
}
|
|
@@ -1084,6 +1108,7 @@ export type DeletePhoneNumberPayloadSelect = {
|
|
|
1084
1108
|
};
|
|
1085
1109
|
export interface CreateConnectedAccountPayload {
|
|
1086
1110
|
clientMutationId?: string | null;
|
|
1111
|
+
/** The `ConnectedAccount` that was created by this mutation. */
|
|
1087
1112
|
connectedAccount?: ConnectedAccount | null;
|
|
1088
1113
|
connectedAccountEdge?: ConnectedAccountEdge | null;
|
|
1089
1114
|
}
|
|
@@ -1098,6 +1123,7 @@ export type CreateConnectedAccountPayloadSelect = {
|
|
|
1098
1123
|
};
|
|
1099
1124
|
export interface UpdateConnectedAccountPayload {
|
|
1100
1125
|
clientMutationId?: string | null;
|
|
1126
|
+
/** The `ConnectedAccount` that was updated by this mutation. */
|
|
1101
1127
|
connectedAccount?: ConnectedAccount | null;
|
|
1102
1128
|
connectedAccountEdge?: ConnectedAccountEdge | null;
|
|
1103
1129
|
}
|
|
@@ -1112,6 +1138,7 @@ export type UpdateConnectedAccountPayloadSelect = {
|
|
|
1112
1138
|
};
|
|
1113
1139
|
export interface DeleteConnectedAccountPayload {
|
|
1114
1140
|
clientMutationId?: string | null;
|
|
1141
|
+
/** The `ConnectedAccount` that was deleted by this mutation. */
|
|
1115
1142
|
connectedAccount?: ConnectedAccount | null;
|
|
1116
1143
|
connectedAccountEdge?: ConnectedAccountEdge | null;
|
|
1117
1144
|
}
|
|
@@ -1126,6 +1153,7 @@ export type DeleteConnectedAccountPayloadSelect = {
|
|
|
1126
1153
|
};
|
|
1127
1154
|
export interface CreateEmailPayload {
|
|
1128
1155
|
clientMutationId?: string | null;
|
|
1156
|
+
/** The `Email` that was created by this mutation. */
|
|
1129
1157
|
email?: Email | null;
|
|
1130
1158
|
emailEdge?: EmailEdge | null;
|
|
1131
1159
|
}
|
|
@@ -1140,6 +1168,7 @@ export type CreateEmailPayloadSelect = {
|
|
|
1140
1168
|
};
|
|
1141
1169
|
export interface UpdateEmailPayload {
|
|
1142
1170
|
clientMutationId?: string | null;
|
|
1171
|
+
/** The `Email` that was updated by this mutation. */
|
|
1143
1172
|
email?: Email | null;
|
|
1144
1173
|
emailEdge?: EmailEdge | null;
|
|
1145
1174
|
}
|
|
@@ -1154,6 +1183,7 @@ export type UpdateEmailPayloadSelect = {
|
|
|
1154
1183
|
};
|
|
1155
1184
|
export interface DeleteEmailPayload {
|
|
1156
1185
|
clientMutationId?: string | null;
|
|
1186
|
+
/** The `Email` that was deleted by this mutation. */
|
|
1157
1187
|
email?: Email | null;
|
|
1158
1188
|
emailEdge?: EmailEdge | null;
|
|
1159
1189
|
}
|
|
@@ -1168,6 +1198,7 @@ export type DeleteEmailPayloadSelect = {
|
|
|
1168
1198
|
};
|
|
1169
1199
|
export interface CreateAuditLogPayload {
|
|
1170
1200
|
clientMutationId?: string | null;
|
|
1201
|
+
/** The `AuditLog` that was created by this mutation. */
|
|
1171
1202
|
auditLog?: AuditLog | null;
|
|
1172
1203
|
auditLogEdge?: AuditLogEdge | null;
|
|
1173
1204
|
}
|
|
@@ -1182,6 +1213,7 @@ export type CreateAuditLogPayloadSelect = {
|
|
|
1182
1213
|
};
|
|
1183
1214
|
export interface UpdateAuditLogPayload {
|
|
1184
1215
|
clientMutationId?: string | null;
|
|
1216
|
+
/** The `AuditLog` that was updated by this mutation. */
|
|
1185
1217
|
auditLog?: AuditLog | null;
|
|
1186
1218
|
auditLogEdge?: AuditLogEdge | null;
|
|
1187
1219
|
}
|
|
@@ -1196,6 +1228,7 @@ export type UpdateAuditLogPayloadSelect = {
|
|
|
1196
1228
|
};
|
|
1197
1229
|
export interface DeleteAuditLogPayload {
|
|
1198
1230
|
clientMutationId?: string | null;
|
|
1231
|
+
/** The `AuditLog` that was deleted by this mutation. */
|
|
1199
1232
|
auditLog?: AuditLog | null;
|
|
1200
1233
|
auditLogEdge?: AuditLogEdge | null;
|
|
1201
1234
|
}
|
|
@@ -1210,6 +1243,7 @@ export type DeleteAuditLogPayloadSelect = {
|
|
|
1210
1243
|
};
|
|
1211
1244
|
export interface CreateUserPayload {
|
|
1212
1245
|
clientMutationId?: string | null;
|
|
1246
|
+
/** The `User` that was created by this mutation. */
|
|
1213
1247
|
user?: User | null;
|
|
1214
1248
|
userEdge?: UserEdge | null;
|
|
1215
1249
|
}
|
|
@@ -1224,6 +1258,7 @@ export type CreateUserPayloadSelect = {
|
|
|
1224
1258
|
};
|
|
1225
1259
|
export interface UpdateUserPayload {
|
|
1226
1260
|
clientMutationId?: string | null;
|
|
1261
|
+
/** The `User` that was updated by this mutation. */
|
|
1227
1262
|
user?: User | null;
|
|
1228
1263
|
userEdge?: UserEdge | null;
|
|
1229
1264
|
}
|
|
@@ -1238,6 +1273,7 @@ export type UpdateUserPayloadSelect = {
|
|
|
1238
1273
|
};
|
|
1239
1274
|
export interface DeleteUserPayload {
|
|
1240
1275
|
clientMutationId?: string | null;
|
|
1276
|
+
/** The `User` that was deleted by this mutation. */
|
|
1241
1277
|
user?: User | null;
|
|
1242
1278
|
userEdge?: UserEdge | null;
|
|
1243
1279
|
}
|
|
@@ -1340,8 +1376,10 @@ export type SessionSelect = {
|
|
|
1340
1376
|
createdAt?: boolean;
|
|
1341
1377
|
updatedAt?: boolean;
|
|
1342
1378
|
};
|
|
1379
|
+
/** A `RoleType` edge in the connection. */
|
|
1343
1380
|
export interface RoleTypeEdge {
|
|
1344
1381
|
cursor?: string | null;
|
|
1382
|
+
/** The `RoleType` at the end of the edge. */
|
|
1345
1383
|
node?: RoleType | null;
|
|
1346
1384
|
}
|
|
1347
1385
|
export type RoleTypeEdgeSelect = {
|
|
@@ -1350,8 +1388,10 @@ export type RoleTypeEdgeSelect = {
|
|
|
1350
1388
|
select: RoleTypeSelect;
|
|
1351
1389
|
};
|
|
1352
1390
|
};
|
|
1391
|
+
/** A `CryptoAddress` edge in the connection. */
|
|
1353
1392
|
export interface CryptoAddressEdge {
|
|
1354
1393
|
cursor?: string | null;
|
|
1394
|
+
/** The `CryptoAddress` at the end of the edge. */
|
|
1355
1395
|
node?: CryptoAddress | null;
|
|
1356
1396
|
}
|
|
1357
1397
|
export type CryptoAddressEdgeSelect = {
|
|
@@ -1360,8 +1400,10 @@ export type CryptoAddressEdgeSelect = {
|
|
|
1360
1400
|
select: CryptoAddressSelect;
|
|
1361
1401
|
};
|
|
1362
1402
|
};
|
|
1403
|
+
/** A `PhoneNumber` edge in the connection. */
|
|
1363
1404
|
export interface PhoneNumberEdge {
|
|
1364
1405
|
cursor?: string | null;
|
|
1406
|
+
/** The `PhoneNumber` at the end of the edge. */
|
|
1365
1407
|
node?: PhoneNumber | null;
|
|
1366
1408
|
}
|
|
1367
1409
|
export type PhoneNumberEdgeSelect = {
|
|
@@ -1370,8 +1412,10 @@ export type PhoneNumberEdgeSelect = {
|
|
|
1370
1412
|
select: PhoneNumberSelect;
|
|
1371
1413
|
};
|
|
1372
1414
|
};
|
|
1415
|
+
/** A `ConnectedAccount` edge in the connection. */
|
|
1373
1416
|
export interface ConnectedAccountEdge {
|
|
1374
1417
|
cursor?: string | null;
|
|
1418
|
+
/** The `ConnectedAccount` at the end of the edge. */
|
|
1375
1419
|
node?: ConnectedAccount | null;
|
|
1376
1420
|
}
|
|
1377
1421
|
export type ConnectedAccountEdgeSelect = {
|
|
@@ -1380,8 +1424,10 @@ export type ConnectedAccountEdgeSelect = {
|
|
|
1380
1424
|
select: ConnectedAccountSelect;
|
|
1381
1425
|
};
|
|
1382
1426
|
};
|
|
1427
|
+
/** A `Email` edge in the connection. */
|
|
1383
1428
|
export interface EmailEdge {
|
|
1384
1429
|
cursor?: string | null;
|
|
1430
|
+
/** The `Email` at the end of the edge. */
|
|
1385
1431
|
node?: Email | null;
|
|
1386
1432
|
}
|
|
1387
1433
|
export type EmailEdgeSelect = {
|
|
@@ -1390,8 +1436,10 @@ export type EmailEdgeSelect = {
|
|
|
1390
1436
|
select: EmailSelect;
|
|
1391
1437
|
};
|
|
1392
1438
|
};
|
|
1439
|
+
/** A `AuditLog` edge in the connection. */
|
|
1393
1440
|
export interface AuditLogEdge {
|
|
1394
1441
|
cursor?: string | null;
|
|
1442
|
+
/** The `AuditLog` at the end of the edge. */
|
|
1395
1443
|
node?: AuditLog | null;
|
|
1396
1444
|
}
|
|
1397
1445
|
export type AuditLogEdgeSelect = {
|
|
@@ -1400,8 +1448,10 @@ export type AuditLogEdgeSelect = {
|
|
|
1400
1448
|
select: AuditLogSelect;
|
|
1401
1449
|
};
|
|
1402
1450
|
};
|
|
1451
|
+
/** A `User` edge in the connection. */
|
|
1403
1452
|
export interface UserEdge {
|
|
1404
1453
|
cursor?: string | null;
|
|
1454
|
+
/** The `User` at the end of the edge. */
|
|
1405
1455
|
node?: User | null;
|
|
1406
1456
|
}
|
|
1407
1457
|
export type UserEdgeSelect = {
|