quicktype-core 23.0.174 → 23.0.175

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.
@@ -4,7 +4,7 @@ import { type RenderContext } from "../../Renderer";
4
4
  import { type OptionValues } from "../../RendererOptions";
5
5
  import { type Sourcelike } from "../../Source";
6
6
  import { type TargetLanguage } from "../../TargetLanguage";
7
- import { ClassType, type Type } from "../../Type";
7
+ import { ClassType, EnumType, type Type, UnionType } from "../../Type";
8
8
  import { type elixirOptions } from "./language";
9
9
  export declare class ElixirRenderer extends ConvenienceRenderer {
10
10
  private readonly _options;
@@ -24,15 +24,15 @@ export declare class ElixirRenderer extends ConvenienceRenderer {
24
24
  private patternMatchClauseDecode;
25
25
  private patternMatchClauseEncode;
26
26
  private sortAndFilterPatternMatchTypes;
27
- private emitPatternMatches;
27
+ protected emitPatternMatches(types: Type[], name: Sourcelike, parentName: Sourcelike, suffix?: string, optional?: boolean): void;
28
28
  private nameOfTransformFunction;
29
29
  private fromDynamic;
30
30
  private toDynamic;
31
- private emitBlock;
31
+ protected emitBlock(source: Sourcelike, emit: () => void): void;
32
32
  protected emitDescriptionBlock(lines: Sourcelike[]): void;
33
- private emitModule;
33
+ protected emitModule(c: ClassType, moduleName: Name): void;
34
34
  private isValidAtom;
35
- private emitEnum;
36
- private emitUnion;
35
+ protected emitEnum(e: EnumType, enumName: Name): void;
36
+ protected emitUnion(_u: UnionType, _unionName: Name): void;
37
37
  protected emitSourceStructure(): void;
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.0.174",
3
+ "version": "23.0.175",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",