@fern-api/fdr-sdk 1.1.26-aaa1152cda → 1.1.28-306b323376
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-lite/index.js +680 -0
- package/dist/js/api-definition-lite/index.js.map +1 -0
- package/dist/js/api-definition-lite/index.mjs +634 -0
- package/dist/js/api-definition-lite/index.mjs.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/api-definition-lite/index.d.ts +17 -0
- package/dist/types/api-definition-lite/index.d.ts.map +1 -0
- package/package.json +7 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lightweight entry point for client-side API reference rendering.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports only the functions and types needed by "use client" components
|
|
5
|
+
* that render endpoint pages (type definitions, URL building, status messages).
|
|
6
|
+
* Excludes heavy server-only modules: transformer, v1ToV2 migrator, snippet
|
|
7
|
+
* generators, type-tree collectors, etc.
|
|
8
|
+
*/
|
|
9
|
+
export type { EndpointContext, GrpcContext, WebhookContext, WebSocketContext } from "../api-definition/endpoint-context";
|
|
10
|
+
export { toColonEndpointPathLiteral, toCurlyBraceEndpointPathLiteral } from "../api-definition/endpoint-path-literal";
|
|
11
|
+
export type { ApiDefinition, AuthScheme, Availability, DiscriminatedUnionType, DiscriminatedUnionVariant, EndpointDefinition, EnumType, EnumValue, ErrorResponse, ExampleEndpointCall, ExampleEndpointRequest, ExampleEndpointResponse, ExampleWebSocketSession, FormDataField, GraphQlOperation, HttpMethod, HttpRequest, HttpRequestBodyShape, HttpResponse, HttpResponseBodyShape, ObjectProperty, ObjectPropertyAccess, ObjectType, ParameterProperty, PathPart, PrimitiveType, Protocol, SubpackageMetadata, TypeDefinition, TypeId, TypeReference, TypeShape, UndiscriminatedUnionType, UndiscriminatedUnionVariant, WebhookDefinition, WebhookPayload, WebhookPayloadShape, WebSocketChannel, WebSocketMessage } from "../api-definition/latest";
|
|
12
|
+
export { getMessageForStatus, STATUS_CODE_MESSAGES } from "../api-definition/status-message";
|
|
13
|
+
export type { DereferencedNonOptionalTypeShapeOrReference, TypeShapeOrReference } from "../api-definition/types";
|
|
14
|
+
export { type UnwrappedObjectType, type UnwrappedReference, unwrapDiscriminatedUnionVariant, unwrapObjectType, unwrapReference } from "../api-definition/unwrap";
|
|
15
|
+
export { buildEndpointUrl, buildRequestUrl, preprocessQueryParameters } from "../api-definition/url";
|
|
16
|
+
export type { AuthSchemeId, EndpointId, EnvironmentId, PropertyKey } from "../orpc-client/api/shared.js";
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api-definition-lite/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,YAAY,EACR,eAAe,EACf,WAAW,EACX,cAAc,EACd,gBAAgB,EACnB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAEtH,YAAY,EACR,aAAa,EACb,UAAU,EACV,YAAY,EACZ,sBAAsB,EACtB,yBAAyB,EACzB,kBAAkB,EAClB,QAAQ,EACR,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,cAAc,EACd,MAAM,EACN,aAAa,EACb,SAAS,EACT,wBAAwB,EACxB,2BAA2B,EAC3B,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EACnB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAE7F,YAAY,EAAE,2CAA2C,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEjH,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,+BAA+B,EAC/B,gBAAgB,EAChB,eAAe,EAClB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAGrG,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fern-api/fdr-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.28-306b323376",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/fern-api/fern-platform.git",
|
|
@@ -21,6 +21,12 @@
|
|
|
21
21
|
"require": "./dist/js/api-definition/index.js",
|
|
22
22
|
"default": "./dist/js/api-definition/index.mjs"
|
|
23
23
|
},
|
|
24
|
+
"./api-definition-lite": {
|
|
25
|
+
"types": "./dist/types/api-definition-lite/index.d.ts",
|
|
26
|
+
"import": "./dist/js/api-definition-lite/index.mjs",
|
|
27
|
+
"require": "./dist/js/api-definition-lite/index.js",
|
|
28
|
+
"default": "./dist/js/api-definition-lite/index.mjs"
|
|
29
|
+
},
|
|
24
30
|
"./docs": {
|
|
25
31
|
"types": "./dist/types/docs/index.d.ts",
|
|
26
32
|
"import": "./dist/js/docs/index.mjs",
|