@secrecy/lib 1.7.0-integration-trpc-client.24 → 1.7.0-integration-trpc-client.26

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.
@@ -4919,10 +4919,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4919
4919
  type: "string" | "number" | "boolean" | "object";
4920
4920
  name: string;
4921
4921
  uuid: string;
4922
- isArray?: boolean | undefined;
4923
- isNullable?: boolean | undefined;
4924
- isEditable?: boolean | undefined;
4925
- isKey?: boolean | undefined;
4922
+ isArray: boolean;
4923
+ isNullable: boolean;
4924
+ isEditable: boolean;
4925
+ isKey: boolean;
4926
4926
  default?: unknown;
4927
4927
  }[];
4928
4928
  name: string;
@@ -4935,10 +4935,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4935
4935
  type: "string" | "number" | "boolean" | "object";
4936
4936
  name: string;
4937
4937
  uuid: string;
4938
- isArray?: boolean | undefined;
4939
- isNullable?: boolean | undefined;
4940
- isEditable?: boolean | undefined;
4941
- isKey?: boolean | undefined;
4938
+ isArray: boolean;
4939
+ isNullable: boolean;
4940
+ isEditable: boolean;
4941
+ isKey: boolean;
4942
4942
  default?: unknown;
4943
4943
  }[];
4944
4944
  name: string;
@@ -5009,10 +5009,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5009
5009
  type: "string" | "number" | "boolean" | "object";
5010
5010
  name: string;
5011
5011
  uuid: string;
5012
- isArray?: boolean | undefined;
5013
- isNullable?: boolean | undefined;
5014
- isEditable?: boolean | undefined;
5015
- isKey?: boolean | undefined;
5012
+ isArray: boolean;
5013
+ isNullable: boolean;
5014
+ isEditable: boolean;
5015
+ isKey: boolean;
5016
5016
  default?: unknown;
5017
5017
  }[];
5018
5018
  name: string;
@@ -5029,10 +5029,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5029
5029
  type: "string" | "number" | "boolean" | "object";
5030
5030
  name: string;
5031
5031
  uuid: string;
5032
- isArray?: boolean | undefined;
5033
- isNullable?: boolean | undefined;
5034
- isEditable?: boolean | undefined;
5035
- isKey?: boolean | undefined;
5032
+ isArray: boolean;
5033
+ isNullable: boolean;
5034
+ isEditable: boolean;
5035
+ isKey: boolean;
5036
5036
  default?: unknown;
5037
5037
  }[];
5038
5038
  name: string;
@@ -5213,10 +5213,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5213
5213
  type: "string" | "number" | "boolean" | "object";
5214
5214
  name: string;
5215
5215
  uuid: string;
5216
- isArray?: boolean | undefined;
5217
- isNullable?: boolean | undefined;
5218
- isEditable?: boolean | undefined;
5219
- isKey?: boolean | undefined;
5216
+ isArray: boolean;
5217
+ isNullable: boolean;
5218
+ isEditable: boolean;
5219
+ isKey: boolean;
5220
5220
  default?: unknown;
5221
5221
  }[];
5222
5222
  name: string;
@@ -5228,10 +5228,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5228
5228
  type: "string" | "number" | "boolean" | "object";
5229
5229
  name: string;
5230
5230
  uuid: string;
5231
- isArray?: boolean | undefined;
5232
- isNullable?: boolean | undefined;
5233
- isEditable?: boolean | undefined;
5234
- isKey?: boolean | undefined;
5231
+ isArray: boolean;
5232
+ isNullable: boolean;
5233
+ isEditable: boolean;
5234
+ isKey: boolean;
5235
5235
  default?: unknown;
5236
5236
  }[];
5237
5237
  name: string;
@@ -5254,10 +5254,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5254
5254
  type: "string" | "number" | "boolean" | "object";
5255
5255
  name: string;
5256
5256
  uuid: string;
