sedentary 0.0.30 → 0.0.31
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/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ declare type ModelAttributesIf<A extends AttributesDefinition, T> = keyof A exte
|
|
|
62
62
|
declare type ModelAttributes<A extends AttributesDefinition, B extends boolean, K extends string, P extends ModelStd> = K extends keyof A ? A : ModelAttributesIf<A, P extends new () => EntryBase ? P["attributes"] : {
|
|
63
63
|
id: Type<BaseKeyType<B>, unknown>;
|
|
64
64
|
}>;
|
|
65
|
-
interface ModelLoad<A extends AttributesDefinition, E extends EntryBase> {
|
|
65
|
+
export interface ModelLoad<A extends AttributesDefinition, E extends EntryBase> {
|
|
66
66
|
attributes: A;
|
|
67
67
|
load(where: Condition<A>, order?: Order<A>, tx?: Transaction, lock?: boolean): Promise<E[]>;
|
|
68
68
|
load(where: Condition<A>, tx: Transaction, lock?: boolean): Promise<E[]>;
|
package/package.json
CHANGED