@teambit/semantics.entities.semantic-schema 0.0.88 → 0.0.90
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/api-schema.ts +2 -1
- package/dist/api-schema.d.ts +2 -1
- package/dist/api-schema.js.map +1 -1
- package/dist/schema-node-constructor.d.ts +1 -1
- package/dist/schema-node-constructor.js.map +1 -1
- package/dist/schema-node.d.ts +1 -1
- package/dist/schema-node.js.map +1 -1
- package/dist/schema-registry.d.ts +1 -1
- package/dist/schema-registry.js.map +1 -1
- package/dist/schemas/array-literal-expression.d.ts +2 -1
- package/dist/schemas/array-literal-expression.js.map +1 -1
- package/dist/schemas/class.d.ts +2 -1
- package/dist/schemas/class.js.map +1 -1
- package/dist/schemas/conditional-type.d.ts +2 -1
- package/dist/schemas/conditional-type.js.map +1 -1
- package/dist/schemas/constructor.d.ts +3 -2
- package/dist/schemas/constructor.js.map +1 -1
- package/dist/schemas/decorator.d.ts +2 -1
- package/dist/schemas/decorator.js.map +1 -1
- package/dist/schemas/docs/doc.d.ts +3 -2
- package/dist/schemas/docs/doc.js.map +1 -1
- package/dist/schemas/docs/property-like-tag.d.ts +1 -1
- package/dist/schemas/docs/property-like-tag.js.map +1 -1
- package/dist/schemas/docs/return-tag.d.ts +1 -1
- package/dist/schemas/docs/return-tag.js.map +1 -1
- package/dist/schemas/docs/tag.d.ts +2 -1
- package/dist/schemas/docs/tag.js.map +1 -1
- package/dist/schemas/enum-member.d.ts +2 -1
- package/dist/schemas/enum-member.js.map +1 -1
- package/dist/schemas/enum.d.ts +2 -1
- package/dist/schemas/enum.js.map +1 -1
- package/dist/schemas/export.d.ts +2 -1
- package/dist/schemas/export.js.map +1 -1
- package/dist/schemas/expression-with-arguments.d.ts +2 -1
- package/dist/schemas/expression-with-arguments.js.map +1 -1
- package/dist/schemas/function-like.d.ts +2 -1
- package/dist/schemas/function-like.js.map +1 -1
- package/dist/schemas/get-accessor.d.ts +2 -1
- package/dist/schemas/get-accessor.js.map +1 -1
- package/dist/schemas/ignored.d.ts +3 -2
- package/dist/schemas/ignored.js.map +1 -1
- package/dist/schemas/index-signature.d.ts +2 -1
- package/dist/schemas/index-signature.js.map +1 -1
- package/dist/schemas/indexed-access-type.d.ts +2 -1
- package/dist/schemas/indexed-access-type.js.map +1 -1
- package/dist/schemas/inference-type.d.ts +2 -1
- package/dist/schemas/inference-type.js.map +1 -1
- package/dist/schemas/interface.d.ts +2 -1
- package/dist/schemas/interface.js.map +1 -1
- package/dist/schemas/keyword-type.d.ts +2 -1
- package/dist/schemas/keyword-type.js.map +1 -1
- package/dist/schemas/literal-type.d.ts +2 -1
- package/dist/schemas/literal-type.js.map +1 -1
- package/dist/schemas/literal-value.d.ts +2 -1
- package/dist/schemas/literal-value.js.map +1 -1
- package/dist/schemas/module.d.ts +2 -1
- package/dist/schemas/module.js.map +1 -1
- package/dist/schemas/named-tuple.d.ts +2 -1
- package/dist/schemas/named-tuple.js.map +1 -1
- package/dist/schemas/object-literal-expression.d.ts +2 -1
- package/dist/schemas/object-literal-expression.js.map +1 -1
- package/dist/schemas/parameter.d.ts +2 -1
- package/dist/schemas/parameter.js.map +1 -1
- package/dist/schemas/parenthesized-type.d.ts +2 -1
- package/dist/schemas/parenthesized-type.js.map +1 -1
- package/dist/schemas/property-assignment.d.ts +2 -1
- package/dist/schemas/property-assignment.js.map +1 -1
- package/dist/schemas/set-accessor.d.ts +2 -1
- package/dist/schemas/set-accessor.js.map +1 -1
- package/dist/schemas/template-literal-type-span.d.ts +2 -1
- package/dist/schemas/template-literal-type-span.js.map +1 -1
- package/dist/schemas/template-literal-type.d.ts +2 -1
- package/dist/schemas/template-literal-type.js.map +1 -1
- package/dist/schemas/this-type.d.ts +2 -1
- package/dist/schemas/this-type.js.map +1 -1
- package/dist/schemas/tuple-type.d.ts +2 -1
- package/dist/schemas/tuple-type.js.map +1 -1
- package/dist/schemas/type-array.d.ts +2 -1
- package/dist/schemas/type-array.js.map +1 -1
- package/dist/schemas/type-intersection.d.ts +2 -1
- package/dist/schemas/type-intersection.js.map +1 -1
- package/dist/schemas/type-literal.d.ts +2 -1
- package/dist/schemas/type-literal.js.map +1 -1
- package/dist/schemas/type-operator.d.ts +2 -1
- package/dist/schemas/type-operator.js.map +1 -1
- package/dist/schemas/type-predicate.d.ts +2 -1
- package/dist/schemas/type-predicate.js.map +1 -1
- package/dist/schemas/type-query.d.ts +2 -1
- package/dist/schemas/type-query.js.map +1 -1
- package/dist/schemas/type-ref.d.ts +2 -1
- package/dist/schemas/type-ref.js.map +1 -1
- package/dist/schemas/type-union.d.ts +2 -1
- package/dist/schemas/type-union.js.map +1 -1
- package/dist/schemas/type.d.ts +2 -1
- package/dist/schemas/type.js.map +1 -1
- package/dist/schemas/unimplemented-schema.d.ts +2 -1
- package/dist/schemas/unimplemented-schema.js.map +1 -1
- package/dist/schemas/unknown-schema.d.ts +2 -1
- package/dist/schemas/unknown-schema.js.map +1 -1
- package/dist/schemas/unresolved-schema.d.ts +2 -1
- package/dist/schemas/unresolved-schema.js.map +1 -1
- package/dist/schemas/variable-like.d.ts +2 -1
- package/dist/schemas/variable-like.js.map +1 -1
- package/dist/unknown-schema-factory.d.ts +1 -1
- package/dist/unknown-schema-factory.js.map +1 -1
- package/package.json +3 -3
- package/schema-node-constructor.ts +1 -1
- package/schema-node.ts +1 -1
- package/schema-registry.ts +1 -1
- package/schemas/array-literal-expression.ts +2 -1
- package/schemas/class.ts +2 -1
- package/schemas/conditional-type.ts +2 -1
- package/schemas/constructor.ts +3 -2
- package/schemas/decorator.ts +2 -1
- package/schemas/docs/doc.ts +3 -2
- package/schemas/docs/property-like-tag.ts +1 -1
- package/schemas/docs/return-tag.ts +1 -1
- package/schemas/docs/tag.ts +2 -1
- package/schemas/enum-member.ts +2 -1
- package/schemas/enum.ts +2 -1
- package/schemas/export.ts +2 -1
- package/schemas/expression-with-arguments.ts +2 -1
- package/schemas/function-like.ts +2 -1
- package/schemas/get-accessor.ts +2 -1
- package/schemas/ignored.ts +4 -2
- package/schemas/index-signature.ts +2 -1
- package/schemas/indexed-access-type.ts +2 -1
- package/schemas/inference-type.ts +2 -1
- package/schemas/interface.ts +2 -1
- package/schemas/keyword-type.ts +2 -1
- package/schemas/literal-type.ts +2 -1
- package/schemas/literal-value.ts +2 -1
- package/schemas/module.ts +3 -2
- package/schemas/named-tuple.ts +2 -1
- package/schemas/object-literal-expression.ts +2 -1
- package/schemas/parameter.ts +2 -1
- package/schemas/parenthesized-type.ts +2 -1
- package/schemas/property-assignment.ts +2 -1
- package/schemas/set-accessor.ts +2 -1
- package/schemas/template-literal-type-span.ts +2 -1
- package/schemas/template-literal-type.ts +2 -1
- package/schemas/this-type.ts +2 -1
- package/schemas/tuple-type.ts +2 -1
- package/schemas/type-array.ts +2 -1
- package/schemas/type-intersection.ts +2 -1
- package/schemas/type-literal.ts +2 -1
- package/schemas/type-operator.ts +2 -1
- package/schemas/type-predicate.ts +2 -1
- package/schemas/type-query.ts +2 -1
- package/schemas/type-ref.ts +2 -1
- package/schemas/type-union.ts +2 -1
- package/schemas/type.ts +2 -1
- package/schemas/unimplemented-schema.ts +2 -1
- package/schemas/unknown-schema.ts +2 -1
- package/schemas/unresolved-schema.ts +2 -1
- package/schemas/variable-like.ts +2 -1
- package/unknown-schema-factory.ts +1 -1
package/schemas/decorator.ts
CHANGED
package/schemas/docs/doc.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../../schema-node';
|
|
2
|
+
import { SchemaNode } from '../../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../../schema-registry';
|
|
3
|
-
import { TagName, TagSchema } from './tag';
|
|
4
|
+
import type { TagName, TagSchema } from './tag';
|
|
4
5
|
|
|
5
6
|
export class DocSchema extends SchemaNode {
|
|
6
7
|
readonly tags?: TagSchema[];
|
package/schemas/docs/tag.ts
CHANGED
package/schemas/enum-member.ts
CHANGED
package/schemas/enum.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { DocSchema } from './docs';
|
|
4
5
|
import { SchemaRegistry } from '..';
|
|
5
6
|
|
package/schemas/export.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class ExpressionWithTypeArgumentsSchema extends SchemaNode {
|
package/schemas/function-like.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { ParameterSchema } from './parameter';
|
|
4
5
|
import { DocSchema } from './docs';
|
|
5
6
|
import { TagName } from './docs/tag';
|
package/schemas/get-accessor.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { SchemaRegistry } from '../schema-registry';
|
|
4
5
|
|
|
5
6
|
export class GetAccessorSchema extends SchemaNode {
|
package/schemas/ignored.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { DocSchema
|
|
2
|
-
import {
|
|
1
|
+
import type { DocSchema } from '..';
|
|
2
|
+
import { SchemaRegistry } from '..';
|
|
3
|
+
import type { SchemaLocation } from '../schema-node';
|
|
4
|
+
import { SchemaNode } from '../schema-node';
|
|
3
5
|
|
|
4
6
|
export class IgnoredSchema extends SchemaNode {
|
|
5
7
|
public location: SchemaLocation;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class IndexedAccessSchema extends SchemaNode {
|
package/schemas/interface.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { DocSchema } from './docs';
|
|
4
5
|
import { ExpressionWithTypeArgumentsSchema } from './expression-with-arguments';
|
|
5
6
|
import { SchemaRegistry } from '../schema-registry';
|
package/schemas/keyword-type.ts
CHANGED
package/schemas/literal-type.ts
CHANGED
package/schemas/literal-value.ts
CHANGED
package/schemas/module.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { SchemaRegistry } from '../schema-registry';
|
|
4
|
-
import { ExportSchema } from './export';
|
|
5
|
+
import type { ExportSchema } from './export';
|
|
5
6
|
|
|
6
7
|
export class ModuleSchema extends SchemaNode {
|
|
7
8
|
// exports could either be re exports (export declarations) or nodes with export modifier
|
package/schemas/named-tuple.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class NamedTupleSchema extends SchemaNode {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class ObjectLiteralExpressionSchema extends SchemaNode {
|
package/schemas/parameter.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class ParameterSchema<T extends SchemaNode = SchemaNode> extends SchemaNode {
|
package/schemas/set-accessor.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { ParameterSchema } from './parameter';
|
|
4
5
|
|
|
5
6
|
export class SetAccessorSchema extends SchemaNode {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class TemplateLiteralTypeSpanSchema extends SchemaNode {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { TemplateLiteralTypeSpanSchema } from './template-literal-type-span';
|
|
3
4
|
|
|
4
5
|
export class TemplateLiteralTypeSchema extends SchemaNode {
|
package/schemas/this-type.ts
CHANGED
package/schemas/tuple-type.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class TupleTypeSchema extends SchemaNode {
|
package/schemas/type-array.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class TypeArraySchema extends SchemaNode {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class TypeIntersectionSchema extends SchemaNode {
|
package/schemas/type-literal.ts
CHANGED
package/schemas/type-operator.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class TypeOperatorSchema extends SchemaNode {
|
package/schemas/type-query.ts
CHANGED
package/schemas/type-ref.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentID } from '@teambit/component';
|
|
2
2
|
import chalk from 'chalk';
|
|
3
|
-
import { SchemaLocation
|
|
3
|
+
import type { SchemaLocation } from '../schema-node';
|
|
4
|
+
import { SchemaNode } from '../schema-node';
|
|
4
5
|
import { SchemaRegistry } from '../schema-registry';
|
|
5
6
|
|
|
6
7
|
export type PlainTypeRefSchema = {
|
package/schemas/type-union.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
import { SchemaRegistry } from '../schema-registry';
|
|
3
4
|
|
|
4
5
|
export class TypeUnionSchema extends SchemaNode {
|
package/schemas/type.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { DocSchema } from './docs';
|
|
4
5
|
import { SchemaRegistry } from '../schema-registry';
|
|
5
6
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SchemaLocation
|
|
1
|
+
import type { SchemaLocation } from '../schema-node';
|
|
2
|
+
import { SchemaNode } from '../schema-node';
|
|
2
3
|
|
|
3
4
|
export class UnImplementedSchema extends SchemaNode {
|
|
4
5
|
readonly displaySchemaName = 'Unimplemented Schemas';
|
package/schemas/variable-like.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { SchemaLocation
|
|
2
|
+
import type { SchemaLocation } from '../schema-node';
|
|
3
|
+
import { SchemaNode } from '../schema-node';
|
|
3
4
|
import { DocSchema } from './docs';
|
|
4
5
|
import { SchemaRegistry } from '../schema-registry';
|
|
5
6
|
|