5257
- isArray?: boolean | undefined;
5258
- isNullable?: boolean | undefined;
5259
- isEditable?: boolean | undefined;
5260
- isKey?: boolean | undefined;
5257
+ isArray: boolean;
5258
+ isNullable: boolean;
5259
+ isEditable: boolean;
5260
+ isKey: boolean;
5261
5261
  default?: unknown;
5262
5262
  }[];
5263
5263
  name: string;
@@ -5269,10 +5269,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5269
5269
  type: "string" | "number" | "boolean" | "object";
5270
5270
  name: string;
5271
5271
  uuid: string;
5272
- isArray?: boolean | undefined;
5273
- isNullable?: boolean | undefined;
5274
- isEditable?: boolean | undefined;
5275
- isKey?: boolean | undefined;
5272
+ isArray: boolean;
5273
+ isNullable: boolean;
5274
+ isEditable: boolean;
5275
+ isKey: boolean;
5276
5276
  default?: unknown;
5277
5277
  }[];
5278
5278
  name: string;
@@ -5293,10 +5293,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5293
5293
  type: "string" | "number" | "boolean" | "object";
5294
5294
  name: string;
5295
5295
  uuid: string;
5296
- isArray?: boolean | undefined;
5297
- isNullable?: boolean | undefined;
5298
- isEditable?: boolean | undefined;
5299
- isKey?: boolean | undefined;
5296
+ isArray: boolean;
5297
+ isNullable: boolean;
5298
+ isEditable: boolean;
5299
+ isKey: boolean;
5300
5300
  default?: unknown;
5301
5301
  }[];
5302
5302
  name: string;
@@ -5309,10 +5309,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5309
5309
  type: "string" | "number" | "boolean" | "object";
5310
5310
  name: string;
5311
5311
  uuid: string;
5312
- isArray?: boolean | undefined;
5313
- isNullable?: boolean | undefined;
5314
- isEditable?: boolean | undefined;
5315
- isKey?: boolean | undefined;
5312
+ isArray: boolean;
5313
+ isNullable: boolean;
5314
+ isEditable: boolean;
5315
+ isKey: boolean;
5316
5316
  default?: unknown;
5317
5317
  }[];
5318
5318
  name: string;
