orchid-orm 1.4.17 → 1.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # orchid-orm
2
2
 
3
+ ## 1.4.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - pqb@0.8.3
9
+
10
+ ## 1.4.18
11
+
12
+ ### Patch Changes
13
+
14
+ - Add code generator to change project files after migrations
15
+ - Updated dependencies
16
+ - pqb@0.8.2
17
+
3
18
  ## 1.4.17
4
19
 
5
20
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -229,10 +229,14 @@ declare type Repo<T extends Query, Methods extends MethodsBase<T>, Mapped = MapM
229
229
  }>(q: Q) => Q & Mapped) & T & Mapped;
230
230
  declare const createRepo: <T extends Query, Methods extends MethodsBase<T>>(table: T, methods: Methods) => Repo<T, Methods, MapMethods<T, Methods>>;
231
231
 
232
+ declare class AppCodeUpdaterError extends Error {
233
+ }
232
234
  declare type AppCodeUpdaterConfig = {
233
235
  tablePath(tableName: string): string;
236
+ baseTablePath: string;
237
+ baseTableName: string;
234
238
  mainFilePath: string;
235
239
  };
236
- declare const appCodeUpdater: () => AppCodeUpdater;
240
+ declare const appCodeUpdater: (config: AppCodeUpdaterConfig) => AppCodeUpdater;
237
241
 
238
- export { AppCodeUpdaterConfig, DbTable, MapMethods, MapQueryMethods, MethodsBase, OrchidORM, QueryMethods, Repo, Table, TableClass, TableClasses, TableToDb, appCodeUpdater, createBaseTable, createRepo, orchidORM };
242
+ export { AppCodeUpdaterConfig, AppCodeUpdaterError, DbTable, MapMethods, MapQueryMethods, MethodsBase, OrchidORM, QueryMethods, Repo, Table, TableClass, TableClasses, TableToDb, appCodeUpdater, createBaseTable, createRepo, orchidORM };