@getstrata/core 3.1.4 → 3.1.5
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 +4 -0
- package/dist/framework/public-api.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @getstrata/core changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.5
|
|
4
|
+
|
|
5
|
+
Fix published class-model type exports so inferred fields and strict model/repository contracts remain intact in installed applications.
|
|
6
|
+
|
|
3
7
|
## 3.1.4
|
|
4
8
|
|
|
5
9
|
- Synchronize package versions and dependency pins at 3.1.4 for the corrected starter release validation. No additional runtime changes in this package.
|
|
@@ -26,7 +26,6 @@ export type { PersistenceErrorCode, PersistenceErrorOptions, PersistenceResult,
|
|
|
26
26
|
export { mapDatabaseError, PersistenceError, RecordNotFoundError, withDatabaseErrorHandling, } from "@getstrata/core/database/errors";
|
|
27
27
|
export type { FactoryBehavior, FactoryConstruction, FactoryDefinition, FactoryMakeResult, FactoryParent, FactoryPersist, StatelessFactoryConstruction, } from "@getstrata/core/database/factory";
|
|
28
28
|
export { defineFactory, Factory } from "@getstrata/core/database/factory";
|
|
29
|
-
export type { AnyModelClass, AuthoredModelClass, InferModelFields, ModelClassOptions, ModelField, ModelFields, } from "@getstrata/core/database/model";
|
|
30
29
|
export { DATABASE_SESSION_TOKEN } from "@getstrata/core/database/tokens";
|
|
31
30
|
export { BadRequestError, ConflictError, ForbiddenError, HttpError, InternalServerError, InvalidCredentialsError, isHttpErrorLike, NotFoundError, PayloadTooLargeError, PreconditionFailedError, toHttpError, UnauthorizedError, UnprocessableEntityError, ValidationError, } from "@getstrata/core/errors/http";
|
|
32
31
|
export { type ParsedUpload, parseMultipartUpload, parseMultipartUploadStream, sanitizeUploadFileName, UploadedFile, validateUploadFile, } from "@getstrata/core/http/parseMultipartUpload";
|
|
@@ -81,6 +80,7 @@ export { freshDatabase, getMigrationStatus, loadMigrationsFromDirectory, migrate
|
|
|
81
80
|
export type { Migration, MigrationDatabase, MigrationStatus, } from "../core/database/migrations/types.ts";
|
|
82
81
|
export type { CastType, ModelAttributes, ModelProjection, } from "../core/database/model.ts";
|
|
83
82
|
export { applyCasts, dehydrateValue, filterMassAssignable, hydrateValue, } from "../core/database/modelAttributes.ts";
|
|
83
|
+
export type { AnyModelClass, AuthoredModelClass, InferModelFields, ModelClassOptions, ModelField, ModelFields, } from "../core/database/modelAuthoring";
|
|
84
84
|
export type { MysqlConnection, MysqlExecutable, MysqlPool, } from "../core/database/mysqlConnection.ts";
|
|
85
85
|
export { createMysqlConnection, createMysqlConnectionFromPool, createMysqlPool, } from "../core/database/mysqlConnection.ts";
|
|
86
86
|
export { buildAdvancedWhereClause, buildCountQuery, buildDeleteByIdQuery, buildGroupedCountQuery, buildInsertQuery, buildJoinClause, buildOrderByClause, buildProjectionQuery, buildQueryWhereClause, buildRestoreByIdQuery, buildSelectQuery, buildSoftDeleteByIdQuery, buildUpdateQuery, buildWhereClause, parseQualifiedColumn, qualifyColumn, quoteIdentifier, resolveQualifiedColumn, resolveSoftDeleteColumn, } from "../core/database/query.ts";
|