@secrecy/lib 1.3.0 → 1.5.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/dist/zeus/const.js +1 -1
- package/dist/zeus/index.d.ts +18 -20
- package/dist/zeus/index.js +17 -23
- package/package.json +16 -3
package/dist/zeus/index.d.ts
CHANGED
|
@@ -154,10 +154,8 @@ type BaseZeusResolver = boolean | 1 | string | Variable<any, string>;
|
|
|
154
154
|
type IsInterfaced<SRC extends DeepAnify<DST>, DST, SCLR extends ScalarDefinition> = FlattenArray<SRC> extends ZEUS_INTERFACES | ZEUS_UNIONS ? {
|
|
155
155
|
[P in keyof SRC]: SRC[P] extends "__union" & infer R ? P extends keyof DST ? IsArray<R, "__typename" extends keyof DST ? DST[P] & {
|
|
156
156
|
__typename: true;
|
|
157
|
-
} : DST[P], SCLR> :
|
|
158
|
-
|
|
159
|
-
} : never, SCLR> : never;
|
|
160
|
-
}[keyof SRC] & {
|
|
157
|
+
} : DST[P], SCLR> : Record<string, unknown> : never;
|
|
158
|
+
}[keyof DST] & {
|
|
161
159
|
[P in keyof Omit<Pick<SRC, {
|
|
162
160
|
[P in keyof DST]: SRC[P] extends "__union" ? never : P;
|
|
163
161
|
}[keyof DST]>, "__typename">]: IsPayLoad<DST[P]> extends BaseZeusResolver ? IsScalar<SRC[P], SCLR> : IsArray<SRC[P], DST[P], SCLR>;
|
|
@@ -8351,38 +8349,38 @@ export type GraphQLTypes = {
|
|
|
8351
8349
|
test: boolean;
|
|
8352
8350
|
};
|
|
8353
8351
|
};
|
|
8354
|
-
export declare enum Lang {
|
|
8352
|
+
export declare const enum Lang {
|
|
8355
8353
|
fr = "fr",
|
|
8356
8354
|
en = "en"
|
|
8357
8355
|
}
|
|
8358
|
-
export declare enum PlanKind {
|
|
8356
|
+
export declare const enum PlanKind {
|
|
8359
8357
|
free = "free",
|
|
8360
8358
|
basic = "basic",
|
|
8361
8359
|
advanced = "advanced",
|
|
8362
8360
|
pro = "pro"
|
|
8363
8361
|
}
|
|
8364
|
-
export declare enum UserRole {
|
|
8362
|
+
export declare const enum UserRole {
|
|
8365
8363
|
user = "user",
|
|
8366
8364
|
admin = "admin"
|
|
8367
8365
|
}
|
|
8368
|
-
export declare enum MailType {
|
|
8366
|
+
export declare const enum MailType {
|
|
8369
8367
|
sent = "sent",
|
|
8370
8368
|
received = "received"
|
|
8371
8369
|
}
|
|
8372
|
-
export declare enum Rights {
|
|
8370
|
+
export declare const enum Rights {
|
|
8373
8371
|
admin = "admin",
|
|
8374
8372
|
write = "write",
|
|
8375
8373
|
read = "read"
|
|
8376
8374
|
}
|
|
8377
|
-
export declare enum NodeType {
|
|
8375
|
+
export declare const enum NodeType {
|
|
8378
8376
|
FILE = "FILE",
|
|
8379
8377
|
FOLDER = "FOLDER"
|
|
8380
8378
|
}
|
|
8381
|
-
export declare enum PaymentMethod {
|
|
8379
|
+
export declare const enum PaymentMethod {
|
|
8382
8380
|
card = "card",
|
|
8383
8381
|
wire_transfer = "wire_transfer"
|
|
8384
8382
|
}
|
|
8385
|
-
export declare enum SortByDate {
|
|
8383
|
+
export declare const enum SortByDate {
|
|
8386
8384
|
createdAt = "createdAt",
|
|
8387
8385
|
createdAt_asc = "createdAt_asc",
|
|
8388
8386
|
createdAt_desc = "createdAt_desc",
|
|
@@ -8390,13 +8388,13 @@ export declare enum SortByDate {
|
|
|
8390
8388
|
updatedAt_asc = "updatedAt_asc",
|
|
8391
8389
|
updatedAt_desc = "updatedAt_desc"
|
|
8392
8390
|
}
|
|
8393
|
-
export declare enum FileContentType {
|
|
8391
|
+
export declare const enum FileContentType {
|
|
8394
8392
|
cloud = "cloud",
|
|
8395
8393
|
lite = "lite",
|
|
8396
8394
|
sent_mail = "sent_mail",
|
|
8397
8395
|
received_mail = "received_mail"
|
|
8398
8396
|
}
|
|
8399
|
-
export declare enum InfuraNetwork {
|
|
8397
|
+
export declare const enum InfuraNetwork {
|
|
8400
8398
|
mainnet = "mainnet",
|
|
8401
8399
|
ropsten = "ropsten",
|
|
8402
8400
|
rinkeby = "rinkeby",
|
|
@@ -8405,11 +8403,11 @@ export declare enum InfuraNetwork {
|
|
|
8405
8403
|
polygon_mainnet = "polygon_mainnet",
|
|
8406
8404
|
polygon_mumbai = "polygon_mumbai"
|
|
8407
8405
|
}
|
|
8408
|
-
export declare enum PayInputType {
|
|
8406
|
+
export declare const enum PayInputType {
|
|
8409
8407
|
secure = "secure",
|
|
8410
8408
|
classic = "classic"
|
|
8411
8409
|
}
|
|
8412
|
-
export declare enum CancellationReason {
|
|
8410
|
+
export declare const enum CancellationReason {
|
|
8413
8411
|
abandoned = "abandoned",
|
|
8414
8412
|
automatic = "automatic",
|
|
8415
8413
|
duplicate = "duplicate",
|
|
@@ -8418,15 +8416,15 @@ export declare enum CancellationReason {
|
|
|
8418
8416
|
requested_by_customer = "requested_by_customer",
|
|
8419
8417
|
void_invoice = "void_invoice"
|
|
8420
8418
|
}
|
|
8421
|
-
export declare enum CaptureMethod {
|
|
8419
|
+
export declare const enum CaptureMethod {
|
|
8422
8420
|
manual = "manual",
|
|
8423
8421
|
automatic = "automatic"
|
|
8424
8422
|
}
|
|
8425
|
-
export declare enum ConfirmationMethod {
|
|
8423
|
+
export declare const enum ConfirmationMethod {
|
|
8426
8424
|
manual = "manual",
|
|
8427
8425
|
automatic = "automatic"
|
|
8428
8426
|
}
|
|
8429
|
-
export declare enum Status {
|
|
8427
|
+
export declare const enum Status {
|
|
8430
8428
|
canceled = "canceled",
|
|
8431
8429
|
processing = "processing",
|
|
8432
8430
|
requires_action = "requires_action",
|
|
@@ -8435,7 +8433,7 @@ export declare enum Status {
|
|
|
8435
8433
|
requires_payment_method = "requires_payment_method",
|
|
8436
8434
|
succeeded = "succeeded"
|
|
8437
8435
|
}
|
|
8438
|
-
export declare enum PayoutType {
|
|
8436
|
+
export declare const enum PayoutType {
|
|
8439
8437
|
bank_account = "bank_account",
|
|
8440
8438
|
card = "card"
|
|
8441
8439
|
}
|