@fern-api/fdr-sdk 1.2.92-bd650af30b → 1.2.93-0a7dc0792a
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 +3 -3
|
@@ -1538,7 +1538,8 @@ var RegisterWebSocketChannelSchema = z3.object({
|
|
|
1538
1538
|
headers: z3.array(HeaderSchema),
|
|
1539
1539
|
queryParameters: z3.array(QueryParameterSchema),
|
|
1540
1540
|
messages: z3.array(WebSocketMessageSchema),
|
|
1541
|
-
examples: z3.array(ExampleWebSocketSessionSchema)
|
|
1541
|
+
examples: z3.array(ExampleWebSocketSessionSchema),
|
|
1542
|
+
includeInApiExplorer: z3.boolean().nullish()
|
|
1542
1543
|
});
|
|
1543
1544
|
var SourceIdSchema = z3.string();
|
|
1544
1545
|
var SourceSchema = z3.discriminatedUnion("type", [
|
|
@@ -2139,7 +2140,8 @@ var LatestWebSocketChannelSchema = z4.object({
|
|
|
2139
2140
|
pathParameters: z4.array(LatestParameterPropertySchema).nullish(),
|
|
2140
2141
|
queryParameters: z4.array(LatestParameterPropertySchema).nullish(),
|
|
2141
2142
|
requestHeaders: z4.array(LatestObjectPropertySchema).nullish(),
|
|
2142
|
-
examples: z4.array(LatestExampleWebSocketSessionSchema).nullish()
|
|
2143
|
+
examples: z4.array(LatestExampleWebSocketSessionSchema).nullish(),
|
|
2144
|
+
includeInApiExplorer: z4.boolean().nullish()
|
|
2143
2145
|
});
|
|
2144
2146
|
var LatestSubpackageMetadataSchema = z4.object({
|
|
2145
2147
|
id: SubpackageIdSchema,
|
|
@@ -4296,7 +4298,8 @@ var ApiDefinitionV1ToLatest = class _ApiDefinitionV1ToLatest {
|
|
|
4296
4298
|
pathParameters: this.migratePathOrQueryParameters(v1?.path?.pathParameters),
|
|
4297
4299
|
queryParameters: this.migratePathOrQueryParameters(v1?.queryParameters),
|
|
4298
4300
|
requestHeaders: this.migrateParameters(v1?.headers),
|
|
4299
|
-
examples: this.migrateChannelExamples(v1?.examples, messages)
|
|
4301
|
+
examples: this.migrateChannelExamples(v1?.examples, messages),
|
|
4302
|
+
includeInApiExplorer: v1?.includeInApiExplorer ?? true
|
|
4300
4303
|
};
|
|
4301
4304
|
};
|
|
4302
4305
|
migrateWebhook = (id, v1, namespace) => {
|