@fern-api/fdr-sdk 1.2.174-d4501f54c4 → 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
|
@@ -50635,6 +50635,72 @@ export type ReindexInput = z.output<typeof ReindexInputSchema>;
|
|
|
50635
50635
|
export type ReindexResponse = z.infer<typeof ReindexResponseSchema>;
|
|
50636
50636
|
export type PromoteStaticBuildInput = z.output<typeof PromoteStaticBuildInputSchema>;
|
|
50637
50637
|
export type PromoteStaticBuildResponse = z.infer<typeof PromoteStaticBuildResponseSchema>;
|
|
50638
|
+
/**
|
|
50639
|
+
* Input for `GET /static-build/files`: one page of the files a site's live
|
|
50640
|
+
* static build serves, for downloading the site. The caller must belong to the
|
|
50641
|
+
* org that owns the site.
|
|
50642
|
+
*/
|
|
50643
|
+
export declare const ListStaticBuildFilesInputSchema: z.ZodObject<{
|
|
50644
|
+
domain: z.ZodString;
|
|
50645
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
50646
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
50647
|
+
/** `nextCursor` of the previous page; absent for the first page. */
|
|
50648
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
50649
|
+
}, "strip", z.ZodTypeAny, {
|
|
50650
|
+
domain: string;
|
|
50651
|
+
basepath: string;
|
|
50652
|
+
cursor?: string | undefined;
|
|
50653
|
+
}, {
|
|
50654
|
+
domain: string;
|
|
50655
|
+
cursor?: string | undefined;
|
|
50656
|
+
basepath?: string | undefined;
|
|
50657
|
+
}>;
|
|
50658
|
+
export declare const StaticBuildFileSchema: z.ZodObject<{
|
|
50659
|
+
/** Path relative to the host root, e.g. `docs/quickstart/index.html`. */
|
|
50660
|
+
path: z.ZodString;
|
|
50661
|
+
/** Short-lived signed GET URL for the file. */
|
|
50662
|
+
url: z.ZodString;
|
|
50663
|
+
}, "strip", z.ZodTypeAny, {
|
|
50664
|
+
path: string;
|
|
50665
|
+
url: string;
|
|
50666
|
+
}, {
|
|
50667
|
+
path: string;
|
|
50668
|
+
url: string;
|
|
50669
|
+
}>;
|
|
50670
|
+
export declare const ListStaticBuildFilesResponseSchema: z.ZodObject<{
|
|
50671
|
+
buildId: z.ZodString;
|
|
50672
|
+
files: z.ZodArray<z.ZodObject<{
|
|
50673
|
+
/** Path relative to the host root, e.g. `docs/quickstart/index.html`. */
|
|
50674
|
+
path: z.ZodString;
|
|
50675
|
+
/** Short-lived signed GET URL for the file. */
|
|
50676
|
+
url: z.ZodString;
|
|
50677
|
+
}, "strip", z.ZodTypeAny, {
|
|
50678
|
+
path: string;
|
|
50679
|
+
url: string;
|
|
50680
|
+
}, {
|
|
50681
|
+
path: string;
|
|
50682
|
+
url: string;
|
|
50683
|
+
}>, "many">;
|
|
50684
|
+
/** Pass back to get the next page; absent on the last page. */
|
|
50685
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
50686
|
+
}, "strip", z.ZodTypeAny, {
|
|
50687
|
+
files: {
|
|
50688
|
+
path: string;
|
|
50689
|
+
url: string;
|
|
50690
|
+
}[];
|
|
50691
|
+
buildId: string;
|
|
50692
|
+
nextCursor?: string | undefined;
|
|
50693
|
+
}, {
|
|
50694
|
+
files: {
|
|
50695
|
+
path: string;
|
|
50696
|
+
url: string;
|
|
50697
|
+
}[];
|
|
50698
|
+
buildId: string;
|
|
50699
|
+
nextCursor?: string | undefined;
|
|
50700
|
+
}>;
|
|
50701
|
+
export type ListStaticBuildFilesInput = z.input<typeof ListStaticBuildFilesInputSchema>;
|
|
50702
|
+
export type StaticBuildFile = z.infer<typeof StaticBuildFileSchema>;
|
|
50703
|
+
export type ListStaticBuildFilesResponse = z.infer<typeof ListStaticBuildFilesResponseSchema>;
|
|
50638
50704
|
export type ResolveStaticServingHostInput = z.output<typeof ResolveStaticServingHostInputSchema>;
|
|
50639
50705
|
export type ResolveStaticServingHostResponse = z.infer<typeof ResolveStaticServingHostResponseSchema>;
|
|
50640
50706
|
export type LedgerPreviewRegisterResponse = z.infer<typeof LedgerPreviewRegisterResponseSchema>;
|
|
@@ -59037,6 +59103,52 @@ export declare const docsLedgerContract: {
|
|
|
59037
59103
|
routable: boolean;
|
|
59038
59104
|
deploymentId?: string | undefined;
|
|
59039
59105
|
}>, Record<never, never>, Record<never, never>>;
|
|
59106
|
+
/** Served by the read router; listed here so `createDocsLedgerClient` can call it. */
|
|
59107
|
+
listStaticBuildFiles: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
59108
|
+
domain: z.ZodString;
|
|
59109
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
59110
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
59111
|
+
/** `nextCursor` of the previous page; absent for the first page. */
|
|
59112
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
59113
|
+
}, "strip", z.ZodTypeAny, {
|
|
59114
|
+
domain: string;
|
|
59115
|
+
basepath: string;
|
|
59116
|
+
cursor?: string | undefined;
|
|
59117
|
+
}, {
|
|
59118
|
+
domain: string;
|
|
59119
|
+
cursor?: string | undefined;
|
|
59120
|
+
basepath?: string | undefined;
|
|
59121
|
+
}>, z.ZodObject<{
|
|
59122
|
+
buildId: z.ZodString;
|
|
59123
|
+
files: z.ZodArray<z.ZodObject<{
|
|
59124
|
+
/** Path relative to the host root, e.g. `docs/quickstart/index.html`. */
|
|
59125
|
+
path: z.ZodString;
|
|
59126
|
+
/** Short-lived signed GET URL for the file. */
|
|
59127
|
+
url: z.ZodString;
|
|
59128
|
+
}, "strip", z.ZodTypeAny, {
|
|
59129
|
+
path: string;
|
|
59130
|
+
url: string;
|
|
59131
|
+
}, {
|
|
59132
|
+
path: string;
|
|
59133
|
+
url: string;
|
|
59134
|
+
}>, "many">;
|
|
59135
|
+
/** Pass back to get the next page; absent on the last page. */
|
|
59136
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
59137
|
+
}, "strip", z.ZodTypeAny, {
|
|
59138
|
+
files: {
|
|
59139
|
+
path: string;
|
|
59140
|
+
url: string;
|
|
59141
|
+
}[];
|
|
59142
|
+
buildId: string;
|
|
59143
|
+
nextCursor?: string | undefined;
|
|
59144
|
+
}, {
|
|
59145
|
+
files: {
|
|
59146
|
+
path: string;
|
|
59147
|
+
url: string;
|
|
59148
|
+
}[];
|
|
59149
|
+
buildId: string;
|
|
59150
|
+
nextCursor?: string | undefined;
|
|
59151
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
59040
59152
|
getCustomHostname: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
59041
59153
|
/** A bare hostname (`docs.acme.com`); a scheme, path or port is rejected. */
|
|
59042
59154
|
host: z.ZodString;
|