@goast/typescript 0.3.12 → 0.3.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.
- package/esm/lib/ast/node.js +1 -1
- package/esm/lib/ast/nodes/arrow-function.js +1 -1
- package/esm/lib/ast/nodes/call.js +1 -1
- package/esm/lib/ast/nodes/class.js +1 -1
- package/esm/lib/ast/nodes/constructor.js +1 -1
- package/esm/lib/ast/nodes/decorator.js +1 -1
- package/esm/lib/ast/nodes/doc-tag.js +1 -1
- package/esm/lib/ast/nodes/doc.js +1 -1
- package/esm/lib/ast/nodes/enum.js +1 -1
- package/esm/lib/ast/nodes/function-type.js +1 -1
- package/esm/lib/ast/nodes/function.js +1 -1
- package/esm/lib/ast/nodes/interface.js +1 -1
- package/esm/lib/ast/nodes/intersection-type.js +1 -1
- package/esm/lib/ast/nodes/method.js +1 -1
- package/esm/lib/ast/nodes/object-type.js +1 -1
- package/esm/lib/ast/nodes/object.js +1 -1
- package/esm/lib/ast/nodes/parameter.js +1 -1
- package/esm/lib/ast/nodes/property-accessor.js +1 -1
- package/esm/lib/ast/nodes/property.js +1 -1
- package/esm/lib/ast/nodes/reference.js +1 -1
- package/esm/lib/ast/nodes/tuple.js +1 -1
- package/esm/lib/ast/nodes/type-alias.js +1 -1
- package/esm/lib/ast/nodes/union-type.js +1 -1
- package/esm/lib/ast/utils/get-type-script-builder-options.js +1 -1
- package/esm/lib/ast/utils/write-ts-generic-parameters.js +1 -1
- package/esm/lib/ast/utils/write-ts-members.js +1 -1
- package/esm/lib/ast/utils/write-ts-nodes.js +1 -1
- package/esm/lib/ast/utils/write-ts-parameters.js +1 -1
- package/esm/lib/file-builder.js +1 -1
- package/esm/lib/generators/models/model-generator.js +1 -1
- package/esm/lib/generators/models/models-generator.js +1 -1
- package/esm/lib/generators/services/angular-services/angular-service-generator.js +1 -1
- package/esm/lib/generators/services/angular-services/angular-services-generator.js +1 -1
- package/esm/lib/generators/services/angular-services/refs.js +1 -1
- package/esm/lib/generators/services/easy-network-stub/easy-network-stub-generator.js +1 -1
- package/esm/lib/generators/services/easy-network-stub/easy-network-stubs-generator.js +1 -1
- package/esm/lib/generators/services/fetch-clients/fetch-client-generator.js +1 -1
- package/esm/lib/generators/services/fetch-clients/fetch-clients-generator.js +1 -1
- package/esm/lib/generators/services/k6-clients/k6-client-generator.js +1 -1
- package/esm/lib/generators/services/k6-clients/k6-clients-generator.js +1 -1
- package/esm/lib/import-collection.js +1 -1
- package/package.json +1 -1
- package/types/lib/ast/node.d.ts +1 -1
- package/types/lib/ast/nodes/argument.d.ts +1 -1
- package/types/lib/ast/nodes/array-type.d.ts +1 -1
- package/types/lib/ast/nodes/arrow-function.d.ts +1 -1
- package/types/lib/ast/nodes/call.d.ts +1 -1
- package/types/lib/ast/nodes/class.d.ts +1 -1
- package/types/lib/ast/nodes/constructor-parameter.d.ts +1 -1
- package/types/lib/ast/nodes/constructor.d.ts +1 -1
- package/types/lib/ast/nodes/decorator.d.ts +1 -1
- package/types/lib/ast/nodes/doc-tag.d.ts +1 -1
- package/types/lib/ast/nodes/doc.d.ts +1 -1
- package/types/lib/ast/nodes/enum-value.d.ts +1 -1
- package/types/lib/ast/nodes/enum.d.ts +1 -1
- package/types/lib/ast/nodes/export.d.ts +1 -1
- package/types/lib/ast/nodes/function-type.d.ts +1 -1
- package/types/lib/ast/nodes/function.d.ts +1 -1
- package/types/lib/ast/nodes/generic-parameter.d.ts +1 -1
- package/types/lib/ast/nodes/indexer.d.ts +1 -1
- package/types/lib/ast/nodes/interface.d.ts +1 -1
- package/types/lib/ast/nodes/intersection-type.d.ts +1 -1
- package/types/lib/ast/nodes/lookup-type.d.ts +1 -1
- package/types/lib/ast/nodes/method.d.ts +1 -1
- package/types/lib/ast/nodes/object-type.d.ts +1 -1
- package/types/lib/ast/nodes/object.d.ts +1 -1
- package/types/lib/ast/nodes/parameter.d.ts +1 -1
- package/types/lib/ast/nodes/property-accessor.d.ts +1 -1
- package/types/lib/ast/nodes/property.d.ts +5 -5
- package/types/lib/ast/nodes/reference.d.ts +1 -1
- package/types/lib/ast/nodes/string.d.ts +1 -1
- package/types/lib/ast/nodes/tuple.d.ts +1 -1
- package/types/lib/ast/nodes/type-alias.d.ts +1 -1
- package/types/lib/ast/nodes/typeof.d.ts +1 -1
- package/types/lib/ast/nodes/types.d.ts +1 -1
- package/types/lib/ast/nodes/union-type.d.ts +1 -1
- package/types/lib/ast/nodes/variable.d.ts +1 -1
- package/types/lib/ast/references/angular.d.ts +22 -22
- package/types/lib/ast/references/easy-network-stub.d.ts +14 -14
- package/types/lib/ast/references/k6.d.ts +9 -9
- package/types/lib/ast/references/rxjs.d.ts +15 -15
- package/types/lib/ast/references/typescript.d.ts +107 -107
- package/types/lib/ast/utils/get-type-script-builder-options.d.ts +1 -1
- package/types/lib/ast/utils/to-ts-node.d.ts +1 -1
- package/types/lib/ast/utils/write-ts-generic-parameters.d.ts +1 -1
- package/types/lib/ast/utils/write-ts-members.d.ts +1 -1
- package/types/lib/ast/utils/write-ts-nodes.d.ts +1 -1
- package/types/lib/ast/utils/write-ts-parameters.d.ts +1 -1
- package/types/lib/config.d.ts +1 -1
- package/types/lib/file-builder.d.ts +1 -1
- package/types/lib/generators/file-generator.d.ts +1 -1
- package/types/lib/generators/models/model-generator.d.ts +3 -3
- package/types/lib/generators/models/models-generator.d.ts +1 -1
- package/types/lib/generators/models/models.d.ts +1 -1
- package/types/lib/generators/services/angular-services/angular-service-generator.d.ts +2 -2
- package/types/lib/generators/services/angular-services/angular-services-generator.d.ts +1 -1
- package/types/lib/generators/services/angular-services/models.d.ts +1 -1
- package/types/lib/generators/services/angular-services/refs.d.ts +23 -23
- package/types/lib/generators/services/easy-network-stub/easy-network-stub-generator.d.ts +1 -1
- package/types/lib/generators/services/easy-network-stub/easy-network-stubs-generator.d.ts +1 -1
- package/types/lib/generators/services/easy-network-stub/models.d.ts +1 -1
- package/types/lib/generators/services/easy-network-stub/refs.d.ts +32 -32
- package/types/lib/generators/services/fetch-clients/fetch-client-generator.d.ts +1 -1
- package/types/lib/generators/services/fetch-clients/fetch-clients-generator.d.ts +1 -1
- package/types/lib/generators/services/fetch-clients/models.d.ts +1 -1
- package/types/lib/generators/services/fetch-clients/refs.d.ts +10 -10
- package/types/lib/generators/services/k6-clients/k6-client-generator.d.ts +2 -2
- package/types/lib/generators/services/k6-clients/k6-clients-generator.d.ts +1 -1
- package/types/lib/generators/services/k6-clients/models.d.ts +1 -1
- package/types/lib/generators/services/k6-clients/refs.d.ts +6 -6
- package/types/lib/import-collection.d.ts +1 -1
- package/types/lib/utils.d.ts +1 -1
package/esm/lib/ast/node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { basicAppendValueGroup, notNullish, } from '
|
|
1
|
+
import { basicAppendValueGroup, notNullish, } from '@goast/core';
|
|
2
2
|
import { isTypeScriptAppendValue } from '../../file-builder.js';
|
|
3
3
|
import { TsNode } from '../node.js';
|
|
4
4
|
import { writeTsNode, writeTsNodes } from '../utils/write-ts-nodes.js';
|
package/esm/lib/ast/nodes/doc.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createOverwriteProxy, getIsInstanceOf, notNullish, } from '
|
|
1
|
+
import { createOverwriteProxy, getIsInstanceOf, notNullish, } from '@goast/core';
|
|
2
2
|
import { tsDocTag } from './doc-tag.js';
|
|
3
3
|
import { TsGenericParameter } from './generic-parameter.js';
|
|
4
4
|
import { TsParameter } from './parameter.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { notNullish } from '
|
|
1
|
+
import { notNullish } from '@goast/core';
|
|
2
2
|
import { TypeScriptFileBuilder } from '../../file-builder.js';
|
|
3
3
|
import { TsNode } from '../node.js';
|
|
4
4
|
import { writeTsGenericParameters } from '../utils/write-ts-generic-parameters.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defaultOpenApiGeneratorConfig } from '
|
|
1
|
+
import { defaultOpenApiGeneratorConfig } from '@goast/core';
|
|
2
2
|
import { defaultTypeScriptGeneratorConfig } from '../../config.js';
|
|
3
3
|
import { TypeScriptFileBuilder } from '../../file-builder.js';
|
|
4
4
|
const tsConfigSymbol = Symbol();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toArray, notNullish } from '
|
|
1
|
+
import { toArray, notNullish } from '@goast/core';
|
|
2
2
|
import { writeTsNodes } from './write-ts-nodes.js';
|
|
3
3
|
export function writeTsGenericParameters(builder, nodes) {
|
|
4
4
|
const filteredNodes = toArray(nodes).filter(notNullish);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toArray, notNullish } from '
|
|
1
|
+
import { toArray, notNullish } from '@goast/core';
|
|
2
2
|
import { writeTsNodes } from './write-ts-nodes.js';
|
|
3
3
|
export function writeTsParameters(builder, nodes) {
|
|
4
4
|
const filteredNodes = toArray(nodes).filter(notNullish);
|
package/esm/lib/file-builder.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dirname } from 'path';
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
|
-
import { SourceBuilder, isAppendValue } from '
|
|
3
|
+
import { SourceBuilder, isAppendValue } from '@goast/core';
|
|
4
4
|
import { TsNode } from './ast/node.js';
|
|
5
5
|
import { defaultTypeScriptGeneratorConfig } from './config.js';
|
|
6
6
|
import { ImportExportCollection } from './import-collection.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolve } from 'path';
|
|
2
|
-
import { appendValueGroup, getSchemaReference, notNullish, resolveAnyOfAndAllOf, toCasing, } from '
|
|
2
|
+
import { appendValueGroup, getSchemaReference, notNullish, resolveAnyOfAndAllOf, toCasing, } from '@goast/core';
|
|
3
3
|
import { ts } from '../../ast/index.js';
|
|
4
4
|
import { TypeScriptFileBuilder } from '../../file-builder.js';
|
|
5
5
|
import { TypeScriptFileGenerator } from '../file-generator.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolve } from 'path';
|
|
2
|
-
import { OpenApiSchemasGenerationProviderBase, Factory, appendValueGroup, } from '
|
|
2
|
+
import { OpenApiSchemasGenerationProviderBase, Factory, appendValueGroup, } from '@goast/core';
|
|
3
3
|
import { DefaultTypeScriptModelGenerator } from './model-generator.js';
|
|
4
4
|
import { defaultTypeScriptModelsGeneratorConfig, } from './models.js';
|
|
5
5
|
import { ts } from '../../ast/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolve } from 'path';
|
|
2
|
-
import { appendValueGroup, builderTemplate as s, toCasing, } from '
|
|
2
|
+
import { appendValueGroup, builderTemplate as s, toCasing, } from '@goast/core';
|
|
3
3
|
import { ts } from '../../../ast/index.js';
|
|
4
4
|
import { TypeScriptFileBuilder } from '../../../file-builder.js';
|
|
5
5
|
import { TypeScriptFileGenerator } from '../../file-generator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dirname, resolve } from 'path';
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
|
-
import { Factory, OpenApiServicesGenerationProviderBase, appendValueGroup, toCasing, } from '
|
|
3
|
+
import { Factory, OpenApiServicesGenerationProviderBase, appendValueGroup, toCasing, } from '@goast/core';
|
|
4
4
|
import { DefaultTypeScriptAngularServiceGenerator, } from './angular-service-generator.js';
|
|
5
5
|
import { defaultTypeScriptAngularServicesGeneratorConfig, } from './models.js';
|
|
6
6
|
import { getReferenceFactories } from './refs.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { join, resolve } from 'path';
|
|
2
|
-
import { toCasing } from '
|
|
2
|
+
import { toCasing } from '@goast/core';
|
|
3
3
|
import { ts } from '../../../ast/index.js';
|
|
4
4
|
// See packages/typescript/assets/client/angular for reference
|
|
5
5
|
export function getReferenceFactories(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolve } from 'path';
|
|
2
|
-
import { adjustCasing, appendValueGroup, builderTemplate as s, toCasing, } from '
|
|
2
|
+
import { adjustCasing, appendValueGroup, builderTemplate as s, toCasing, } from '@goast/core';
|
|
3
3
|
import { ts } from '../../../ast/index.js';
|
|
4
4
|
import { TypeScriptFileBuilder } from '../../../file-builder.js';
|
|
5
5
|
import { TypeScriptFileGenerator } from '../../file-generator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dirname, resolve } from 'path';
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
|
-
import { Factory, OpenApiServicesGenerationProviderBase, adjustCasing, appendValueGroup, toCasing, builderTemplate as s, } from '
|
|
3
|
+
import { Factory, OpenApiServicesGenerationProviderBase, adjustCasing, appendValueGroup, toCasing, builderTemplate as s, } from '@goast/core';
|
|
4
4
|
import { DefaultTypeScriptEasyNetworkStubGenerator, } from './easy-network-stub-generator.js';
|
|
5
5
|
import { defaultTypeScriptEasyNetworkStubsGeneratorConfig, } from './models.js';
|
|
6
6
|
import { getReferenceFactories } from './refs.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolve } from 'path';
|
|
2
|
-
import { toCasing, appendValueGroup, builderTemplate as s, } from '
|
|
2
|
+
import { toCasing, appendValueGroup, builderTemplate as s, } from '@goast/core';
|
|
3
3
|
import { ts } from '../../../ast/index.js';
|
|
4
4
|
import { TypeScriptFileBuilder } from '../../../file-builder.js';
|
|
5
5
|
import { TypeScriptFileGenerator } from '../../file-generator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dirname, resolve } from 'path';
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
|
-
import { OpenApiServicesGenerationProviderBase, Factory, appendValueGroup, notNullish, } from '
|
|
3
|
+
import { OpenApiServicesGenerationProviderBase, Factory, appendValueGroup, notNullish, } from '@goast/core';
|
|
4
4
|
import { DefaultTypeScriptFetchClientGenerator } from './fetch-client-generator.js';
|
|
5
5
|
import { defaultTypeScriptFetchClientsGeneratorConfig, } from './models.js';
|
|
6
6
|
import { getReferenceFactories } from './refs.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolve } from 'path';
|
|
2
|
-
import { appendValueGroup, toCasing, builderTemplate as s, } from '
|
|
2
|
+
import { appendValueGroup, toCasing, builderTemplate as s, } from '@goast/core';
|
|
3
3
|
import { ts } from '../../../ast/index.js';
|
|
4
4
|
import { TypeScriptFileBuilder } from '../../../file-builder.js';
|
|
5
5
|
import { TypeScriptFileGenerator } from '../../file-generator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dirname, resolve } from 'path';
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
|
-
import { OpenApiServicesGenerationProviderBase, Factory, appendValueGroup, } from '
|
|
3
|
+
import { OpenApiServicesGenerationProviderBase, Factory, appendValueGroup, } from '@goast/core';
|
|
4
4
|
import { DefaultTypeScriptK6ClientGenerator } from './k6-client-generator.js';
|
|
5
5
|
import { defaultTypeScriptK6ClientsGeneratorConfig, } from './models.js';
|
|
6
6
|
import { getReferenceFactories } from './refs.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extname } from 'path';
|
|
2
|
-
import { StringBuilder } from '
|
|
2
|
+
import { StringBuilder } from '@goast/core';
|
|
3
3
|
import { defaultTypeScriptGeneratorConfig } from './config.js';
|
|
4
4
|
import { getModulePathRelativeToFile } from './utils.js';
|
|
5
5
|
export const defaultImportExportCollectionOptions = {
|
package/package.json
CHANGED
package/types/lib/ast/node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNode, AstNodeOptions, SourceBuilder } from '
|
|
1
|
+
import { AstNode, AstNodeOptions, SourceBuilder } from '@goast/core';
|
|
2
2
|
export declare abstract class TsNode<TBuilder extends SourceBuilder, TInjects extends string = never> extends AstNode<TBuilder, TInjects> {
|
|
3
3
|
constructor(options: AstNodeOptions<typeof AstNode<TBuilder, TInjects>>);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsValue } from './types';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsParameters } from '../utils/write-ts-parameters';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsType } from './types';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '
|
|
1
|
+
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsGenericParameter } from './generic-parameter';
|
|
3
3
|
import { TsParameter } from './parameter';
|
|
4
4
|
import { TsType } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SourceBuilder, AstNodeOptions, Nullable, ArrayItem, Prettify } from '
|
|
1
|
+
import { SourceBuilder, AstNodeOptions, Nullable, ArrayItem, Prettify } from '@goast/core';
|
|
2
2
|
import { TsArgument } from './argument';
|
|
3
3
|
import { TsType, TsValue } from './types';
|
|
4
4
|
import { TsNode } from '../node';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsConstructor } from './constructor';
|
|
3
3
|
import { TsDecorator } from './decorator';
|
|
4
4
|
import { TsDoc } from './doc';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsParameter } from './parameter';
|
|
3
3
|
import { TsAccessModifier } from '../common';
|
|
4
4
|
import { writeTsParameters } from '../utils/write-ts-parameters';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '
|
|
1
|
+
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsConstructorParameter } from './constructor-parameter';
|
|
3
3
|
import { TsDecorator } from './decorator';
|
|
4
4
|
import { TsDoc } from './doc';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, Prettify, SingleOrMultiple, SourceBuilder } from '
|
|
1
|
+
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, Prettify, SingleOrMultiple, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsArgument } from './argument';
|
|
3
3
|
import { TsReference } from './reference';
|
|
4
4
|
import { TsValue } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, ParametersWithOverloads, Prettify, SourceBuilder, StringSuggestions } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, ParametersWithOverloads, Prettify, SourceBuilder, StringSuggestions } from '@goast/core';
|
|
2
2
|
import { TsType } from './types';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDocTag } from './doc-tag';
|
|
3
3
|
import { TsGenericParameter } from './generic-parameter';
|
|
4
4
|
import { TsParameter } from './parameter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SourceBuilder, AstNodeOptions, Nullable, AppendValue, SingleOrMultiple, Prettify, BasicAppendValue } from '
|
|
1
|
+
import { SourceBuilder, AstNodeOptions, Nullable, AppendValue, SingleOrMultiple, Prettify, BasicAppendValue } from '@goast/core';
|
|
2
2
|
import { TsDoc } from './doc';
|
|
3
3
|
import { TsString } from './string';
|
|
4
4
|
import { TsNode } from '../node';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDoc } from './doc';
|
|
3
3
|
import { TsEnumValue } from './enum-value';
|
|
4
4
|
import { TsNode } from '../node';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TypeScriptExportType } from '../../common-results';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsGenericParameter } from './generic-parameter';
|
|
3
3
|
import { TsParameter } from './parameter';
|
|
4
4
|
import { TsType } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppendValue, AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AppendValue, AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDecorator } from './decorator';
|
|
3
3
|
import { TsDoc } from './doc';
|
|
4
4
|
import { TsGenericParameter } from './generic-parameter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsType } from './types';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsGenericParameters } from '../utils/write-ts-generic-parameters';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsType } from './types';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDecorator } from './decorator';
|
|
3
3
|
import { TsDoc } from './doc';
|
|
4
4
|
import { TsGenericParameter } from './generic-parameter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsType } from './types';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AppendValue, AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDecorator } from './decorator';
|
|
3
3
|
import { TsDoc } from './doc';
|
|
4
4
|
import { TsGenericParameter } from './generic-parameter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsIndexer } from './indexer';
|
|
3
3
|
import { TsMethod } from './method';
|
|
4
4
|
import { TsProperty } from './property';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsNode } from '../node';
|
|
3
3
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
4
4
|
import type { TsMethod } from './method';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDecorator } from './decorator';
|
|
3
3
|
import { TsType, TsValue } from './types';
|
|
4
4
|
import { TsNode } from '../node';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SourceBuilder, AstNodeOptions, AppendValue, Nullable } from '
|
|
1
|
+
import { SourceBuilder, AstNodeOptions, AppendValue, Nullable } from '@goast/core';
|
|
2
2
|
import { TsDecorator } from './decorator';
|
|
3
3
|
import { TsDoc } from './doc';
|
|
4
4
|
import { TsProperty } from './property';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDecorator } from './decorator';
|
|
3
3
|
import { TsDoc } from './doc';
|
|
4
4
|
import { TsPropertyGetter, TsPropertySetter } from './property-accessor';
|
|
@@ -61,24 +61,24 @@ export declare const tsProperty: (<TBuilder extends SourceBuilder>(name: BaseOpt
|
|
|
61
61
|
doc?: Nullable<TsDoc<TBuilder, never>>;
|
|
62
62
|
type?: Nullable<TsType<TBuilder>>;
|
|
63
63
|
decorators?: Nullable<Nullable<TsDecorator<TBuilder, never>>[]>;
|
|
64
|
-
body?: Nullable<import("
|
|
64
|
+
body?: Nullable<import("@goast/core").AppendValue<TBuilder>>;
|
|
65
65
|
accessModifier?: Nullable<TsAccessModifier>;
|
|
66
66
|
static?: Nullable<boolean>;
|
|
67
67
|
abstract?: Nullable<boolean>;
|
|
68
68
|
override?: Nullable<boolean>;
|
|
69
|
-
inject?: import("
|
|
69
|
+
inject?: import("@goast/core").AstNodeInject<TBuilder, ""> | undefined;
|
|
70
70
|
}) => TsPropertyGetter<TBuilder, never>;
|
|
71
71
|
setter: <TBuilder extends SourceBuilder>(options?: {
|
|
72
72
|
propertyName?: Nullable<string>;
|
|
73
73
|
doc?: Nullable<TsDoc<TBuilder, never>>;
|
|
74
74
|
type?: Nullable<TsType<TBuilder>>;
|
|
75
75
|
decorators?: Nullable<Nullable<TsDecorator<TBuilder, never>>[]>;
|
|
76
|
-
body?: Nullable<import("
|
|
76
|
+
body?: Nullable<import("@goast/core").AppendValue<TBuilder>>;
|
|
77
77
|
accessModifier?: Nullable<TsAccessModifier>;
|
|
78
78
|
static?: Nullable<boolean>;
|
|
79
79
|
abstract?: Nullable<boolean>;
|
|
80
80
|
override?: Nullable<boolean>;
|
|
81
|
-
inject?: import("
|
|
81
|
+
inject?: import("@goast/core").AstNodeInject<TBuilder, ""> | undefined;
|
|
82
82
|
}) => TsPropertySetter<TBuilder, never>;
|
|
83
83
|
};
|
|
84
84
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder, TupleWithCount } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder, TupleWithCount } from '@goast/core';
|
|
2
2
|
import { TsType } from './types';
|
|
3
3
|
import { TypeScriptImportType } from '../../common-results';
|
|
4
4
|
import { TsNode } from '../node';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsNode } from '../node';
|
|
3
3
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
4
4
|
type Injects = never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsType, TsValue } from './types';
|
|
3
3
|
import { TsNode } from '../node';
|
|
4
4
|
import { writeTsNodes } from '../utils/write-ts-nodes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '
|
|
1
|
+
import { AstNodeOptions, BasicAppendValue, Nullable, Prettify, SourceBuilder } from '@goast/core';
|
|
2
2
|
import { TsDoc } from './doc';
|
|
3
3
|
import { TsGenericParameter } from './generic-parameter';
|
|
4
4
|
import { TsType } from './types';
|