@@ -5368,35 +5368,35 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5368
5368
  _input_in: {
5369
5369
  appId: string;
5370
5370
  config: (string | {
5371
- tables: {
5372
- fields: {
5371
+ tables?: {
5372
+ name: string;
5373
+ uuid?: string | undefined;
5374
+ fields?: {
5373
5375
  type: "string" | "number" | "boolean" | "object";
5374
5376
  name: string;
5375
- uuid: string;
5377
+ uuid?: string | undefined;
5376
5378
  isArray?: boolean | undefined;
5377
5379
  isNullable?: boolean | undefined;
5378
5380
  isEditable?: boolean | undefined;
5379
5381
  isKey?: boolean | undefined;
5380
5382
  default?: unknown;
5381
- }[];
5382
- name: string;
5383
- uuid: string;
5384
- }[];
5383
+ }[] | undefined;
5384
+ }[] | undefined;
5385
5385
  }) & (string | {
5386
- tables: {
5387
- fields: {
5386
+ tables?: {
5387
+ name: string;
5388
+ uuid?: string | undefined;
5389
+ fields?: {
5388
5390
  type: "string" | "number" | "boolean" | "object";
5389
5391
  name: string;
5390
- uuid: string;
5392
+ uuid?: string | undefined;
5391
5393
  isArray?: boolean | undefined;
5392
5394
  isNullable?: boolean | undefined;
5393
5395
  isEditable?: boolean | undefined;
5394
5396
  isKey?: boolean | undefined;
5395
5397
  default?: unknown;
5396
- }[];
5397
- name: string;
5398
- uuid: string;
5399
- }[];
5398
+ }[] | undefined;
5399
+ }[] | undefined;
5400
5400
  } | undefined);
5401
5401
  appEnv: string;
5402
5402
  } | {
@@ -5407,35 +5407,35 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5407
5407
  _input_out: {
5408
5408
  appId: string;
5409
5409
  config: (string | {
5410
- tables: {
5411
- fields: {
5410
+ tables?: {
5411
+ name: string;
5412
+ uuid?: string | undefined;
5413
+ fields?: {
5412
5414
  type: "string" | "number" | "boolean" | "object";
5413
5415
  name: string;
5414
- uuid: string;
5416
+ uuid?: string | undefined;
5415
5417
  isArray?: boolean | undefined;
5416
5418
  isNullable?: boolean | undefined;
5417
5419
  isEditable?: boolean | undefined;
5418
5420
  isKey?: boolean | undefined;
5419
5421
  default?: unknown;
5420
- }[];
5421
- name: string;
5422
- uuid: string;
5423
- }[];
5422
+ }[] | undefined;
5423
+ }[] | undefined;
5424
5424
  }) & (string | {
5425
- tables: {
5426
- fields: {
5425
+ tables?: {
5426
+ name: string;
5427
+ uuid?: string | undefined;
5428
+ fields?: {
5427
5429
  type: "string" | "number" | "boolean" | "object";
5428
5430
  name: string;
5429
- uuid: string;
5431
+ uuid?: string | undefined;
5430
5432
  isArray?: boolean | undefined;
5431
5433
  isNullable?: boolean | undefined;
5432
5434
  isEditable?: boolean | undefined;
5433
5435
  isKey?: boolean | undefined;
5434
5436
  default?: unknown;
5435
- }[];
5436
- name: string;
5437
- uuid: string;
5438
- }[];
5437
+ }[] | undefined;
5438
+ }[] | undefined;
5439
5439
  } | undefined);
5440
5440
  appEnv: string;
5441
5441
  } | {
@@ -5450,10 +5450,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5450
5450
  type: "string" | "number" | "boolean" | "object";
5451
5451
  name: string;
5452
5452
  uuid: string;
5453
- isArray?: boolean | undefined;
5454
- isNullable?: boolean | undefined;
5455
- isEditable?: boolean | undefined;
5456
- isKey?: boolean | undefined;
5453
+ isArray: boolean;
5454
+ isNullable: boolean;
5455
+ isEditable: boolean;
5456
+ isKey: boolean;
5457
5457
  default?: unknown;
5458
5458
  }[];
5459
5459
  name: string;
@@ -5466,10 +5466,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5466
5466
  type: "string" | "number" | "boolean" | "object";
5467
5467
  name: string;
5468
5468
  uuid: string;
5469
- isArray?: boolean | undefined;
5470
- isNullable?: boolean | undefined;
5471
- isEditable?: boolean | undefined;
5472
- isKey?: boolean | undefined;
5469
+ isArray: boolean;
5470
+ isNullable: boolean;
5471
+ isEditable: boolean;
5472
+ isKey: boolean;
5473
5473
  default?: unknown;
5474
5474
  }[];
5475
5475
  name: string;
@@ -5660,10 +5660,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5660
5660
  type: "string" | "number" | "boolean" | "object";
5661
5661
  name: string;
5662
5662
  uuid: string;
5663
- isArray?: boolean | undefined;
5664
- isNullable?: boolean | undefined;
5665
- isEditable?: boolean | undefined;
5666
- isKey?: boolean | undefined;
5663
+ isArray: boolean;
5664
+ isNullable: boolean;
5665
+ isEditable: boolean;
5666
+ isKey: boolean;
5667
5667
  default?: unknown;
5668
5668
  }[];
5669
5669
  name: string;
@@ -5676,10 +5676,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5676
5676
  type: "string" | "number" | "boolean" | "object";
5677
5677
  name: string;
5678
5678
  uuid: string;
5679
- isArray?: boolean | undefined;
5680
- isNullable?: boolean | undefined;
5681
- isEditable?: boolean | undefined;
5682
- isKey?: boolean | undefined;
5679
+ isArray: boolean;
5680
+ isNullable: boolean;
5681
+ isEditable: boolean;
5682
+ isKey: boolean;
5683
5683
  default?: unknown;
5684
5684
  }[];
