@goatlab/fluent 0.6.17 → 0.6.20
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/BaseConnector.d.ts +15 -14
- package/dist/BaseConnector.js +74 -49
- package/dist/TypeOrmConnector/TypeOrmConnector.d.ts +3 -2
- package/dist/TypeOrmConnector/TypeOrmConnector.js +15 -5
- package/dist/TypeOrmConnector/test/advanced/advancedTestSuite.js +15 -14
- package/dist/TypeOrmConnector/test/relations/relationsTestsSuite.d.ts +1 -1
- package/dist/TypeOrmConnector/test/relations/relationsTestsSuite.js +21 -18
- package/dist/index.d.ts +2 -2
- package/dist/loadRelations.d.ts +2 -1
- package/dist/loadRelations.js +12 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +5 -10
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -26,17 +26,12 @@ export interface Deleted {
|
|
|
26
26
|
}
|
|
27
27
|
export declare type Primitives = boolean | string | number | ObjectID;
|
|
28
28
|
export declare type PrimitivesArray = boolean[] | string[] | number[] | ObjectID[];
|
|
29
|
-
export interface BaseDaoExtendedAttributes {
|
|
30
|
-
id: string;
|
|
31
|
-
created: string;
|
|
32
|
-
updated: string;
|
|
33
|
-
deleted?: string;
|
|
34
|
-
owner?: string;
|
|
35
|
-
_ngram?: string;
|
|
36
|
-
roles: string[];
|
|
37
|
-
}
|
|
38
29
|
export declare type LogicOperator = '=' | '<' | '>' | '<=' | '>=' | '<>' | '!=' | 'in' | 'nin' | 'like' | 'regexp' | 'startsWith' | 'endsWith' | 'contains' | 'array-contains';
|
|
39
|
-
export declare type DaoOutput<Input, Output> =
|
|
30
|
+
export declare type DaoOutput<Input, Output> = {
|
|
31
|
+
id: string;
|
|
32
|
+
} & Input | {
|
|
33
|
+
id: string;
|
|
34
|
+
} & Output;
|
|
40
35
|
export declare type WhereClause = [string, LogicOperator, Primitives];
|
|
41
36
|
export declare type Filter = {
|
|
42
37
|
fields?: string[];
|