@middlewr/contracts 0.0.49 → 0.0.51
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/cjs/index.d.ts +14 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/links.schema.d.ts +2 -0
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/links.schema.d.ts +2 -0
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/links.schema.ts +1 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1354,6 +1354,7 @@ export declare const linksContract: {
|
|
|
1354
1354
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1355
1355
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1356
1356
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1357
|
+
version: z.ZodNumber;
|
|
1357
1358
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1358
1359
|
fg_color: z.ZodString;
|
|
1359
1360
|
bg_color: z.ZodString;
|
|
@@ -1555,6 +1556,7 @@ export declare const linksContract: {
|
|
|
1555
1556
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1556
1557
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1557
1558
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1559
|
+
version: z.ZodNumber;
|
|
1558
1560
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1559
1561
|
fg_color: z.ZodString;
|
|
1560
1562
|
bg_color: z.ZodString;
|
|
@@ -1762,6 +1764,7 @@ export declare const linksContract: {
|
|
|
1762
1764
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1763
1765
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1764
1766
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1767
|
+
version: z.ZodNumber;
|
|
1765
1768
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1766
1769
|
fg_color: z.ZodString;
|
|
1767
1770
|
bg_color: z.ZodString;
|
|
@@ -2101,6 +2104,7 @@ export declare const linksContract: {
|
|
|
2101
2104
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2102
2105
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2103
2106
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2107
|
+
version: z.ZodNumber;
|
|
2104
2108
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
2105
2109
|
fg_color: z.ZodString;
|
|
2106
2110
|
bg_color: z.ZodString;
|
|
@@ -2270,6 +2274,7 @@ export declare const linksContract: {
|
|
|
2270
2274
|
link_id: z.ZodString;
|
|
2271
2275
|
}, z.core.$strip>, z.ZodObject<{
|
|
2272
2276
|
synced: z.ZodBoolean;
|
|
2277
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
2273
2278
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2274
2279
|
uploadLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2275
2280
|
workspace_id: z.ZodString;
|
|
@@ -2296,6 +2301,7 @@ export declare const linksContract: {
|
|
|
2296
2301
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2297
2302
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2298
2303
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2304
|
+
version: z.ZodNumber;
|
|
2299
2305
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
2300
2306
|
fg_color: z.ZodString;
|
|
2301
2307
|
bg_color: z.ZodString;
|
|
@@ -2476,6 +2482,7 @@ export declare const linksContract: {
|
|
|
2476
2482
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2477
2483
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2478
2484
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2485
|
+
version: z.ZodNumber;
|
|
2479
2486
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
2480
2487
|
fg_color: z.ZodString;
|
|
2481
2488
|
bg_color: z.ZodString;
|
|
@@ -4237,6 +4244,7 @@ export declare const contract: {
|
|
|
4237
4244
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4238
4245
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4239
4246
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4247
|
+
version: z.ZodNumber;
|
|
4240
4248
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4241
4249
|
fg_color: z.ZodString;
|
|
4242
4250
|
bg_color: z.ZodString;
|
|
@@ -4438,6 +4446,7 @@ export declare const contract: {
|
|
|
4438
4446
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4439
4447
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4440
4448
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4449
|
+
version: z.ZodNumber;
|
|
4441
4450
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4442
4451
|
fg_color: z.ZodString;
|
|
4443
4452
|
bg_color: z.ZodString;
|
|
@@ -4645,6 +4654,7 @@ export declare const contract: {
|
|
|
4645
4654
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4646
4655
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4647
4656
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4657
|
+
version: z.ZodNumber;
|
|
4648
4658
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4649
4659
|
fg_color: z.ZodString;
|
|
4650
4660
|
bg_color: z.ZodString;
|
|
@@ -4984,6 +4994,7 @@ export declare const contract: {
|
|
|
4984
4994
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4985
4995
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4986
4996
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4997
|
+
version: z.ZodNumber;
|
|
4987
4998
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4988
4999
|
fg_color: z.ZodString;
|
|
4989
5000
|
bg_color: z.ZodString;
|
|
@@ -5153,6 +5164,7 @@ export declare const contract: {
|
|
|
5153
5164
|
link_id: z.ZodString;
|
|
5154
5165
|
}, z.core.$strip>, z.ZodObject<{
|
|
5155
5166
|
synced: z.ZodBoolean;
|
|
5167
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
5156
5168
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
5157
5169
|
uploadLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5158
5170
|
workspace_id: z.ZodString;
|
|
@@ -5179,6 +5191,7 @@ export declare const contract: {
|
|
|
5179
5191
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5180
5192
|
created_at: z.ZodCoercedDate<unknown>;
|
|
5181
5193
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5194
|
+
version: z.ZodNumber;
|
|
5182
5195
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
5183
5196
|
fg_color: z.ZodString;
|
|
5184
5197
|
bg_color: z.ZodString;
|
|
@@ -5359,6 +5372,7 @@ export declare const contract: {
|
|
|
5359
5372
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5360
5373
|
created_at: z.ZodCoercedDate<unknown>;
|
|
5361
5374
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5375
|
+
version: z.ZodNumber;
|
|
5362
5376
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
5363
5377
|
fg_color: z.ZodString;
|
|
5364
5378
|
bg_color: z.ZodString;
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+DxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B,CAAC;AAGF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAepC,CAAC;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -534,6 +534,7 @@ var LinkSchema = import_zod9.z.object({
|
|
|
534
534
|
click_count_updated_at: import_zod9.z.coerce.date().nullable(),
|
|
535
535
|
created_at: import_zod9.z.coerce.date(),
|
|
536
536
|
updated_at: import_zod9.z.coerce.date().nullable(),
|
|
537
|
+
version: import_zod9.z.number().int(),
|
|
537
538
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
538
539
|
qr_logo_key: import_zod9.z.string().nullable(),
|
|
539
540
|
logo_url: import_zod9.z.string().nullable(),
|
|
@@ -761,7 +762,7 @@ var linksContract = {
|
|
|
761
762
|
update: import_contract.oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema.merge(UpdateLinkInputSchema)).output(LinkSchema),
|
|
762
763
|
delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema).output(import_zod12.z.void()),
|
|
763
764
|
edgeSync: import_contract.oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/sync" }).input(LinkIdParamSchema).output(import_zod12.z.void()),
|
|
764
|
-
edgeStatus: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/status" }).input(LinkIdParamSchema).output(import_zod12.z.object({ synced: import_zod12.z.boolean() })),
|
|
765
|
+
edgeStatus: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/status" }).input(LinkIdParamSchema).output(import_zod12.z.object({ synced: import_zod12.z.boolean(), version: import_zod12.z.number().nullable() })),
|
|
765
766
|
uploadLogo: import_contract.oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/links/{link_id}/logo" }).input(LinkIdParamSchema.merge(import_zod12.z.object({ file: import_zod12.z.file().mime(["image/png", "image/jpeg", "image/svg+xml", "image/webp"]) }))).output(LinkSchema),
|
|
766
767
|
deleteLogo: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}/logo" }).input(LinkIdParamSchema).output(LinkSchema),
|
|
767
768
|
getJob: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/jobs/{job_id}" }).input(LinkJobIdParamSchema).output(LinkJobSchema),
|
|
@@ -46,6 +46,7 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
46
46
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
47
47
|
created_at: z.ZodCoercedDate<unknown>;
|
|
48
48
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
49
|
+
version: z.ZodNumber;
|
|
49
50
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
50
51
|
fg_color: z.ZodString;
|
|
51
52
|
bg_color: z.ZodString;
|
|
@@ -589,6 +590,7 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
589
590
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
590
591
|
created_at: z.ZodCoercedDate<unknown>;
|
|
591
592
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
593
|
+
version: z.ZodNumber;
|
|
592
594
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
593
595
|
fg_color: z.ZodString;
|
|
594
596
|
bg_color: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwBhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBhC,CAAC;AAMH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1354,6 +1354,7 @@ export declare const linksContract: {
|
|
|
1354
1354
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1355
1355
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1356
1356
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1357
|
+
version: z.ZodNumber;
|
|
1357
1358
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1358
1359
|
fg_color: z.ZodString;
|
|
1359
1360
|
bg_color: z.ZodString;
|
|
@@ -1555,6 +1556,7 @@ export declare const linksContract: {
|
|
|
1555
1556
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1556
1557
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1557
1558
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1559
|
+
version: z.ZodNumber;
|
|
1558
1560
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1559
1561
|
fg_color: z.ZodString;
|
|
1560
1562
|
bg_color: z.ZodString;
|
|
@@ -1762,6 +1764,7 @@ export declare const linksContract: {
|
|
|
1762
1764
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1763
1765
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1764
1766
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1767
|
+
version: z.ZodNumber;
|
|
1765
1768
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1766
1769
|
fg_color: z.ZodString;
|
|
1767
1770
|
bg_color: z.ZodString;
|
|
@@ -2101,6 +2104,7 @@ export declare const linksContract: {
|
|
|
2101
2104
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2102
2105
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2103
2106
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2107
|
+
version: z.ZodNumber;
|
|
2104
2108
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
2105
2109
|
fg_color: z.ZodString;
|
|
2106
2110
|
bg_color: z.ZodString;
|
|
@@ -2270,6 +2274,7 @@ export declare const linksContract: {
|
|
|
2270
2274
|
link_id: z.ZodString;
|
|
2271
2275
|
}, z.core.$strip>, z.ZodObject<{
|
|
2272
2276
|
synced: z.ZodBoolean;
|
|
2277
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
2273
2278
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2274
2279
|
uploadLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2275
2280
|
workspace_id: z.ZodString;
|
|
@@ -2296,6 +2301,7 @@ export declare const linksContract: {
|
|
|
2296
2301
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2297
2302
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2298
2303
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2304
|
+
version: z.ZodNumber;
|
|
2299
2305
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
2300
2306
|
fg_color: z.ZodString;
|
|
2301
2307
|
bg_color: z.ZodString;
|
|
@@ -2476,6 +2482,7 @@ export declare const linksContract: {
|
|
|
2476
2482
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2477
2483
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2478
2484
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2485
|
+
version: z.ZodNumber;
|
|
2479
2486
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
2480
2487
|
fg_color: z.ZodString;
|
|
2481
2488
|
bg_color: z.ZodString;
|
|
@@ -4237,6 +4244,7 @@ export declare const contract: {
|
|
|
4237
4244
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4238
4245
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4239
4246
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4247
|
+
version: z.ZodNumber;
|
|
4240
4248
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4241
4249
|
fg_color: z.ZodString;
|
|
4242
4250
|
bg_color: z.ZodString;
|
|
@@ -4438,6 +4446,7 @@ export declare const contract: {
|
|
|
4438
4446
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4439
4447
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4440
4448
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4449
|
+
version: z.ZodNumber;
|
|
4441
4450
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4442
4451
|
fg_color: z.ZodString;
|
|
4443
4452
|
bg_color: z.ZodString;
|
|
@@ -4645,6 +4654,7 @@ export declare const contract: {
|
|
|
4645
4654
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4646
4655
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4647
4656
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4657
|
+
version: z.ZodNumber;
|
|
4648
4658
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4649
4659
|
fg_color: z.ZodString;
|
|
4650
4660
|
bg_color: z.ZodString;
|
|
@@ -4984,6 +4994,7 @@ export declare const contract: {
|
|
|
4984
4994
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4985
4995
|
created_at: z.ZodCoercedDate<unknown>;
|
|
4986
4996
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
4997
|
+
version: z.ZodNumber;
|
|
4987
4998
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
4988
4999
|
fg_color: z.ZodString;
|
|
4989
5000
|
bg_color: z.ZodString;
|
|
@@ -5153,6 +5164,7 @@ export declare const contract: {
|
|
|
5153
5164
|
link_id: z.ZodString;
|
|
5154
5165
|
}, z.core.$strip>, z.ZodObject<{
|
|
5155
5166
|
synced: z.ZodBoolean;
|
|
5167
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
5156
5168
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
5157
5169
|
uploadLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5158
5170
|
workspace_id: z.ZodString;
|
|
@@ -5179,6 +5191,7 @@ export declare const contract: {
|
|
|
5179
5191
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5180
5192
|
created_at: z.ZodCoercedDate<unknown>;
|
|
5181
5193
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5194
|
+
version: z.ZodNumber;
|
|
5182
5195
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
5183
5196
|
fg_color: z.ZodString;
|
|
5184
5197
|
bg_color: z.ZodString;
|
|
@@ -5359,6 +5372,7 @@ export declare const contract: {
|
|
|
5359
5372
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5360
5373
|
created_at: z.ZodCoercedDate<unknown>;
|
|
5361
5374
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5375
|
+
version: z.ZodNumber;
|
|
5362
5376
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
5363
5377
|
fg_color: z.ZodString;
|
|
5364
5378
|
bg_color: z.ZodString;
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+DxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B,CAAC;AAGF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAepC,CAAC;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -433,6 +433,7 @@ var LinkSchema = z9.object({
|
|
|
433
433
|
click_count_updated_at: z9.coerce.date().nullable(),
|
|
434
434
|
created_at: z9.coerce.date(),
|
|
435
435
|
updated_at: z9.coerce.date().nullable(),
|
|
436
|
+
version: z9.number().int(),
|
|
436
437
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
437
438
|
qr_logo_key: z9.string().nullable(),
|
|
438
439
|
logo_url: z9.string().nullable(),
|
|
@@ -660,7 +661,7 @@ var linksContract = {
|
|
|
660
661
|
update: oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema.merge(UpdateLinkInputSchema)).output(LinkSchema),
|
|
661
662
|
delete: oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema).output(z12.void()),
|
|
662
663
|
edgeSync: oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/sync" }).input(LinkIdParamSchema).output(z12.void()),
|
|
663
|
-
edgeStatus: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/status" }).input(LinkIdParamSchema).output(z12.object({ synced: z12.boolean() })),
|
|
664
|
+
edgeStatus: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/status" }).input(LinkIdParamSchema).output(z12.object({ synced: z12.boolean(), version: z12.number().nullable() })),
|
|
664
665
|
uploadLogo: oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/links/{link_id}/logo" }).input(LinkIdParamSchema.merge(z12.object({ file: z12.file().mime(["image/png", "image/jpeg", "image/svg+xml", "image/webp"]) }))).output(LinkSchema),
|
|
665
666
|
deleteLogo: oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}/logo" }).input(LinkIdParamSchema).output(LinkSchema),
|
|
666
667
|
getJob: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/jobs/{job_id}" }).input(LinkJobIdParamSchema).output(LinkJobSchema),
|
|
@@ -46,6 +46,7 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
46
46
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
47
47
|
created_at: z.ZodCoercedDate<unknown>;
|
|
48
48
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
49
|
+
version: z.ZodNumber;
|
|
49
50
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
50
51
|
fg_color: z.ZodString;
|
|
51
52
|
bg_color: z.ZodString;
|
|
@@ -589,6 +590,7 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
589
590
|
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
590
591
|
created_at: z.ZodCoercedDate<unknown>;
|
|
591
592
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
593
|
+
version: z.ZodNumber;
|
|
592
594
|
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
593
595
|
fg_color: z.ZodString;
|
|
594
596
|
bg_color: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwBhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBhC,CAAC;AAMH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -267,7 +267,7 @@ export const linksContract = {
|
|
|
267
267
|
edgeStatus: oc
|
|
268
268
|
.route({ method: 'GET', path: '/api/workspaces/{workspace_id}/links/{link_id}/edge/status' })
|
|
269
269
|
.input(LinkIdParamSchema)
|
|
270
|
-
.output(z.object({ synced: z.boolean() })),
|
|
270
|
+
.output(z.object({ synced: z.boolean(), version: z.number().nullable() })),
|
|
271
271
|
|
|
272
272
|
uploadLogo: oc
|
|
273
273
|
.route({ method: 'POST', path: '/api/workspaces/{workspace_id}/links/{link_id}/logo' })
|
package/src/links.schema.ts
CHANGED
|
@@ -41,6 +41,7 @@ export const LinkSchema = z.object({
|
|
|
41
41
|
click_count_updated_at: z.coerce.date().nullable(),
|
|
42
42
|
created_at: z.coerce.date(),
|
|
43
43
|
updated_at: z.coerce.date().nullable(),
|
|
44
|
+
version: z.number().int(),
|
|
44
45
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
45
46
|
qr_logo_key: z.string().nullable(),
|
|
46
47
|
logo_url: z.string().nullable(),
|