@wessberg/type
Advanced tools
Comparing version 0.0.44 to 0.0.45
@@ -0,1 +1,10 @@ | ||
<a name="0.0.45"></a> | ||
## 0.0.45 (2017-08-27) | ||
* 0.0.45 ([29cade3](https://github.com/wessberg/Type/commit/29cade3)) | ||
* Added a bunch of new expressions ([49ca9a1](https://github.com/wessberg/Type/commit/49ca9a1)) | ||
* Bumped version ([7536da3](https://github.com/wessberg/Type/commit/7536da3)) | ||
<a name="0.0.44"></a> | ||
@@ -2,0 +11,0 @@ ## 0.0.44 (2017-08-27) |
@@ -1,13 +0,8 @@ | ||
import { FormattedExpression, IFormattedExpression } from "../formatted-expression/i-formatted-expression"; | ||
import { FormattedExpressionKind } from "../formatted-expression-kind/formatted-expression-kind"; | ||
import { FormattedAccessorKind } from "./formatted-accessor-kind"; | ||
import { FormattedPropertyName } from "../property-name/i-formatted-property-name"; | ||
import { Type } from "../../type/type/type"; | ||
import { ParameterType } from "../../type/parameter-type/i-parameter-type"; | ||
export interface IFormattedAccessor extends IFormattedExpression { | ||
import { IFormattedFunctionLike } from "../function-like/i-formatted-function-like"; | ||
export interface IFormattedAccessor extends IFormattedFunctionLike { | ||
expressionKind: FormattedExpressionKind.ACCESSOR; | ||
name: FormattedPropertyName; | ||
kind: FormattedAccessorKind; | ||
type: Type; | ||
body: FormattedExpression; | ||
} | ||
@@ -14,0 +9,0 @@ export interface IFormattedGetAccessor extends IFormattedAccessor { |
@@ -5,2 +5,3 @@ import { IFormattedExpression } from "../formatted-expression/i-formatted-expression"; | ||
import { IFormattedDecorator } from "../decorator/i-formatted-decorator"; | ||
import { FormattedClassMember } from "./formatted-class-member"; | ||
export interface IFormattedClass extends IFormattedExpression { | ||
@@ -12,2 +13,3 @@ expressionKind: FormattedExpressionKind.CLASS; | ||
decorators: IFormattedDecorator[]; | ||
members: FormattedClassMember[]; | ||
} |
export declare enum FormattedExpressionKind { | ||
ACCESSOR = "ACCESSOR", | ||
CLASS_PROPERTY = "PROPERTY", | ||
CLASS_ACCESSOR = "CLASS_ACCESSOR", | ||
FUNCTION = "FUNCTION", | ||
METHOD = "METHOD", | ||
BLOCK = "BLOCK", | ||
EXPRESSION = "EXPRESSION", | ||
@@ -4,0 +9,0 @@ DECORATOR = "DECORATOR", |
export var FormattedExpressionKind; | ||
(function (FormattedExpressionKind) { | ||
FormattedExpressionKind["ACCESSOR"] = "ACCESSOR"; | ||
FormattedExpressionKind["CLASS_PROPERTY"] = "PROPERTY"; | ||
FormattedExpressionKind["CLASS_ACCESSOR"] = "CLASS_ACCESSOR"; | ||
FormattedExpressionKind["FUNCTION"] = "FUNCTION"; | ||
FormattedExpressionKind["METHOD"] = "METHOD"; | ||
FormattedExpressionKind["BLOCK"] = "BLOCK"; | ||
FormattedExpressionKind["EXPRESSION"] = "EXPRESSION"; | ||
@@ -5,0 +10,0 @@ FormattedExpressionKind["DECORATOR"] = "DECORATOR"; |
@@ -18,2 +18,7 @@ import { FormattedExpressionKind } from "../formatted-expression-kind/formatted-expression-kind"; | ||
import { FormattedAccessor } from "../accessor/i-formatted-accessor"; | ||
import { IFormattedBlock } from "../block/i-formatted-block"; | ||
import { FormattedFunction } from "../function/i-formatted-function"; | ||
import { FormattedClassAccessor } from "../class-accessor/i-formatted-class-accessor"; | ||
import { IFormattedMethod } from "../method/i-formatted-method"; | ||
import { IFormattedClassProperty } from "../class-property/i-formatted-class-property"; | ||
export interface IFormattedExpression { | ||
@@ -24,2 +29,2 @@ expressionKind: FormattedExpressionKind; | ||
} | ||
export declare type FormattedExpression = FormattedAccessor | FormattedPropertyName | IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedObjectLiteralProperty | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; | ||
export declare type FormattedExpression = IFormattedBlock | FormattedFunction | IFormattedMethod | IFormattedClassProperty | FormattedAccessor | FormattedClassAccessor | FormattedPropertyName | IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedObjectLiteralProperty | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; |
@@ -0,3 +1,11 @@ | ||
export * from "./expression/function-like/i-formatted-function-like"; | ||
export * from "./expression/class-element/i-formatted-class-element"; | ||
export * from "./expression/class-property/i-formatted-class-property"; | ||
export * from "./expression/function/formatted-function-kind"; | ||
export * from "./expression/function/i-formatted-function"; | ||
export * from "./expression/method/i-formatted-method"; | ||
export * from "./expression/block/i-formatted-block"; | ||
export * from "./expression/accessor/i-formatted-accessor"; | ||
export * from "./expression/accessor/formatted-accessor-kind"; | ||
export * from "./expression/class-accessor/i-formatted-class-accessor"; | ||
export * from "./expression/property-name/i-formatted-property-name"; | ||
@@ -9,2 +17,3 @@ export * from "./expression/property-name/formatted-property-name-kind"; | ||
export * from "./expression/class/i-formatted-class"; | ||
export * from "./expression/class/formatted-class-member"; | ||
export * from "./expression/formatted-expression/i-formatted-expression"; | ||
@@ -11,0 +20,0 @@ export * from "./expression/formatted-expression-kind/formatted-expression-kind"; |
@@ -0,1 +1,2 @@ | ||
export * from "./expression/function/formatted-function-kind"; | ||
export * from "./expression/accessor/formatted-accessor-kind"; | ||
@@ -2,0 +3,0 @@ export * from "./expression/property-name/formatted-property-name-kind"; |
@@ -1,13 +0,8 @@ | ||
import { FormattedExpression, IFormattedExpression } from "../formatted-expression/i-formatted-expression"; | ||
import { FormattedExpressionKind } from "../formatted-expression-kind/formatted-expression-kind"; | ||
import { FormattedAccessorKind } from "./formatted-accessor-kind"; | ||
import { FormattedPropertyName } from "../property-name/i-formatted-property-name"; | ||
import { Type } from "../../type/type/type"; | ||
import { ParameterType } from "../../type/parameter-type/i-parameter-type"; | ||
export interface IFormattedAccessor extends IFormattedExpression { | ||
import { IFormattedFunctionLike } from "../function-like/i-formatted-function-like"; | ||
export interface IFormattedAccessor extends IFormattedFunctionLike { | ||
expressionKind: FormattedExpressionKind.ACCESSOR; | ||
name: FormattedPropertyName; | ||
kind: FormattedAccessorKind; | ||
type: Type; | ||
body: FormattedExpression; | ||
} | ||
@@ -14,0 +9,0 @@ export interface IFormattedGetAccessor extends IFormattedAccessor { |
@@ -5,2 +5,3 @@ import { IFormattedExpression } from "../formatted-expression/i-formatted-expression"; | ||
import { IFormattedDecorator } from "../decorator/i-formatted-decorator"; | ||
import { FormattedClassMember } from "./formatted-class-member"; | ||
export interface IFormattedClass extends IFormattedExpression { | ||
@@ -12,2 +13,3 @@ expressionKind: FormattedExpressionKind.CLASS; | ||
decorators: IFormattedDecorator[]; | ||
members: FormattedClassMember[]; | ||
} |
export declare enum FormattedExpressionKind { | ||
ACCESSOR = "ACCESSOR", | ||
CLASS_PROPERTY = "PROPERTY", | ||
CLASS_ACCESSOR = "CLASS_ACCESSOR", | ||
FUNCTION = "FUNCTION", | ||
METHOD = "METHOD", | ||
BLOCK = "BLOCK", | ||
EXPRESSION = "EXPRESSION", | ||
@@ -4,0 +9,0 @@ DECORATOR = "DECORATOR", |
@@ -15,2 +15,7 @@ (function (factory) { | ||
FormattedExpressionKind["ACCESSOR"] = "ACCESSOR"; | ||
FormattedExpressionKind["CLASS_PROPERTY"] = "PROPERTY"; | ||
FormattedExpressionKind["CLASS_ACCESSOR"] = "CLASS_ACCESSOR"; | ||
FormattedExpressionKind["FUNCTION"] = "FUNCTION"; | ||
FormattedExpressionKind["METHOD"] = "METHOD"; | ||
FormattedExpressionKind["BLOCK"] = "BLOCK"; | ||
FormattedExpressionKind["EXPRESSION"] = "EXPRESSION"; | ||
@@ -17,0 +22,0 @@ FormattedExpressionKind["DECORATOR"] = "DECORATOR"; |
@@ -18,2 +18,7 @@ import { FormattedExpressionKind } from "../formatted-expression-kind/formatted-expression-kind"; | ||
import { FormattedAccessor } from "../accessor/i-formatted-accessor"; | ||
import { IFormattedBlock } from "../block/i-formatted-block"; | ||
import { FormattedFunction } from "../function/i-formatted-function"; | ||
import { FormattedClassAccessor } from "../class-accessor/i-formatted-class-accessor"; | ||
import { IFormattedMethod } from "../method/i-formatted-method"; | ||
import { IFormattedClassProperty } from "../class-property/i-formatted-class-property"; | ||
export interface IFormattedExpression { | ||
@@ -24,2 +29,2 @@ expressionKind: FormattedExpressionKind; | ||
} | ||
export declare type FormattedExpression = FormattedAccessor | FormattedPropertyName | IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedObjectLiteralProperty | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; | ||
export declare type FormattedExpression = IFormattedBlock | FormattedFunction | IFormattedMethod | IFormattedClassProperty | FormattedAccessor | FormattedClassAccessor | FormattedPropertyName | IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedObjectLiteralProperty | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; |
@@ -0,3 +1,11 @@ | ||
export * from "./expression/function-like/i-formatted-function-like"; | ||
export * from "./expression/class-element/i-formatted-class-element"; | ||
export * from "./expression/class-property/i-formatted-class-property"; | ||
export * from "./expression/function/formatted-function-kind"; | ||
export * from "./expression/function/i-formatted-function"; | ||
export * from "./expression/method/i-formatted-method"; | ||
export * from "./expression/block/i-formatted-block"; | ||
export * from "./expression/accessor/i-formatted-accessor"; | ||
export * from "./expression/accessor/formatted-accessor-kind"; | ||
export * from "./expression/class-accessor/i-formatted-class-accessor"; | ||
export * from "./expression/property-name/i-formatted-property-name"; | ||
@@ -9,2 +17,3 @@ export * from "./expression/property-name/formatted-property-name-kind"; | ||
export * from "./expression/class/i-formatted-class"; | ||
export * from "./expression/class/formatted-class-member"; | ||
export * from "./expression/formatted-expression/i-formatted-expression"; | ||
@@ -11,0 +20,0 @@ export * from "./expression/formatted-expression-kind/formatted-expression-kind"; |
@@ -7,3 +7,3 @@ (function (factory) { | ||
else if (typeof define === "function" && define.amd) { | ||
define(["require", "exports", "tslib", "./expression/accessor/formatted-accessor-kind", "./expression/property-name/formatted-property-name-kind", "./expression/formatted-expression-kind/formatted-expression-kind", "./expression/property-name/formatted-property-name-kind", "./binding-name/array-binding-name-kind", "./binding-name/binding-name-kind", "./binding-name/i-binding-name", "./type/interface-type/i-interface-type", "./type/interface-type/i-interface-type-member", "./type/interface-type/i-interface-type-member-name", "./type/interface-type/interface-type-member-name-kind", "./type/parameter-type/i-parameter-type", "./type/type/type", "./type/type-kind/type-kind", "./type/type-parameter/i-type-parameter"], factory); | ||
define(["require", "exports", "tslib", "./expression/function/formatted-function-kind", "./expression/accessor/formatted-accessor-kind", "./expression/property-name/formatted-property-name-kind", "./expression/formatted-expression-kind/formatted-expression-kind", "./expression/property-name/formatted-property-name-kind", "./binding-name/array-binding-name-kind", "./binding-name/binding-name-kind", "./binding-name/i-binding-name", "./type/interface-type/i-interface-type", "./type/interface-type/i-interface-type-member", "./type/interface-type/i-interface-type-member-name", "./type/interface-type/interface-type-member-name-kind", "./type/parameter-type/i-parameter-type", "./type/type/type", "./type/type-kind/type-kind", "./type/type-parameter/i-type-parameter"], factory); | ||
} | ||
@@ -14,2 +14,3 @@ })(function (require, exports) { | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./expression/function/formatted-function-kind"), exports); | ||
tslib_1.__exportStar(require("./expression/accessor/formatted-accessor-kind"), exports); | ||
@@ -16,0 +17,0 @@ tslib_1.__exportStar(require("./expression/property-name/formatted-property-name-kind"), exports); |
{ | ||
"name": "@wessberg/type", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "Type signatures and enums for model types.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
148646
250
2333