@fern-api/fdr-sdk 1.1.7-45ebcd86eb → 1.1.7-97cbb284fe

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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=contract.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/orpc-client/docs/v2/library-docs/__test__/contract.test.ts"],"names":[],"mappings":""}
@@ -1,7 +1,12 @@
1
1
  import * as z from "zod";
2
+ /**
3
+ * Validates that a URL is a valid GitHub or GitLab repository URL.
4
+ * Only allows https://github.com/<owner>/<repo> and https://gitlab.com/<owner>/<repo> patterns.
5
+ */
6
+ export declare const GithubUrlSchema: z.ZodEffects<z.ZodString, string, string>;
2
7
  export declare const LibraryDocsBaseConfigSchema: z.ZodObject<{
3
8
  branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
- packagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ packagePath: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
5
10
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
11
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
12
  }, "strip", z.ZodTypeAny, {
@@ -17,7 +22,7 @@ export declare const LibraryDocsBaseConfigSchema: z.ZodObject<{
17
22
  }>;
18
23
  export declare const PythonLibraryDocsConfigSchema: z.ZodObject<{
19
24
  branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- packagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ packagePath: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
21
26
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
27
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
28
  }, "strip", z.ZodTypeAny, {
@@ -33,7 +38,7 @@ export declare const PythonLibraryDocsConfigSchema: z.ZodObject<{
33
38
  }>;
34
39
  export declare const CppLibraryDocsConfigSchema: z.ZodObject<{
35
40
  branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- packagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ packagePath: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
37
42
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
43
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
44
  } & {
@@ -53,11 +58,11 @@ export declare const CppLibraryDocsConfigSchema: z.ZodObject<{
53
58
  }>;
54
59
  export declare const StartLibraryDocsGenerationInputSchema: z.ZodDiscriminatedUnion<"language", [z.ZodObject<{
55
60
  orgId: z.ZodString;
56
- githubUrl: z.ZodString;
61
+ githubUrl: z.ZodEffects<z.ZodString, string, string>;
57
62
  language: z.ZodLiteral<"PYTHON">;
58
63
  config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
59
64
  branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- packagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ packagePath: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
61
66
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
67
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
68
  }, "strip", z.ZodTypeAny, {
@@ -93,11 +98,11 @@ export declare const StartLibraryDocsGenerationInputSchema: z.ZodDiscriminatedUn
93
98
  } | null | undefined;
94
99
  }>, z.ZodObject<{
95
100
  orgId: z.ZodString;
96
- githubUrl: z.ZodString;
101
+ githubUrl: z.ZodEffects<z.ZodString, string, string>;
97
102
  language: z.ZodLiteral<"CPP">;
98
103
  config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
99
104
  branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
- packagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ packagePath: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
101
106
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
107
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
108
  } & {
@@ -202,11 +207,11 @@ export declare const LibraryDocsGenerationStatusSchema: z.ZodObject<{
202
207
  export declare const libraryDocsContract: {
203
208
  startLibraryDocsGeneration: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodDiscriminatedUnion<"language", [z.ZodObject<{
204
209
  orgId: z.ZodString;
205
- githubUrl: z.ZodString;
210
+ githubUrl: z.ZodEffects<z.ZodString, string, string>;
206
211
  language: z.ZodLiteral<"PYTHON">;
207
212
  config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
208
213
  branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
- packagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
+ packagePath: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
210
215
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
216
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
217
  }, "strip", z.ZodTypeAny, {
@@ -242,11 +247,11 @@ export declare const libraryDocsContract: {
242
247
  } | null | undefined;
243
248
  }>, z.ZodObject<{
244
249
  orgId: z.ZodString;
245
- githubUrl: z.ZodString;
250
+ githubUrl: z.ZodEffects<z.ZodString, string, string>;
246
251
  language: z.ZodLiteral<"CPP">;
247
252
  config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
248
253
  branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
- packagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
+ packagePath: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
250
255
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
256
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
257
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../../../src/orpc-client/docs/v2/library-docs/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAA8B,CAAC;AAEzE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAahD,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;EAEnD,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY5C,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/B,CAAC"}
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../../../src/orpc-client/docs/v2/library-docs/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB;;;GAGG;AACH,eAAO,MAAM,eAAe,2CA4BvB,CAAC;AAgBN,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAA8B,CAAC;AAEzE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAahD,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;EAEnD,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY5C,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/fdr-sdk",
3
- "version": "1.1.7-45ebcd86eb",
3
+ "version": "1.1.7-97cbb284fe",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern-platform.git",
@@ -99,7 +99,7 @@
99
99
  "ts-essentials": "^10.0.4",
100
100
  "url-join": "^5.0.0",
101
101
  "zod": "^3.25.49",
102
- "@fern-api/ui-core-utils": "1.1.7-45ebcd86eb"
102
+ "@fern-api/ui-core-utils": "1.1.7-97cbb284fe"
103
103
  },
104
104
  "devDependencies": {
105
105
  "@babel/core": "^7.26.9",
@@ -112,8 +112,8 @@
112
112
  "tsup": "^8.5.1",
113
113
  "typescript": "^5",
114
114
  "vitest": "^3.2.4",
115
- "@fern-api/snippets": "0.0.1",
116
- "@fern-platform/configs": "0.1.0"
115
+ "@fern-platform/configs": "0.1.0",
116
+ "@fern-api/snippets": "0.0.1"
117
117
  },
118
118
  "scripts": {
119
119
  "check-types": "tsc --noEmit",