@fern-api/go-dynamic-snippets 0.0.11 → 0.0.13

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.
Files changed (81) hide show
  1. package/cjs/DynamicSnippetsGenerator.cjs +15 -15
  2. package/cjs/DynamicSnippetsGenerator.d.cts +6 -9
  3. package/{esm/DynamicSnippetsGeneratorContext-DKWsHJSo.d.ts → cjs/DynamicSnippetsGeneratorContext-lz2pTZw3.d.cts} +30 -67
  4. package/cjs/EndpointSnippetGenerator.cjs +7 -7
  5. package/cjs/EndpointSnippetGenerator.d.cts +8 -10
  6. package/cjs/context/DynamicSnippetsGeneratorContext.cjs +15 -15
  7. package/cjs/context/DynamicSnippetsGeneratorContext.d.cts +2 -5
  8. package/cjs/context/DynamicTypeInstantiationMapper.cjs +15 -15
  9. package/cjs/context/DynamicTypeInstantiationMapper.d.cts +2 -5
  10. package/cjs/context/DynamicTypeMapper.cjs +6 -6
  11. package/cjs/context/DynamicTypeMapper.d.cts +2 -5
  12. package/cjs/context/FilePropertyMapper.cjs +7 -7
  13. package/cjs/context/FilePropertyMapper.d.cts +2 -5
  14. package/cjs/index.cjs +22 -22
  15. package/cjs/index.d.cts +2 -5
  16. package/esm/DynamicSnippetsGenerator.d.ts +6 -9
  17. package/esm/DynamicSnippetsGenerator.js +1 -1
  18. package/{cjs/DynamicSnippetsGeneratorContext-DuDerGxa.d.cts → esm/DynamicSnippetsGeneratorContext-lz2pTZw3.d.ts} +30 -67
  19. package/esm/EndpointSnippetGenerator.d.ts +8 -10
  20. package/esm/EndpointSnippetGenerator.js +1 -1
  21. package/esm/chunk-25QU7TNW.js +1 -0
  22. package/esm/chunk-2GO4GGHE.js +1 -0
  23. package/esm/chunk-45WV72IW.js +1 -0
  24. package/esm/chunk-IHGUMUOY.js +1 -0
  25. package/esm/chunk-IMHG3M62.js +1 -0
  26. package/esm/chunk-P4OQRDWB.js +1 -0
  27. package/esm/chunk-W5QUFHNP.js +29 -0
  28. package/esm/chunk-WXCSO57K.js +1 -0
  29. package/esm/context/DynamicSnippetsGeneratorContext.d.ts +2 -5
  30. package/esm/context/DynamicSnippetsGeneratorContext.js +1 -1
  31. package/esm/context/DynamicTypeInstantiationMapper.d.ts +2 -5
  32. package/esm/context/DynamicTypeInstantiationMapper.js +1 -1
  33. package/esm/context/DynamicTypeMapper.d.ts +2 -5
  34. package/esm/context/DynamicTypeMapper.js +1 -1
  35. package/esm/context/FilePropertyMapper.d.ts +2 -5
  36. package/esm/context/FilePropertyMapper.js +1 -1
  37. package/esm/index.d.ts +2 -5
  38. package/esm/index.js +5 -5
  39. package/package.json +2 -2
  40. package/cjs/DiscriminatedUnionTypeInstance.cjs +0 -11
  41. package/cjs/DiscriminatedUnionTypeInstance.d.cts +0 -12
  42. package/cjs/Result.cjs +0 -11
  43. package/cjs/Result.d.cts +0 -23
  44. package/cjs/Scope.cjs +0 -11
  45. package/cjs/Scope.d.cts +0 -9
  46. package/cjs/TypeInstance.cjs +0 -11
  47. package/cjs/TypeInstance.d.cts +0 -15
  48. package/cjs/context/ErrorReporter.cjs +0 -11
  49. package/cjs/context/ErrorReporter.d.cts +0 -39
  50. package/esm/DiscriminatedUnionTypeInstance.d.ts +0 -12
  51. package/esm/DiscriminatedUnionTypeInstance.js +0 -1
  52. package/esm/Result.d.ts +0 -23
  53. package/esm/Result.js +0 -1
  54. package/esm/Scope.d.ts +0 -9
  55. package/esm/Scope.js +0 -1
  56. package/esm/TypeInstance.d.ts +0 -15
  57. package/esm/TypeInstance.js +0 -1
  58. package/esm/chunk-2AZXIWKY.js +0 -11
  59. package/esm/chunk-4PKXKUYU.js +0 -1
  60. package/esm/chunk-5TA7XQOD.js +0 -1
  61. package/esm/chunk-5XUC5IOB.js +0 -1
  62. package/esm/chunk-6JCPJA27.js +0 -1
  63. package/esm/chunk-775WBLQ5.js +0 -1
  64. package/esm/chunk-BC35GX6S.js +0 -1
  65. package/esm/chunk-COBOWL3P.js +0 -1
  66. package/esm/chunk-E5FOYV6P.js +0 -19
  67. package/esm/chunk-I3J7ADQS.js +0 -1
  68. package/esm/chunk-IIKN6XQS.js +0 -1
  69. package/esm/chunk-IQODEXPX.js +0 -1
  70. package/esm/chunk-KJOW5AZT.js +0 -1
  71. package/esm/chunk-LLE63BZO.js +0 -1
  72. package/esm/chunk-SUV3YIZ5.js +0 -1
  73. package/esm/chunk-UVYC4FWB.js +0 -1
  74. package/esm/chunk-VAYOWHUI.js +0 -19
  75. package/esm/chunk-VLNKANS2.js +0 -1
  76. package/esm/chunk-ZI6CAI2V.js +0 -1
  77. package/esm/chunk-ZQRLKIRW.js +0 -1
  78. package/esm/chunk-ZXKMRXFM.js +0 -1
  79. package/esm/chunk-ZYGZ4VN4.js +0 -1
  80. package/esm/context/ErrorReporter.d.ts +0 -39
  81. package/esm/context/ErrorReporter.js +0 -1
@@ -1,39 +0,0 @@
1
- declare const Severity: {
2
- readonly Critical: "CRITICAL";
3
- readonly Warning: "WARNING";
4
- };
5
- interface Error_ {
6
- severity: "CRITICAL" | "WARNING";
7
- path: string[] | undefined;
8
- message: string;
9
- }
10
- declare namespace ErrorReporter {
11
- type Path = readonly PathItem[];
12
- type PathItem = string | ArrayPathItem;
13
- type Severity = typeof Severity[keyof typeof Severity];
14
- interface ArrayPathItem {
15
- index: number;
16
- }
17
- interface Error {
18
- path?: Path;
19
- severity: Severity;
20
- message: string;
21
- }
22
- }
23
- declare class ErrorReporter {
24
- private errors;
25
- private path;
26
- constructor();
27
- add(err: Omit<ErrorReporter.Error, "path">): void;
28
- scope(path: ErrorReporter.PathItem): void;
29
- unscope(): void;
30
- getBySeverity(severity: ErrorReporter.Severity): ErrorReporter.Error[];
31
- empty(): boolean;
32
- size(): number;
33
- clone(): ErrorReporter;
34
- reset(): void;
35
- toDynamicSnippetErrors(): Error_[];
36
- private pathToStringArray;
37
- }
38
-
39
- export { ErrorReporter, Severity };
@@ -1 +0,0 @@
1
- import{a,b}from"../chunk-ZI6CAI2V.js";import"../chunk-2AZXIWKY.js";export{b as ErrorReporter,a as Severity};