@fern-api/fdr-sdk 1.2.92-44ed75bcdd → 1.2.92-64cea478ee
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 +6 -3
- package/dist/js/api-definition/index.js.map +1 -1
- package/dist/js/api-definition/index.mjs +6 -3
- package/dist/js/api-definition/index.mjs.map +1 -1
- package/dist/js/client/FdrClient.js +6 -3
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +6 -3
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/client/types.js +6 -3
- package/dist/js/client/types.js.map +1 -1
- package/dist/js/client/types.mjs +6 -3
- package/dist/js/client/types.mjs.map +1 -1
- package/dist/js/converters/index.js +10 -5
- package/dist/js/converters/index.js.map +1 -1
- package/dist/js/converters/index.mjs +10 -5
- package/dist/js/converters/index.mjs.map +1 -1
- package/dist/js/index.js +10 -5
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +10 -5
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/navigation/index.js +8 -4
- package/dist/js/navigation/index.js.map +1 -1
- package/dist/js/navigation/index.mjs +8 -4
- package/dist/js/navigation/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +6 -3
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +6 -3
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/api-definition/migrators/v1ToV2.d.ts.map +1 -1
- package/dist/types/converters/__test__/websocket-explorer-round-trip.test.d.ts +2 -0
- package/dist/types/converters/__test__/websocket-explorer-round-trip.test.d.ts.map +1 -0
- package/dist/types/converters/db/convertAPIDefinitionToDb.d.ts.map +1 -1
- package/dist/types/converters/read/convertDbAPIDefinitionToRead.d.ts +2 -0
- package/dist/types/converters/read/convertDbAPIDefinitionToRead.d.ts.map +1 -1
- package/dist/types/navigation/utils/toApis.d.ts +1 -0
- package/dist/types/navigation/utils/toApis.d.ts.map +1 -1
- package/dist/types/orpc-client/api/contract-db.d.ts +24 -0
- package/dist/types/orpc-client/api/contract-db.d.ts.map +1 -1
- package/dist/types/orpc-client/api/contract-latest.d.ts +13 -0
- package/dist/types/orpc-client/api/contract-latest.d.ts.map +1 -1
- package/dist/types/orpc-client/api/contract-read.d.ts +27 -0
- package/dist/types/orpc-client/api/contract-read.d.ts.map +1 -1
- package/dist/types/orpc-client/api/contract-register.d.ts +27 -0
- package/dist/types/orpc-client/api/contract-register.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1758,7 +1758,8 @@ var RegisterWebSocketChannelSchema = z3.object({
|
|
|
1758
1758
|
headers: z3.array(HeaderSchema),
|
|
1759
1759
|
queryParameters: z3.array(QueryParameterSchema),
|
|
1760
1760
|
messages: z3.array(WebSocketMessageSchema),
|
|
1761
|
-
examples: z3.array(ExampleWebSocketSessionSchema)
|
|
1761
|
+
examples: z3.array(ExampleWebSocketSessionSchema),
|
|
1762
|
+
includeInApiExplorer: z3.boolean().nullish()
|
|
1762
1763
|
});
|
|
1763
1764
|
var SourceIdSchema = z3.string();
|
|
1764
1765
|
var SourceSchema = z3.discriminatedUnion("type", [
|
|
@@ -2359,7 +2360,8 @@ var LatestWebSocketChannelSchema = z4.object({
|
|
|
2359
2360
|
pathParameters: z4.array(LatestParameterPropertySchema).nullish(),
|
|
2360
2361
|
queryParameters: z4.array(LatestParameterPropertySchema).nullish(),
|
|
2361
2362
|
requestHeaders: z4.array(LatestObjectPropertySchema).nullish(),
|
|
2362
|
-
examples: z4.array(LatestExampleWebSocketSessionSchema).nullish()
|
|
2363
|
+
examples: z4.array(LatestExampleWebSocketSessionSchema).nullish(),
|
|
2364
|
+
includeInApiExplorer: z4.boolean().nullish()
|
|
2363
2365
|
});
|
|
2364
2366
|
var LatestSubpackageMetadataSchema = z4.object({
|
|
2365
2367
|
id: SubpackageIdSchema,
|
|
@@ -4516,7 +4518,8 @@ var ApiDefinitionV1ToLatest = class _ApiDefinitionV1ToLatest {
|
|
|
4516
4518
|
pathParameters: this.migratePathOrQueryParameters(v1?.path?.pathParameters),
|
|
4517
4519
|
queryParameters: this.migratePathOrQueryParameters(v1?.queryParameters),
|
|
4518
4520
|
requestHeaders: this.migrateParameters(v1?.headers),
|
|
4519
|
-
examples: this.migrateChannelExamples(v1?.examples, messages)
|
|
4521
|
+
examples: this.migrateChannelExamples(v1?.examples, messages),
|
|
4522
|
+
includeInApiExplorer: v1?.includeInApiExplorer ?? true
|
|
4520
4523
|
};
|
|
4521
4524
|
};
|
|
4522
4525
|
migrateWebhook = (id, v1, namespace) => {
|