5685
5685
  name: string;
@@ -5925,10 +5925,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5925
5925
  type: "string" | "number" | "boolean" | "object";
5926
5926
  name: string;
5927
5927
  uuid: string;
5928
- isArray?: boolean | undefined;
5929
- isNullable?: boolean | undefined;
5930
- isEditable?: boolean | undefined;
5931
- isKey?: boolean | undefined;
5928
+ isArray: boolean;
5929
+ isNullable: boolean;
5930
+ isEditable: boolean;
5931
+ isKey: boolean;
5932
5932
  default?: unknown;
5933
5933
  }[];
5934
5934
  name: string;
@@ -5941,10 +5941,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5941
5941
  type: "string" | "number" | "boolean" | "object";
5942
5942
  name: string;
5943
5943
  uuid: string;
5944
- isArray?: boolean | undefined;
5945
- isNullable?: boolean | undefined;
5946
- isEditable?: boolean | undefined;
5947
- isKey?: boolean | undefined;
5944
+ isArray: boolean;
5945
+ isNullable: boolean;
5946
+ isEditable: boolean;
5947
+ isKey: boolean;
5948
5948
  default?: unknown;
5949
5949
  }[];
5950
5950
  name: string;
@@ -10000,7 +10000,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
10000
10000
  };
10001
10001
  id: string;
10002
10002
  };
10003
- role: "admin" | "user";
10003
+ role: "admin" | "developer";
10004
10004
  };
10005
10005
  _output_out: {
10006
10006
  developer: {
@@ -10018,7 +10018,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
10018
10018
  };
10019
10019
  id: string;
10020
10020
  };
10021
- role: "admin" | "user";
10021
+ role: "admin" | "developer";
10022
10022
  };
10023
10023
  }, unknown>>;
10024
10024
  };
@@ -10068,7 +10068,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
10068
10068
  };
10069
10069
  id: string;
10070
10070
  };
10071
- role: "admin" | "user";
10071
+ role: "admin" | "developer";
10072
10072
  }[];
10073
10073
  _output_out: {
10074
10074
  developer: {
@@ -10086,7 +10086,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
10086
10086
  };
10087
10087
  id: string;
10088
10088
  };
10089
- role: "admin" | "user";
10089
+ role: "admin" | "developer";
10090
10090
  }[];
10091
10091
  }, unknown>>;
10092
10092
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.7.0-integration-trpc-client.24",
5
+ "version": "1.7.0-integration-trpc-client.26",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"
@@ -51,7 +51,7 @@
51
51
  "devDependencies": {
52
52
  "@commitlint/cli": "^18.4.3",
53
53
  "@commitlint/config-conventional": "^18.4.3",
54
- "@prisma/client": "^5.7.1",
54
+ "@prisma/client": "5.7.1",
55
55
  "@types/bun": "^1.0.0",
56
56
  "@types/jsonwebtoken": "^9.0.2",
57
57
  "@types/spark-md5": "^3.0.2",
@@ -74,9 +74,9 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@secrecy/lib-utils": "^1.0.18",
77
- "@secrecy/trpc-api-types": "1.10.0-integration-dev-role-extended.1",
78
- "@trpc/client": "^10.45.0",
79
- "@trpc/server": "^10.45.0",
77
+ "@secrecy/trpc-api-types": "1.10.0-integration-invalid-schema-config.8",
78
+ "@trpc/client": "10.45.0",
79
+ "@trpc/server": "10.45.0",
80
80
  "@types/libsodium-wrappers-sumo": "^0.7.6",
81
81
  "axios": "^1.6.2",
82
82
  "bson": "^6.2.0",
@@ -85,7 +85,7 @@
85
85
  "ky": "^1.1.3",
86
86
  "libsodium-wrappers-sumo": "^0.7.13",
87
87
  "spark-md5": "^3.0.2",
88
- "superjson": "^2.2.1",
89
- "zod": "^3.22.4"
88
+ "superjson": "2.2.1",
89
+ "zod": "3.22.4"
90
90
  }
91
91
  }