factory.ts
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -32,2 +32,3 @@ import { RecPartial, Omit } from "./shared"; | ||
build: Async.FactoryFunc<T, K, T>; | ||
private buildInner; | ||
buildList: Async.ListFactoryFunc<T, K, T>; | ||
@@ -38,2 +39,3 @@ extend(def: RecPartial<Builder<T, K>>): Factory<T, K>; | ||
withDerivation<KOut extends keyof T>(kOut: KOut, f: (v1: T, seq: number) => T[KOut] | Promise<T[KOut]>): Factory<T, K>; | ||
withSelfDerivation<KOut extends K>(kOut: KOut, f: (v1: T, seq: number) => T[KOut] | Promise<T[KOut]>): Factory<T, K>; | ||
withDerivation1<K1 extends keyof T, KOut extends keyof T>(kInput: [K1], kOut: KOut, f: (v1: T[K1], seq: number) => T[KOut] | Promise<T[KOut]>): Factory<T, K>; | ||
@@ -40,0 +42,0 @@ withDerivation2<K1 extends keyof T, K2 extends keyof T, KOut extends keyof T>(kInput: [K1, K2], kOut: KOut, f: (v1: T[K1], v2: T[K2], seq: number) => T[KOut] | Promise<T[KOut]>): Factory<T, K>; |
@@ -52,2 +52,5 @@ "use strict"; | ||
this.build = ((item) => __awaiter(this, void 0, void 0, function* () { | ||
return this.buildInner(null, item); | ||
})); | ||
this.buildInner = (buildKeys, item) => __awaiter(this, void 0, void 0, function* () { | ||
const seqNum = this.seqNum; | ||
@@ -60,10 +63,19 @@ this.seqNum++; | ||
} | ||
const keys = Object.keys(item || {}); | ||
const directlySpecifiedKeys = Object.keys(item || {}); | ||
if (!buildKeys) { | ||
buildKeys = base.derived.map((d) => d.key); | ||
} | ||
for (const der of base.derived) { | ||
if (keys.indexOf(der.key) < 0) { | ||
v[der.key] = yield der.derived.build(v, seqNum); | ||
if (!buildKeys.includes(der.key)) { | ||
// console.log(`skip unspecified build key ${der.key}`); | ||
continue; | ||
} | ||
if (directlySpecifiedKeys.includes(der.key)) { | ||
// console.log(`skip explicitly defined build key ${der.key}`); | ||
continue; | ||
} | ||
v[der.key] = yield der.derived.build(v, seqNum); | ||
} | ||
return lift(v); | ||
})); | ||
}); | ||
this.buildList = ((count, item) => __awaiter(this, void 0, void 0, function* () { | ||
@@ -100,2 +112,12 @@ const ts = Array(count); // allocate to correct size | ||
} | ||
withSelfDerivation(kOut, f) { | ||
const partial = {}; | ||
partial[kOut] = new Derived((v2, seq) => __awaiter(this, void 0, void 0, function* () { | ||
delete v2[kOut]; | ||
const origValue = (yield this.buildInner([kOut], v2))[kOut]; | ||
v2[kOut] = origValue; | ||
return f(v2, seq); | ||
})); | ||
return this.extend(partial); | ||
} | ||
withDerivation1(kInput, kOut, f) { | ||
@@ -198,2 +220,2 @@ const partial = {}; | ||
exports.makeFactoryFromSync = makeFactoryFromSync; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN5bmMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXN5bmMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEscUNBQXNFO0FBQ3RFLCtCQUErQjtBQUUvQix3Q0FBd0M7QUFjeEMsU0FBUyxTQUFTLENBQUksQ0FBaUI7SUFDckMsT0FBTyxDQUFDLENBQUMsQ0FBQyxJQUFJLE9BQVEsQ0FBUyxDQUFDLE1BQU0sQ0FBQyxLQUFLLFVBQVUsQ0FBQztBQUN6RCxDQUFDO0FBRUQsU0FBZ0IsSUFBSSxDQUFJLENBQWlCO0lBQ3ZDLElBQUksU0FBUyxDQUFDLENBQUMsQ0FBQyxFQUFFO1FBQ2hCLE9BQU8sQ0FBQyxDQUFDO0tBQ1Y7U0FBTTtRQUNMLE9BQU8sT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBQztLQUMzQjtBQUNILENBQUM7QUFORCxvQkFNQztBQUVELE1BQWEsU0FBUztJQUNwQixZQUFxQixJQUFxQztRQUFyQyxTQUFJLEdBQUosSUFBSSxDQUFpQztJQUFHLEN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NLENBQVMsR0FDVixJQUFJLEVBQ1A7UUFDSixDQUFDLENBQUEsQ0FBQyxDQUNILENBQUM7SUFDSixDQUFDO0lBRU0sVUFBVSxDQUNmLE9BQTZCLEVBQzdCLEdBQU0sRUFDTixPQUEwRTtRQUUxRSxPQUFPLElBQUksQ0FBQyxjQUFjLENBQ3hCLENBQUMsQ0FBQyxDQUFNLEVBQUUsRUFBRSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQVEsRUFDckMsR0FBRyxFQUNILE9BQU8sQ0FDUixDQUFDO0lBQ0osQ0FBQztJQUVNLFlBQVksQ0FDakIsT0FBeUMsRUFDekMsR0FBTSxFQUNOLE9BQTBFO1FBRTFFLE9BQU8sSUFBSSxDQUFDLGNBQWMsQ0FDeEIsQ0FBQyxDQUFDLENBQU0sRUFBRSxFQUFFLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBUSxFQUNyQyxHQUFHLEVBQ0gsT0FBTyxDQUNSLENBQUM7SUFDSixDQUFDO0lBRUQsSUFBSSxDQUNGLFdBQTRELEVBQzVELFVBQThEO1FBRTlELE9BQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsV0FBVyxFQUFFLFVBQVUsQ0FBQyxDQUFDO0lBQ3BELENBQUM7SUFFRCxTQUFTO1FBQ1AsT0FBTyxLQUFLLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxPQUFvQyxDQUFDLENBQUM7SUFDdEUsQ0FBQztDQUNGO0FBdkZELDRCQXVGQyJ9 |
@@ -5,2 +5,4 @@ import { RecPartial, Omit } from "./shared"; | ||
} | ||
export declare type FactoryFunc<T, K extends keyof T> = keyof T extends K ? (item?: RecPartial<T>) => T : (item: RecPartial<T> & Omit<T, K>) => T; | ||
export declare type ListFactoryFunc<T, K extends keyof T> = keyof T extends K ? (count: number, item?: RecPartial<T>) => T[] : (count: number, item: RecPartial<T> & Omit<T, K>) => T[]; | ||
export declare class Generator<T> { | ||
@@ -16,5 +18,7 @@ readonly func: (seq: number) => T; | ||
} | ||
export declare type FactoryFunc<T, K extends keyof T> = keyof T extends K ? (item?: RecPartial<T>) => T : (item: RecPartial<T> & Omit<T, K>) => T; | ||
export declare type ListFactoryFunc<T, K extends keyof T> = keyof T extends K ? (count: number, item?: RecPartial<T>) => T[] : (count: number, item: RecPartial<T> & Omit<T, K>) => T[]; | ||
export declare class Factory<T, K extends keyof T = keyof T> { | ||
export interface IFactory<T, K extends keyof T> { | ||
build: FactoryFunc<T, K>; | ||
buildList: ListFactoryFunc<T, K>; | ||
} | ||
export declare class Factory<T, K extends keyof T = keyof T> implements IFactory<T, K> { | ||
readonly builder: Builder<T, K> | BuilderFactory<T, K>; | ||
@@ -28,6 +32,8 @@ private readonly config; | ||
build: FactoryFunc<T, K>; | ||
private buildInner; | ||
buildList: ListFactoryFunc<T, K>; | ||
extend(def: RecPartial<Builder<T, K>>): Factory<T, K>; | ||
combine<U, K2 extends keyof U>(other: Factory<U, K2>): Factory<T & U, K | K2>; | ||
withDerivation<KOut extends keyof T>(kOut: KOut, f: (v1: T, seq: number) => T[KOut]): Factory<T, K>; | ||
withSelfDerivation<KOut extends K>(kOut: KOut, f: (v1: T, seq: number) => T[KOut]): Factory<T, K>; | ||
withDerivation<KOut extends K>(kOut: KOut, f: (v1: T, seq: number) => T[KOut]): Factory<T, K>; | ||
withDerivation1<K1 extends keyof T, KOut extends keyof T>(kInput: [K1], kOut: KOut, f: (v1: T[K1], seq: number) => T[KOut]): Factory<T, K>; | ||
@@ -34,0 +40,0 @@ withDerivation2<K1 extends keyof T, K2 extends keyof T, KOut extends keyof T>(kInput: [K1, K2], kOut: KOut, f: (v1: T[K1], v2: T[K2], seq: number) => T[KOut]): Factory<T, K>; |
@@ -31,2 +31,5 @@ "use strict"; | ||
this.build = ((item) => { | ||
return this.buildInner(null, item); | ||
}); | ||
this.buildInner = (buildKeys, item) => { | ||
const seqNum = this.seqNum; | ||
@@ -39,10 +42,19 @@ this.seqNum++; | ||
} | ||
const keys = Object.keys(item || {}); | ||
const directlySpecifiedKeys = Object.keys(item || {}); | ||
if (!buildKeys) { | ||
buildKeys = base.derived.map((d) => d.key); | ||
} | ||
for (const der of base.derived) { | ||
if (keys.indexOf(der.key) < 0) { | ||
v[der.key] = der.derived.build(v, seqNum); | ||
if (!buildKeys.includes(der.key)) { | ||
// console.log(`skip unspecified build key ${der.key}`); | ||
continue; | ||
} | ||
if (directlySpecifiedKeys.includes(der.key)) { | ||
// console.log(`skip explicitly defined build key ${der.key}`); | ||
continue; | ||
} | ||
v[der.key] = der.derived.build(v, seqNum); | ||
} | ||
return v; | ||
}); | ||
}; | ||
this.buildList = ((count, item) => { | ||
@@ -73,2 +85,12 @@ const ts = Array(count); // allocate to correct size | ||
} | ||
withSelfDerivation(kOut, f) { | ||
const partial = {}; | ||
partial[kOut] = new Derived((v2, seq) => { | ||
delete v2[kOut]; | ||
const origValue = this.buildInner([kOut], v2)[kOut]; | ||
v2[kOut] = origValue; | ||
return f(v2, seq); | ||
}); | ||
return this.extend(partial); | ||
} | ||
withDerivation(kOut, f) { | ||
@@ -144,2 +166,2 @@ const partial = {}; | ||
exports.makeFactoryWithRequired = makeFactoryWithRequired; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zeW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHFDQUFzRTtBQUN0RSx3Q0FBd0M7QUFNeEMsTUFBYSxTQUFTO0lBQ3BCLFlBQXFCLElBQXdCO1FBQXhCLFNBQUksR0FBSixJQUFJLENBQW9CO0lBQUcsQ0FBQztJQUMxQyxLQUFLLENBQUMsR0FBVztRQUN0QixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDeEIs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DQUFDLENBQUM7QUFDdEMsQ0FBQztBQVBELDBEQU9DIn0= |
{ | ||
"name": "factory.ts", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A Typescript test data factory similar to factory_bot and rosie", |
@@ -133,2 +133,4 @@ # factory.ts | ||
If you wish to use an underlying factory's returned value for a given property as _input_ to derive a new value for the property, you can use `withSelfDerviation()`. This will ensure the key you are deriving has a valid starting value (not the case when using `withDerivation`). | ||
Finally, you could instantiate a `Derived<TOwner,TProperty>` for the value of a property inside a `Factory.makeFactory` definition, but the type inference can't help you as much - you'll have to indicate the type of TOwner and TProperty. | ||
@@ -135,0 +137,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186161
1953
223