@itrocks/mysql 0.0.10 → 0.0.12
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/cjs/mysql.d.ts +1 -3
- package/esm/mysql.d.ts +1 -3
- package/package.json +2 -2
package/cjs/mysql.d.ts
CHANGED
|
@@ -48,9 +48,7 @@ export declare class Mysql extends DataSource {
|
|
|
48
48
|
id: Identifier;
|
|
49
49
|
}>[]>;
|
|
50
50
|
readCollectionIds<T extends object, PT extends object>(object: Entity<T>, property: KeyOf<T>, type?: Type<PT>): Promise<Identifier[]>;
|
|
51
|
-
readMultiple<T extends object>(type: Type<T>, ids: Identifier[]): Promise<
|
|
52
|
-
id: Identifier;
|
|
53
|
-
}>[]>;
|
|
51
|
+
readMultiple<T extends object>(type: Type<T>, ids: Identifier[]): Promise<Entity<T>[]>;
|
|
54
52
|
save<T extends object>(object: MayEntity<T>): Promise<Entity<T>>;
|
|
55
53
|
search<T extends object>(type: Type<T>, search?: SearchType<T>): Promise<Entity<T>[]>;
|
|
56
54
|
update<T extends object>(object: Entity<T>): Promise<Entity<T>>;
|
package/esm/mysql.d.ts
CHANGED
|
@@ -48,9 +48,7 @@ export declare class Mysql extends DataSource {
|
|
|
48
48
|
id: Identifier;
|
|
49
49
|
}>[]>;
|
|
50
50
|
readCollectionIds<T extends object, PT extends object>(object: Entity<T>, property: KeyOf<T>, type?: Type<PT>): Promise<Identifier[]>;
|
|
51
|
-
readMultiple<T extends object>(type: Type<T>, ids: Identifier[]): Promise<
|
|
52
|
-
id: Identifier;
|
|
53
|
-
}>[]>;
|
|
51
|
+
readMultiple<T extends object>(type: Type<T>, ids: Identifier[]): Promise<Entity<T>[]>;
|
|
54
52
|
save<T extends object>(object: MayEntity<T>): Promise<Entity<T>>;
|
|
55
53
|
search<T extends object>(type: Type<T>, search?: SearchType<T>): Promise<Entity<T>[]>;
|
|
56
54
|
update<T extends object>(object: Entity<T>): Promise<Entity<T>>;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@itrocks/reflect": "latest",
|
|
9
9
|
"@itrocks/storage": "latest",
|
|
10
10
|
"mariadb": "^3.4",
|
|
11
|
-
"typescript": "~5.
|
|
11
|
+
"typescript": "~5.8"
|
|
12
12
|
},
|
|
13
13
|
"description": "Transforms model objects to and from MySQL database records",
|
|
14
14
|
"devDependencies": {
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"build:esm": "tsc -p tsconfig.esm.json"
|
|
59
59
|
},
|
|
60
60
|
"types": "./esm/mysql.d.ts",
|
|
61
|
-
"version": "0.0.
|
|
61
|
+
"version": "0.0.12"
|
|
62
62
|
}
|