@zerotal/tenancy 1.14.3 → 1.15.0
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/api-surface.md +5 -2
- package/package.json +3 -3
package/api-surface.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
<!-- AUTO-GENERATED by scripts/api-surface.ts. Do not edit by hand.
|
|
4
4
|
Run `bun run api:surface` to regenerate after an intentional API change. -->
|
|
5
5
|
|
|
6
|
+
> Not a guide — this is a flat, alphabetical snapshot used to detect unintended
|
|
7
|
+
> API changes. For how to use these, read the [documentation](https://zerotal.dev/docs).
|
|
8
|
+
|
|
6
9
|
## . `(./src/index.ts)`
|
|
7
10
|
|
|
8
11
|
class AuthResolver = {
|
|
@@ -211,7 +214,7 @@ class TenantModel = {
|
|
|
211
214
|
$dirty: () => Record<string, unknown>
|
|
212
215
|
append: (...keys: string[]) => TenantModel
|
|
213
216
|
associate: (relation: string, model: BaseModel) => TenantModel
|
|
214
|
-
createdAt?:
|
|
217
|
+
createdAt?: Carbon
|
|
215
218
|
database?: string | null
|
|
216
219
|
decrement: (column: 'id' | 'name' | 'createdAt' | 'updatedAt' | '__isZerotalModel' | 'fill' | 'forceFill' | 'save' | 'delete' | 'load' | 'loadMissing' | 'fresh' | 'refresh' | 'replicate' | 'touch' | 'is' | 'isNot' | 'increment' | 'decrement' | 'loadCount' | 'loadSum' | 'loadAvg' | 'loadMin' | 'loadMax' | 'makeHidden' | 'makeVisible' | 'append' | 'associate' | 'dissociate' | 'isDirty' | '$dirty' | 'markDirty' | 'toJSON' | 'database' | 'slug' | 'isActive', amount?: number) => Promise<TenantModel>
|
|
217
220
|
delete: () => Promise<void>
|
|
@@ -243,7 +246,7 @@ class TenantModel = {
|
|
|
243
246
|
slug: string
|
|
244
247
|
toJSON: () => Record<string, unknown>
|
|
245
248
|
touch: () => Promise<TenantModel>
|
|
246
|
-
updatedAt?:
|
|
249
|
+
updatedAt?: Carbon
|
|
247
250
|
}
|
|
248
251
|
|
|
249
252
|
class TenantNotFoundError = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zerotal/tenancy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"maturity": "stable",
|
|
6
6
|
"private": false,
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"typecheck": "tsc --noEmit"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@zerotal/core": "1.
|
|
34
|
-
"@zerotal/orm": "1.
|
|
33
|
+
"@zerotal/core": "1.15.0",
|
|
34
|
+
"@zerotal/orm": "1.15.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "^5.8.0"
|