Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/record/attrDef.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export declare class ChainableAttributeSpec<F extends Function> {
set(fun: any): this;
changeEvents(events: boolean): this;
events(map: EventsDefinition): this;
properties(props: object): this;
readonly has: this;
metadata(options: object): this;
value(x: any): this;
Expand Down
3 changes: 3 additions & 0 deletions lib/record/attrDef.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/record/attrDef.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/record/metatypes/any.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface AttributeOptions {
hasCustomDefault?: boolean;
parse?: Parse;
toJSON?: AttributeToJSON;
properties?: Object;
getHooks?: GetHook[];
transforms?: Transform[];
changeHandlers?: ChangeHandler[];
Expand All @@ -38,10 +39,11 @@ export declare class AnyType implements AttributeUpdatePipeline {
dispose(record: AttributesContainer, value: any): void;
validate(record: AttributesContainer, value: any, key: string): any;
toJSON(value: any, key: any, options?: object): any;
properties: Object;
createPropertyDescriptor(): PropertyDescriptor | void;
value: any;
static defaultValue: any;
type: Function;
type: any;
initialize(name: string, options: TransactionOptions): void;
options: AttributeOptions;
doInit(value: any, record: AttributesContainer, options: TransactionOptions): any;
Expand Down
3 changes: 2 additions & 1 deletion lib/record/metatypes/any.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading