@fern-api/fdr-sdk 1.2.66-c0946d299a → 1.2.67-b2aaf48f74
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/js/api-definition/index.js +7 -3
- package/dist/js/api-definition/index.js.map +1 -1
- package/dist/js/api-definition/index.mjs +7 -3
- package/dist/js/api-definition/index.mjs.map +1 -1
- package/dist/js/client/FdrClient.js +21 -4
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +21 -4
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/client/types.js +6 -2
- package/dist/js/client/types.js.map +1 -1
- package/dist/js/client/types.mjs +6 -2
- package/dist/js/client/types.mjs.map +1 -1
- package/dist/js/converters/index.js +13 -5
- package/dist/js/converters/index.js.map +1 -1
- package/dist/js/converters/index.mjs +13 -5
- package/dist/js/converters/index.mjs.map +1 -1
- package/dist/js/docs/index.js +6 -2
- package/dist/js/docs/index.js.map +1 -1
- package/dist/js/docs/index.mjs +6 -2
- package/dist/js/docs/index.mjs.map +1 -1
- package/dist/js/index.js +28 -7
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +28 -7
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/navigation/index.js +13 -5
- package/dist/js/navigation/index.js.map +1 -1
- package/dist/js/navigation/index.mjs +13 -5
- package/dist/js/navigation/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +38 -4
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +35 -4
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/api-definition/prune.d.ts.map +1 -1
- package/dist/types/client/docs-types/db.d.ts +108 -0
- package/dist/types/client/docs-types/db.d.ts.map +1 -1
- package/dist/types/client/docs-types/read.d.ts +48 -0
- package/dist/types/client/docs-types/read.d.ts.map +1 -1
- package/dist/types/client/docs-types/shared.d.ts +11 -0
- package/dist/types/client/docs-types/shared.d.ts.map +1 -1
- package/dist/types/client/docs-types/write.d.ts +28 -0
- package/dist/types/client/docs-types/write.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v1/read/contract.d.ts +32 -0
- package/dist/types/orpc-client/docs/v1/read/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v1/write/contract.d.ts +8 -0
- package/dist/types/orpc-client/docs/v1/write/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/read/contract.d.ts +72 -0
- package/dist/types/orpc-client/docs/v2/read/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/write/contract.d.ts +16 -0
- package/dist/types/orpc-client/docs/v2/write/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +208 -0
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts +12037 -0
- package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/js/orpc-client.mjs
CHANGED
|
@@ -2486,7 +2486,10 @@ var CssConfigSchema = z10.object({
|
|
|
2486
2486
|
var JsScriptStrategySchema = z10.enum(["beforeInteractive", "afterInteractive", "lazyOnload"]);
|
|
2487
2487
|
var JsRemoteConfigSchema = z10.object({
|
|
2488
2488
|
url: UrlSchema2,
|
|
2489
|
-
strategy: JsScriptStrategySchema.optional()
|
|
2489
|
+
strategy: JsScriptStrategySchema.optional(),
|
|
2490
|
+
// When true, skip computing a Subresource Integrity (SRI) hash for this
|
|
2491
|
+
// remote script so it is rendered without an `integrity` attribute.
|
|
2492
|
+
disableSri: z10.boolean().optional()
|
|
2490
2493
|
});
|
|
2491
2494
|
var JsFileConfigSchema = z10.object({
|
|
2492
2495
|
fileId: FileIdSchema2,
|
|
@@ -2566,7 +2569,8 @@ var AIChatConfigSchema = z10.object({
|
|
|
2566
2569
|
model: AIModelSchema.optional(),
|
|
2567
2570
|
systemPrompt: z10.string().optional(),
|
|
2568
2571
|
location: z10.array(AIChatLocationSchema).optional(),
|
|
2569
|
-
datasources: z10.array(AIChatDatasourceSchema).optional()
|
|
2572
|
+
datasources: z10.array(AIChatDatasourceSchema).optional(),
|
|
2573
|
+
maskPii: z10.boolean().optional()
|
|
2570
2574
|
});
|
|
2571
2575
|
var PageDescriptionSourceSchema = z10.enum(["description", "subtitle"]);
|
|
2572
2576
|
var AgentsConfigSchema = z10.object({
|
|
@@ -3854,7 +3858,8 @@ var LedgerJsConfigSchema = z21.object({
|
|
|
3854
3858
|
remote: z21.array(
|
|
3855
3859
|
z21.object({
|
|
3856
3860
|
url: z21.string(),
|
|
3857
|
-
strategy: z21.enum(["beforeInteractive", "afterInteractive", "lazyOnload"]).optional()
|
|
3861
|
+
strategy: z21.enum(["beforeInteractive", "afterInteractive", "lazyOnload"]).optional(),
|
|
3862
|
+
disableSri: z21.boolean().optional()
|
|
3858
3863
|
})
|
|
3859
3864
|
).optional(),
|
|
3860
3865
|
files: z21.array(LedgerJsFileSchema).optional(),
|
|
@@ -4131,8 +4136,20 @@ var LedgerFileArtifactMetadataSchema = LedgerMetadataBaseSchema.extend({
|
|
|
4131
4136
|
height: z21.number().optional(),
|
|
4132
4137
|
blurDataURL: z21.string().optional()
|
|
4133
4138
|
});
|
|
4139
|
+
var LedgerStructuralRedirectKindSchema = z21.enum([
|
|
4140
|
+
"root",
|
|
4141
|
+
"product",
|
|
4142
|
+
"version",
|
|
4143
|
+
"variant",
|
|
4144
|
+
"tab",
|
|
4145
|
+
"section",
|
|
4146
|
+
"api-section"
|
|
4147
|
+
]);
|
|
4148
|
+
var LedgerRedirectKindSchema = z21.enum(["structural", "link"]);
|
|
4134
4149
|
var LedgerRedirectMetadataSchema = LedgerMetadataBaseSchema.extend({
|
|
4135
|
-
href: z21.string().optional()
|
|
4150
|
+
href: z21.string().optional(),
|
|
4151
|
+
redirectKind: LedgerRedirectKindSchema.optional(),
|
|
4152
|
+
structuralKind: LedgerStructuralRedirectKindSchema.optional()
|
|
4136
4153
|
});
|
|
4137
4154
|
var LedgerArtifactMetadataSchema = z21.union([
|
|
4138
4155
|
LedgerMarkdownMetadataSchema,
|
|
@@ -6022,6 +6039,17 @@ var LedgerManifestSchema = z33.object({
|
|
|
6022
6039
|
chrome: LedgerChromeBlobSchema,
|
|
6023
6040
|
locales: z33.record(z33.string(), LedgerLocaleRoutingSchema)
|
|
6024
6041
|
});
|
|
6042
|
+
var LedgerSiteArtifactSchema = z33.union([
|
|
6043
|
+
z33.object({
|
|
6044
|
+
schema: z33.literal(LEDGER_MANIFEST_SCHEMA_VERSION),
|
|
6045
|
+
unpublished: z33.literal(true),
|
|
6046
|
+
orgId: z33.string(),
|
|
6047
|
+
domain: z33.string(),
|
|
6048
|
+
basepath: z33.string(),
|
|
6049
|
+
isPreview: z33.boolean()
|
|
6050
|
+
}),
|
|
6051
|
+
LedgerManifestSchema
|
|
6052
|
+
]);
|
|
6025
6053
|
|
|
6026
6054
|
// src/orpc-client/docs-ledger/stable-stringify.ts
|
|
6027
6055
|
function stableStringify(value) {
|
|
@@ -6421,6 +6449,7 @@ export {
|
|
|
6421
6449
|
LedgerPointerSegmentSchema,
|
|
6422
6450
|
LedgerPreviewRegisterInputSchema,
|
|
6423
6451
|
LedgerPreviewRegisterResponseSchema,
|
|
6452
|
+
LedgerRedirectKindSchema,
|
|
6424
6453
|
LedgerRedirectMetadataSchema,
|
|
6425
6454
|
LedgerRestMetadataSchema,
|
|
6426
6455
|
LedgerRouteShardSchema,
|
|
@@ -6429,6 +6458,8 @@ export {
|
|
|
6429
6458
|
LedgerShardFileSchema,
|
|
6430
6459
|
LedgerSidebarBundleSchema,
|
|
6431
6460
|
LedgerSidebarMapEntrySchema,
|
|
6461
|
+
LedgerSiteArtifactSchema,
|
|
6462
|
+
LedgerStructuralRedirectKindSchema,
|
|
6432
6463
|
LedgerWebSocketMetadataSchema,
|
|
6433
6464
|
LedgerWebhookMetadataSchema,
|
|
6434
6465
|
LibraryDocsBaseConfigSchema,
|