typia 7.0.0-dev.20240922 → 7.0.0-dev.20240924

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.
@@ -26,7 +26,7 @@ export declare namespace FeatureProgrammer {
26
26
  /**
27
27
  * Initializer of metadata.
28
28
  */
29
- initializer: (project: ITypiaContext) => (importer: FunctionImporter) => (type: ts.Type) => [MetadataCollection, Metadata];
29
+ initializer: (context: ITypiaContext) => (importer: FunctionImporter) => (type: ts.Type) => [MetadataCollection, Metadata];
30
30
  /**
31
31
  * Decoder, station of every types.
32
32
  */
@@ -165,7 +165,7 @@ export declare namespace FeatureProgrammer {
165
165
  importer: FunctionImporter;
166
166
  result: IDecomposed;
167
167
  }) => ts.CallExpression;
168
- const write: (project: ITypiaContext) => (config: IConfig) => (importer: FunctionImporter) => (type: ts.Type, name?: string) => ts.ArrowFunction;
168
+ const write: (context: ITypiaContext) => (config: IConfig) => (importer: FunctionImporter) => (type: ts.Type, name?: string) => ts.ArrowFunction;
169
169
  const write_object_functions: (config: IConfig) => (importer: FunctionImporter) => (collection: MetadataCollection) => ts.VariableStatement[];
170
170
  const write_union_functions: (config: IConfig) => (collection: MetadataCollection) => ts.VariableStatement[];
171
171
  const decode_array: (config: Pick<IConfig, "trace" | "path" | "decoder" | "prefix">) => (importer: FunctionImporter) => (combiner: (props: {
@@ -84,12 +84,12 @@ var FeatureProgrammer;
84
84
  typescript_1.default.factory.createReturnStatement(props.result.arrow),
85
85
  ], false))), undefined, undefined);
86
86
  };
87
- FeatureProgrammer.write = function (project) {
87
+ FeatureProgrammer.write = function (context) {
88
88
  return function (config) {
89
89
  return function (importer) {
90
90
  return function (type, name) {
91
91
  var _a, _b, _c, _d, _e, _f, _g;
92
- var _h = __read(config.initializer(project)(importer)(type), 2), collection = _h[0], meta = _h[1];
92
+ var _h = __read(config.initializer(context)(importer)(type), 2), collection = _h[0], meta = _h[1];
93
93
  // ITERATE OVER ALL METADATA
94
94
  var output = config.decoder()(ValueFactory_1.ValueFactory.INPUT(), meta, {
95
95
  tracable: config.path || config.trace,