@fern-api/fdr-sdk 1.2.174-d28a68fcf1 → 1.2.174-db93c11d21
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/client/FdrClient.d.ts +5 -0
- package/dist/client/FdrClient.d.ts.map +1 -1
- package/dist/js/client/FdrClient.js +30 -3
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +30 -3
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/docs-ledger/index.js +21 -0
- package/dist/js/docs-ledger/index.js.map +1 -1
- package/dist/js/docs-ledger/index.mjs +21 -0
- package/dist/js/docs-ledger/index.mjs.map +1 -1
- package/dist/js/index.js +30 -3
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +30 -3
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +131 -4
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +117 -4
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/client.d.ts.map +1 -1
- package/dist/orpc-client/client.js +2 -2
- package/dist/orpc-client/client.js.map +1 -1
- package/dist/orpc-client/docs-anonymous/contract.d.ts +140 -0
- package/dist/orpc-client/docs-anonymous/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-anonymous/contract.js +40 -2
- package/dist/orpc-client/docs-anonymous/contract.js.map +1 -1
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts +2 -0
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts.map +1 -0
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.js +62 -0
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.js.map +1 -0
- package/dist/orpc-client/docs-ledger/contract.d.ts +112 -0
- package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.js +29 -0
- package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
- package/dist/orpc-client/docs-ledger/index.d.ts +1 -0
- package/dist/orpc-client/docs-ledger/index.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/index.js +1 -0
- package/dist/orpc-client/docs-ledger/index.js.map +1 -1
- package/dist/orpc-client/docs-ledger/static-build-files.d.ts +25 -0
- package/dist/orpc-client/docs-ledger/static-build-files.d.ts.map +1 -0
- package/dist/orpc-client/docs-ledger/static-build-files.js +62 -0
- package/dist/orpc-client/docs-ledger/static-build-files.js.map +1 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.d.ts +2 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.d.ts.map +1 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.js +19 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.js.map +1 -0
- package/dist/orpc-client/pdf-export/client.d.ts +5 -0
- package/dist/orpc-client/pdf-export/client.d.ts.map +1 -1
- package/dist/orpc-client/pdf-export/client.js +8 -1
- package/dist/orpc-client/pdf-export/client.js.map +1 -1
- package/dist/orpc-client/pdf-export/contract.d.ts +31 -0
- package/dist/orpc-client/pdf-export/contract.d.ts.map +1 -1
- package/dist/orpc-client/pdf-export/contract.js +4 -0
- package/dist/orpc-client/pdf-export/contract.js.map +1 -1
- package/dist/types/client/FdrClient.d.ts +5 -0
- package/dist/types/client/FdrClient.d.ts.map +1 -1
- package/dist/types/orpc-client/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-anonymous/contract.d.ts +140 -0
- package/dist/types/orpc-client/docs-anonymous/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts +2 -0
- package/dist/types/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts.map +1 -0
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +112 -0
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/index.d.ts +1 -0
- package/dist/types/orpc-client/docs-ledger/index.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/static-build-files.d.ts +25 -0
- package/dist/types/orpc-client/docs-ledger/static-build-files.d.ts.map +1 -0
- package/dist/types/orpc-client/pdf-export/__test__/client.test.d.ts +2 -0
- package/dist/types/orpc-client/pdf-export/__test__/client.test.d.ts.map +1 -0
- package/dist/types/orpc-client/pdf-export/client.d.ts +5 -0
- package/dist/types/orpc-client/pdf-export/client.d.ts.map +1 -1
- package/dist/types/orpc-client/pdf-export/contract.d.ts +31 -0
- package/dist/types/orpc-client/pdf-export/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -99,6 +99,8 @@ export declare const PdfExportOptionsSchema: z.ZodDiscriminatedUnion<"version",
|
|
|
99
99
|
hideToc?: boolean | null | undefined;
|
|
100
100
|
}>]>;
|
|
101
101
|
export declare const PdfExportTaskStatusSchema: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "FAILED"]>;
|
|
102
|
+
/** `pdf` renders one PDF; `html` and `md` zip the live static build (see `keepsExportFile`). */
|
|
103
|
+
export declare const PdfExportFormatSchema: z.ZodEnum<["pdf", "html", "md"]>;
|
|
102
104
|
export declare const PdfExportTaskSchema: z.ZodObject<{
|
|
103
105
|
id: z.ZodString;
|
|
104
106
|
orgId: z.ZodString;
|
|
@@ -108,6 +110,7 @@ export declare const PdfExportTaskSchema: z.ZodObject<{
|
|
|
108
110
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
111
|
notifyEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
110
112
|
status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "FAILED"]>;
|
|
113
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
111
114
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
112
115
|
version: z.ZodLiteral<"v1">;
|
|
113
116
|
} & {
|
|
@@ -183,6 +186,7 @@ export declare const PdfExportTaskSchema: z.ZodObject<{
|
|
|
183
186
|
hideCover?: boolean | null | undefined;
|
|
184
187
|
hideToc?: boolean | null | undefined;
|
|
185
188
|
} | null | undefined;
|
|
189
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
186
190
|
productId?: string | null | undefined;
|
|
187
191
|
versionId?: string | null | undefined;
|
|
188
192
|
completedAt?: string | null | undefined;
|
|
@@ -213,6 +217,7 @@ export declare const PdfExportTaskSchema: z.ZodObject<{
|
|
|
213
217
|
hideCover?: boolean | null | undefined;
|
|
214
218
|
hideToc?: boolean | null | undefined;
|
|
215
219
|
} | null | undefined;
|
|
220
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
216
221
|
productId?: string | null | undefined;
|
|
217
222
|
versionId?: string | null | undefined;
|
|
218
223
|
completedAt?: string | null | undefined;
|
|
@@ -233,6 +238,7 @@ export declare const ListPdfExportTasksResponseSchema: z.ZodObject<{
|
|
|
233
238
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
239
|
notifyEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
235
240
|
status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "FAILED"]>;
|
|
241
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
236
242
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
237
243
|
version: z.ZodLiteral<"v1">;
|
|
238
244
|
} & {
|
|
@@ -308,6 +314,7 @@ export declare const ListPdfExportTasksResponseSchema: z.ZodObject<{
|
|
|
308
314
|
hideCover?: boolean | null | undefined;
|
|
309
315
|
hideToc?: boolean | null | undefined;
|
|
310
316
|
} | null | undefined;
|
|
317
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
311
318
|
productId?: string | null | undefined;
|
|
312
319
|
versionId?: string | null | undefined;
|
|
313
320
|
completedAt?: string | null | undefined;
|
|
@@ -338,6 +345,7 @@ export declare const ListPdfExportTasksResponseSchema: z.ZodObject<{
|
|
|
338
345
|
hideCover?: boolean | null | undefined;
|
|
339
346
|
hideToc?: boolean | null | undefined;
|
|
340
347
|
} | null | undefined;
|
|
348
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
341
349
|
productId?: string | null | undefined;
|
|
342
350
|
versionId?: string | null | undefined;
|
|
343
351
|
completedAt?: string | null | undefined;
|
|
@@ -370,6 +378,7 @@ export declare const ListPdfExportTasksResponseSchema: z.ZodObject<{
|
|
|
370
378
|
hideCover?: boolean | null | undefined;
|
|
371
379
|
hideToc?: boolean | null | undefined;
|
|
372
380
|
} | null | undefined;
|
|
381
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
373
382
|
productId?: string | null | undefined;
|
|
374
383
|
versionId?: string | null | undefined;
|
|
375
384
|
completedAt?: string | null | undefined;
|
|
@@ -402,6 +411,7 @@ export declare const ListPdfExportTasksResponseSchema: z.ZodObject<{
|
|
|
402
411
|
hideCover?: boolean | null | undefined;
|
|
403
412
|
hideToc?: boolean | null | undefined;
|
|
404
413
|
} | null | undefined;
|
|
414
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
405
415
|
productId?: string | null | undefined;
|
|
406
416
|
versionId?: string | null | undefined;
|
|
407
417
|
completedAt?: string | null | undefined;
|
|
@@ -432,6 +442,7 @@ export declare const CreatePdfExportTaskInputSchema: z.ZodObject<{
|
|
|
432
442
|
productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
433
443
|
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
444
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
435
446
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
436
447
|
version: z.ZodLiteral<"v1">;
|
|
437
448
|
} & {
|
|
@@ -498,6 +509,7 @@ export declare const CreatePdfExportTaskInputSchema: z.ZodObject<{
|
|
|
498
509
|
hideCover?: boolean | null | undefined;
|
|
499
510
|
hideToc?: boolean | null | undefined;
|
|
500
511
|
} | null | undefined;
|
|
512
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
501
513
|
productId?: string | null | undefined;
|
|
502
514
|
versionId?: string | null | undefined;
|
|
503
515
|
requesterName?: string | null | undefined;
|
|
@@ -519,6 +531,7 @@ export declare const CreatePdfExportTaskInputSchema: z.ZodObject<{
|
|
|
519
531
|
hideCover?: boolean | null | undefined;
|
|
520
532
|
hideToc?: boolean | null | undefined;
|
|
521
533
|
} | null | undefined;
|
|
534
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
522
535
|
productId?: string | null | undefined;
|
|
523
536
|
versionId?: string | null | undefined;
|
|
524
537
|
requesterName?: string | null | undefined;
|
|
@@ -596,6 +609,7 @@ export type PdfExportScope = z.infer<typeof PdfExportScopeSchema>;
|
|
|
596
609
|
export type PdfExportOptionsV1 = z.infer<typeof PdfExportOptionsV1Schema>;
|
|
597
610
|
export type PdfExportOptions = z.infer<typeof PdfExportOptionsSchema>;
|
|
598
611
|
export type PdfExportTaskStatus = z.infer<typeof PdfExportTaskStatusSchema>;
|
|
612
|
+
export type PdfExportFormat = z.infer<typeof PdfExportFormatSchema>;
|
|
599
613
|
export type PdfExportTask = z.infer<typeof PdfExportTaskSchema>;
|
|
600
614
|
export type ListPdfExportTasksResponse = z.infer<typeof ListPdfExportTasksResponseSchema>;
|
|
601
615
|
export type PdfExportDownloadResponse = z.infer<typeof PdfExportDownloadResponseSchema>;
|
|
@@ -611,6 +625,7 @@ export declare const pdfExportContract: {
|
|
|
611
625
|
productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
612
626
|
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
613
627
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
628
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
614
629
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
615
630
|
version: z.ZodLiteral<"v1">;
|
|
616
631
|
} & {
|
|
@@ -677,6 +692,7 @@ export declare const pdfExportContract: {
|
|
|
677
692
|
hideCover?: boolean | null | undefined;
|
|
678
693
|
hideToc?: boolean | null | undefined;
|
|
679
694
|
} | null | undefined;
|
|
695
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
680
696
|
productId?: string | null | undefined;
|
|
681
697
|
versionId?: string | null | undefined;
|
|
682
698
|
requesterName?: string | null | undefined;
|
|
@@ -698,6 +714,7 @@ export declare const pdfExportContract: {
|
|
|
698
714
|
hideCover?: boolean | null | undefined;
|
|
699
715
|
hideToc?: boolean | null | undefined;
|
|
700
716
|
} | null | undefined;
|
|
717
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
701
718
|
productId?: string | null | undefined;
|
|
702
719
|
versionId?: string | null | undefined;
|
|
703
720
|
requesterName?: string | null | undefined;
|
|
@@ -710,6 +727,7 @@ export declare const pdfExportContract: {
|
|
|
710
727
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
711
728
|
notifyEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
712
729
|
status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "FAILED"]>;
|
|
730
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
713
731
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
714
732
|
version: z.ZodLiteral<"v1">;
|
|
715
733
|
} & {
|
|
@@ -785,6 +803,7 @@ export declare const pdfExportContract: {
|
|
|
785
803
|
hideCover?: boolean | null | undefined;
|
|
786
804
|
hideToc?: boolean | null | undefined;
|
|
787
805
|
} | null | undefined;
|
|
806
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
788
807
|
productId?: string | null | undefined;
|
|
789
808
|
versionId?: string | null | undefined;
|
|
790
809
|
completedAt?: string | null | undefined;
|
|
@@ -815,6 +834,7 @@ export declare const pdfExportContract: {
|
|
|
815
834
|
hideCover?: boolean | null | undefined;
|
|
816
835
|
hideToc?: boolean | null | undefined;
|
|
817
836
|
} | null | undefined;
|
|
837
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
818
838
|
productId?: string | null | undefined;
|
|
819
839
|
versionId?: string | null | undefined;
|
|
820
840
|
completedAt?: string | null | undefined;
|
|
@@ -847,6 +867,7 @@ export declare const pdfExportContract: {
|
|
|
847
867
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
848
868
|
notifyEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
849
869
|
status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "FAILED"]>;
|
|
870
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
850
871
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
851
872
|
version: z.ZodLiteral<"v1">;
|
|
852
873
|
} & {
|
|
@@ -922,6 +943,7 @@ export declare const pdfExportContract: {
|
|
|
922
943
|
hideCover?: boolean | null | undefined;
|
|
923
944
|
hideToc?: boolean | null | undefined;
|
|
924
945
|
} | null | undefined;
|
|
946
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
925
947
|
productId?: string | null | undefined;
|
|
926
948
|
versionId?: string | null | undefined;
|
|
927
949
|
completedAt?: string | null | undefined;
|
|
@@ -952,6 +974,7 @@ export declare const pdfExportContract: {
|
|
|
952
974
|
hideCover?: boolean | null | undefined;
|
|
953
975
|
hideToc?: boolean | null | undefined;
|
|
954
976
|
} | null | undefined;
|
|
977
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
955
978
|
productId?: string | null | undefined;
|
|
956
979
|
versionId?: string | null | undefined;
|
|
957
980
|
completedAt?: string | null | undefined;
|
|
@@ -984,6 +1007,7 @@ export declare const pdfExportContract: {
|
|
|
984
1007
|
hideCover?: boolean | null | undefined;
|
|
985
1008
|
hideToc?: boolean | null | undefined;
|
|
986
1009
|
} | null | undefined;
|
|
1010
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
987
1011
|
productId?: string | null | undefined;
|
|
988
1012
|
versionId?: string | null | undefined;
|
|
989
1013
|
completedAt?: string | null | undefined;
|
|
@@ -1016,6 +1040,7 @@ export declare const pdfExportContract: {
|
|
|
1016
1040
|
hideCover?: boolean | null | undefined;
|
|
1017
1041
|
hideToc?: boolean | null | undefined;
|
|
1018
1042
|
} | null | undefined;
|
|
1043
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
1019
1044
|
productId?: string | null | undefined;
|
|
1020
1045
|
versionId?: string | null | undefined;
|
|
1021
1046
|
completedAt?: string | null | undefined;
|
|
@@ -1042,6 +1067,7 @@ export declare const pdfExportContract: {
|
|
|
1042
1067
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
1068
|
notifyEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1044
1069
|
status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "FAILED"]>;
|
|
1070
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
1045
1071
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
1046
1072
|
version: z.ZodLiteral<"v1">;
|
|
1047
1073
|
} & {
|
|
@@ -1117,6 +1143,7 @@ export declare const pdfExportContract: {
|
|
|
1117
1143
|
hideCover?: boolean | null | undefined;
|
|
1118
1144
|
hideToc?: boolean | null | undefined;
|
|
1119
1145
|
} | null | undefined;
|
|
1146
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
1120
1147
|
productId?: string | null | undefined;
|
|
1121
1148
|
versionId?: string | null | undefined;
|
|
1122
1149
|
completedAt?: string | null | undefined;
|
|
@@ -1147,6 +1174,7 @@ export declare const pdfExportContract: {
|
|
|
1147
1174
|
hideCover?: boolean | null | undefined;
|
|
1148
1175
|
hideToc?: boolean | null | undefined;
|
|
1149
1176
|
} | null | undefined;
|
|
1177
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
1150
1178
|
productId?: string | null | undefined;
|
|
1151
1179
|
versionId?: string | null | undefined;
|
|
1152
1180
|
completedAt?: string | null | undefined;
|
|
@@ -1193,6 +1221,7 @@ export declare const pdfExportContract: {
|
|
|
1193
1221
|
requesterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1194
1222
|
notifyEmails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1195
1223
|
status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "FAILED"]>;
|
|
1224
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pdf", "html", "md"]>>>;
|
|
1196
1225
|
options: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
1197
1226
|
version: z.ZodLiteral<"v1">;
|
|
1198
1227
|
} & {
|
|
@@ -1268,6 +1297,7 @@ export declare const pdfExportContract: {
|
|
|
1268
1297
|
hideCover?: boolean | null | undefined;
|
|
1269
1298
|
hideToc?: boolean | null | undefined;
|
|
1270
1299
|
} | null | undefined;
|
|
1300
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
1271
1301
|
productId?: string | null | undefined;
|
|
1272
1302
|
versionId?: string | null | undefined;
|
|
1273
1303
|
completedAt?: string | null | undefined;
|
|
@@ -1298,6 +1328,7 @@ export declare const pdfExportContract: {
|
|
|
1298
1328
|
hideCover?: boolean | null | undefined;
|
|
1299
1329
|
hideToc?: boolean | null | undefined;
|
|
1300
1330
|
} | null | undefined;
|
|
1331
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
1301
1332
|
productId?: string | null | undefined;
|
|
1302
1333
|
versionId?: string | null | undefined;
|
|
1303
1334
|
completedAt?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../src/orpc-client/pdf-export/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWnC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEjC,CAAC;AAEH,eAAO,MAAM,yBAAyB,0DAAwD,CAAC;AAE/F,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../src/orpc-client/pdf-export/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWnC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEjC,CAAC;AAEH,eAAO,MAAM,yBAAyB,0DAAwD,CAAC;AAE/F,gGAAgG;AAChG,eAAO,MAAM,qBAAqB,kCAAgC,CAAC;AAEnE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2B7B,CAAC"}
|
|
@@ -19,6 +19,8 @@ export const PdfExportOptionsSchema = z.discriminatedUnion("version", [
|
|
|
19
19
|
z.object({ version: z.literal("v1") }).merge(PdfExportOptionsV1Schema)
|
|
20
20
|
]);
|
|
21
21
|
export const PdfExportTaskStatusSchema = z.enum(["PENDING", "RUNNING", "COMPLETED", "FAILED"]);
|
|
22
|
+
/** `pdf` renders one PDF; `html` and `md` zip the live static build (see `keepsExportFile`). */
|
|
23
|
+
export const PdfExportFormatSchema = z.enum(["pdf", "html", "md"]);
|
|
22
24
|
export const PdfExportTaskSchema = z.object({
|
|
23
25
|
id: z.string(),
|
|
24
26
|
orgId: z.string(),
|
|
@@ -28,6 +30,7 @@ export const PdfExportTaskSchema = z.object({
|
|
|
28
30
|
requesterName: z.string().nullish(),
|
|
29
31
|
notifyEmails: z.array(z.string()).nullish(),
|
|
30
32
|
status: PdfExportTaskStatusSchema,
|
|
33
|
+
format: PdfExportFormatSchema.nullish(),
|
|
31
34
|
options: PdfExportOptionsSchema.nullish(),
|
|
32
35
|
createdAt: z.string(),
|
|
33
36
|
startedAt: z.string().nullish(),
|
|
@@ -50,6 +53,7 @@ export const CreatePdfExportTaskInputSchema = z.object({
|
|
|
50
53
|
productId: z.string().nullish(),
|
|
51
54
|
versionId: z.string().nullish(),
|
|
52
55
|
requesterName: z.string().nullish(),
|
|
56
|
+
format: PdfExportFormatSchema.nullish(),
|
|
53
57
|
options: PdfExportOptionsSchema.nullish()
|
|
54
58
|
});
|
|
55
59
|
export const ListPdfExportTasksInputSchema = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../../src/orpc-client/pdf-export/contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACnC,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,EAAE;IACrC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,kBAAkB,CAAC,SAAS,EAAE;IAClE,CAAC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are class FdrClient {
|
|
|
442
442
|
hideCover?: boolean | null | undefined;
|
|
443
443
|
hideToc?: boolean | null | undefined;
|
|
444
444
|
} | null | undefined;
|
|
445
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
445
446
|
productId?: string | null | undefined;
|
|
446
447
|
versionId?: string | null | undefined;
|
|
447
448
|
requesterName?: string | null | undefined;
|
|
@@ -466,6 +467,7 @@ export declare class FdrClient {
|
|
|
466
467
|
hideCover?: boolean | null | undefined;
|
|
467
468
|
hideToc?: boolean | null | undefined;
|
|
468
469
|
} | null | undefined;
|
|
470
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
469
471
|
productId?: string | null | undefined;
|
|
470
472
|
versionId?: string | null | undefined;
|
|
471
473
|
completedAt?: string | null | undefined;
|
|
@@ -502,6 +504,7 @@ export declare class FdrClient {
|
|
|
502
504
|
hideCover?: boolean | null | undefined;
|
|
503
505
|
hideToc?: boolean | null | undefined;
|
|
504
506
|
} | null | undefined;
|
|
507
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
505
508
|
productId?: string | null | undefined;
|
|
506
509
|
versionId?: string | null | undefined;
|
|
507
510
|
completedAt?: string | null | undefined;
|
|
@@ -536,6 +539,7 @@ export declare class FdrClient {
|
|
|
536
539
|
hideCover?: boolean | null | undefined;
|
|
537
540
|
hideToc?: boolean | null | undefined;
|
|
538
541
|
} | null | undefined;
|
|
542
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
539
543
|
productId?: string | null | undefined;
|
|
540
544
|
versionId?: string | null | undefined;
|
|
541
545
|
completedAt?: string | null | undefined;
|
|
@@ -576,6 +580,7 @@ export declare class FdrClient {
|
|
|
576
580
|
hideCover?: boolean | null | undefined;
|
|
577
581
|
hideToc?: boolean | null | undefined;
|
|
578
582
|
} | null | undefined;
|
|
583
|
+
format?: "pdf" | "html" | "md" | null | undefined;
|
|
579
584
|
productId?: string | null | undefined;
|
|
580
585
|
versionId?: string | null | undefined;
|
|
581
586
|
complet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WAAW,0BAA0B;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;CACnC;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,GAAG,aAAa,CA8BtF"}
|
|
@@ -171,12 +171,21 @@ export declare const GetAnonymousClaimResponseSchema: z.ZodObject<{
|
|
|
171
171
|
export declare const ClaimAnonymousDocsSiteInputSchema: z.ZodObject<{
|
|
172
172
|
grant: z.ZodString;
|
|
173
173
|
toOrgId: z.ZodString;
|
|
174
|
+
/**
|
|
175
|
+
* The `<name>.<docs suffix>` address the claimed site moves to, instead of keeping its
|
|
176
|
+
* `drop-<id>` host (a bare name is accepted too). Refused with `invalid_domain` (400) when it
|
|
177
|
+
* is not one label under the docs suffix or is a drop name, and `domain_taken` (409) when any
|
|
178
|
+
* site already uses it. The drop host redirects to the new address once it serves.
|
|
179
|
+
*/
|
|
180
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
174
181
|
}, "strip", z.ZodTypeAny, {
|
|
175
182
|
toOrgId: string;
|
|
176
183
|
grant: string;
|
|
184
|
+
domain?: string | undefined;
|
|
177
185
|
}, {
|
|
178
186
|
toOrgId: string;
|
|
179
187
|
grant: string;
|
|
188
|
+
domain?: string | undefined;
|
|
180
189
|
}>;
|
|
181
190
|
export declare const ClaimAnonymousDocsSiteResponseSchema: z.ZodObject<{
|
|
182
191
|
siteId: z.ZodString;
|
|
@@ -248,6 +257,76 @@ export declare const GetGuestDocsSiteResponseSchema: z.ZodObject<{
|
|
|
248
257
|
maxPublishes: number;
|
|
249
258
|
};
|
|
250
259
|
}>;
|
|
260
|
+
/**
|
|
261
|
+
* FERN-34, the other half of a guest session's claim: once Venus says the session is claimed into
|
|
262
|
+
* an organization, the session's Fern Drop sites move into it. Called by the dashboard right after
|
|
263
|
+
* the claim, by an admin of that organization; safe to repeat (a second call finds nothing left).
|
|
264
|
+
*/
|
|
265
|
+
export declare const RehomeGuestSessionInputSchema: z.ZodObject<{
|
|
266
|
+
/** The session's `guest-<id>` organization, as the claim page shows it. */
|
|
267
|
+
guestOrgId: z.ZodString;
|
|
268
|
+
/**
|
|
269
|
+
* The `<name>.<docs suffix>` address the session's published site takes instead of its
|
|
270
|
+
* `drop-<id>` host (a bare name is accepted too); same rules and errors as `claim`'s `domain`.
|
|
271
|
+
*/
|
|
272
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
guestOrgId: string;
|
|
275
|
+
domain?: string | undefined;
|
|
276
|
+
}, {
|
|
277
|
+
guestOrgId: string;
|
|
278
|
+
domain?: string | undefined;
|
|
279
|
+
}>;
|
|
280
|
+
export declare const RehomedGuestSiteSchema: z.ZodObject<{
|
|
281
|
+
siteId: z.ZodString;
|
|
282
|
+
domain: z.ZodString;
|
|
283
|
+
/** The build the site serves at `domain`; absent for a site that was never published. */
|
|
284
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, "strip", z.ZodTypeAny, {
|
|
286
|
+
domain: string;
|
|
287
|
+
siteId: string;
|
|
288
|
+
buildId?: string | undefined;
|
|
289
|
+
}, {
|
|
290
|
+
domain: string;
|
|
291
|
+
siteId: string;
|
|
292
|
+
buildId?: string | undefined;
|
|
293
|
+
}>;
|
|
294
|
+
export declare const RehomeGuestSessionResponseSchema: z.ZodObject<{
|
|
295
|
+
sessionId: z.ZodString;
|
|
296
|
+
/** Where the sites are now: the organization Venus says the session was claimed into. */
|
|
297
|
+
orgId: z.ZodString;
|
|
298
|
+
/** The sites moved by this call; empty when there was nothing (left) to move. */
|
|
299
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
300
|
+
siteId: z.ZodString;
|
|
301
|
+
domain: z.ZodString;
|
|
302
|
+
/** The build the site serves at `domain`; absent for a site that was never published. */
|
|
303
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
|
305
|
+
domain: string;
|
|
306
|
+
siteId: string;
|
|
307
|
+
buildId?: string | undefined;
|
|
308
|
+
}, {
|
|
309
|
+
domain: string;
|
|
310
|
+
siteId: string;
|
|
311
|
+
buildId?: string | undefined;
|
|
312
|
+
}>, "many">;
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
orgId: string;
|
|
315
|
+
sites: {
|
|
316
|
+
domain: string;
|
|
317
|
+
siteId: string;
|
|
318
|
+
buildId?: string | undefined;
|
|
319
|
+
}[];
|
|
320
|
+
sessionId: string;
|
|
321
|
+
}, {
|
|
322
|
+
orgId: string;
|
|
323
|
+
sites: {
|
|
324
|
+
domain: string;
|
|
325
|
+
siteId: string;
|
|
326
|
+
buildId?: string | undefined;
|
|
327
|
+
}[];
|
|
328
|
+
sessionId: string;
|
|
329
|
+
}>;
|
|
251
330
|
export declare const docsAnonymousContract: {
|
|
252
331
|
getGuestSite: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
253
332
|
orgId: z.ZodString;
|
|
@@ -437,12 +516,21 @@ export declare const docsAnonymousContract: {
|
|
|
437
516
|
claim: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
438
517
|
grant: z.ZodString;
|
|
439
518
|
toOrgId: z.ZodString;
|
|
519
|
+
/**
|
|
520
|
+
* The `<name>.<docs suffix>` address the claimed site moves to, instead of keeping its
|
|
521
|
+
* `drop-<id>` host (a bare name is accepted too). Refused with `invalid_domain` (400) when it
|
|
522
|
+
* is not one label under the docs suffix or is a drop name, and `domain_taken` (409) when any
|
|
523
|
+
* site already uses it. The drop host redirects to the new address once it serves.
|
|
524
|
+
*/
|
|
525
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
440
526
|
}, "strip", z.ZodTypeAny, {
|
|
441
527
|
toOrgId: string;
|
|
442
528
|
grant: string;
|
|
529
|
+
domain?: string | undefined;
|
|
443
530
|
}, {
|
|
444
531
|
toOrgId: string;
|
|
445
532
|
grant: string;
|
|
533
|
+
domain?: string | undefined;
|
|
446
534
|
}>, z.ZodObject<{
|
|
447
535
|
siteId: z.ZodString;
|
|
448
536
|
domain: z.ZodString;
|
|
@@ -459,6 +547,56 @@ export declare const docsAnonymousContract: {
|
|
|
459
547
|
siteId: string;
|
|
460
548
|
buildId: string;
|
|
461
549
|
}>, Record<never, never>, Record<never, never>>;
|
|
550
|
+
rehomeGuestSession: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
551
|
+
/** The session's `guest-<id>` organization, as the claim page shows it. */
|
|
552
|
+
guestOrgId: z.ZodString;
|
|
553
|
+
/**
|
|
554
|
+
* The `<name>.<docs suffix>` address the session's published site takes instead of its
|
|
555
|
+
* `drop-<id>` host (a bare name is accepted too); same rules and errors as `claim`'s `domain`.
|
|
556
|
+
*/
|
|
557
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
558
|
+
}, "strip", z.ZodTypeAny, {
|
|
559
|
+
guestOrgId: string;
|
|
560
|
+
domain?: string | undefined;
|
|
561
|
+
}, {
|
|
562
|
+
guestOrgId: string;
|
|
563
|
+
domain?: string | undefined;
|
|
564
|
+
}>, z.ZodObject<{
|
|
565
|
+
sessionId: z.ZodString;
|
|
566
|
+
/** Where the sites are now: the organization Venus says the session was claimed into. */
|
|
567
|
+
orgId: z.ZodString;
|
|
568
|
+
/** The sites moved by this call; empty when there was nothing (left) to move. */
|
|
569
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
570
|
+
siteId: z.ZodString;
|
|
571
|
+
domain: z.ZodString;
|
|
572
|
+
/** The build the site serves at `domain`; absent for a site that was never published. */
|
|
573
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, "strip", z.ZodTypeAny, {
|
|
575
|
+
domain: string;
|
|
576
|
+
siteId: string;
|
|
577
|
+
buildId?: string | undefined;
|
|
578
|
+
}, {
|
|
579
|
+
domain: string;
|
|
580
|
+
siteId: string;
|
|
581
|
+
buildId?: string | undefined;
|
|
582
|
+
}>, "many">;
|
|
583
|
+
}, "strip", z.ZodTypeAny, {
|
|
584
|
+
orgId: string;
|
|
585
|
+
sites: {
|
|
586
|
+
domain: string;
|
|
587
|
+
siteId: string;
|
|
588
|
+
buildId?: string | undefined;
|
|
589
|
+
}[];
|
|
590
|
+
sessionId: string;
|
|
591
|
+
}, {
|
|
592
|
+
orgId: string;
|
|
593
|
+
sites: {
|
|
594
|
+
domain: string;
|
|
595
|
+
siteId: string;
|
|
596
|
+
buildId?: string | undefined;
|
|
597
|
+
}[];
|
|
598
|
+
sessionId: string;
|
|
599
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
462
600
|
};
|
|
463
601
|
export type AnonymousDocsSiteLimits = z.infer<typeof AnonymousDocsSiteLimitsSchema>;
|
|
464
602
|
export type CreateAnonymousDocsSiteInput = z.infer<typeof CreateAnonymousDocsSiteInputSchema>;
|
|
@@ -467,6 +605,8 @@ export type ConsumeAnonymousClaimTokenInput = z.infer<typeof ConsumeAnonymousCla
|
|
|
467
605
|
export type ConsumeAnonymousClaimTokenResponse = z.infer<typeof ConsumeAnonymousClaimTokenResponseSchema>;
|
|
468
606
|
export type CreateAnonymousClaimGrantInput = z.infer<typeof CreateAnonymousClaimGrantInputSchema>;
|
|
469
607
|
export type CreateAnonymousClaimGrantResponse = z.infer<typeof CreateAnonymousClaimGrantResponseSchema>;
|
|
608
|
+
export type RehomeGuestSessionInput = z.infer<typeof RehomeGuestSessionInputSchema>;
|
|
609
|
+
export type RehomeGuestSessionResponse = z.infer<typeof RehomeGuestSessionResponseSchema>;
|
|
470
610
|
export type AnonymousClaimStatus = z.infer<typeof AnonymousClaimStatusSchema>;
|
|
471
611
|
export type GetAnonymousClaimInput = z.infer<typeof GetAnonymousClaimInputSchema>;
|
|
472
612
|
export type GetAnonymousClaimResponse = z.infer<typeof GetAnonymousClaimResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/docs-anonymous/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;;;;;GAMG;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAIxC,CAAC;AAEH,eAAO,MAAM,kCAAkC;IAC3C,qEAAqE;;IAErE,0FAA0F;;;;;;;;EAE5F,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;IAK9C,sKAAsK;;IAEtK,0GAA0G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI5G,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,mCAAmC,8BAA8B,CAAC;AAE/E,eAAO,MAAM,qCAAqC;;;;;;EAEhD,CAAC;AAEH,8FAA8F;AAC9F,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;EAKnD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;EAG/C,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;;;;;;;EAGlD,CAAC;AAEH,eAAO,MAAM,0BAA0B,2DAAyD,CAAC;AAEjG,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;EAQ1C,CAAC;AAEH,eAAO,MAAM,iCAAiC
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/docs-anonymous/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;;;;;GAMG;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAIxC,CAAC;AAEH,eAAO,MAAM,kCAAkC;IAC3C,qEAAqE;;IAErE,0FAA0F;;;;;;;;EAE5F,CAA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OAAO,2CAA2C,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static-build-files.test.d.ts","sourceRoot":"","sources":["../../../../../src/orpc-client/docs-ledger/__test__/static-build-files.test.ts"],"names":[],"mappings":""}
|