@stacksjs/types 0.70.175 → 0.70.176
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/model.d.ts +10 -0
- package/package.json +2 -2
package/dist/model.d.ts
CHANGED
|
@@ -260,6 +260,16 @@ export type SocialProviders = 'google' | 'github' | 'apple' | 'twitter' | 'faceb
|
|
|
260
260
|
declare type LogAttribute = string;
|
|
261
261
|
export type SocialOptions = SocialProviders[];
|
|
262
262
|
declare type ApiOptions = DeepPartial<ApiSettings>;
|
|
263
|
+
/**
|
|
264
|
+
* The attribute VALUES of one model row, as handed to a computed getter or
|
|
265
|
+
* setter: `salutationName: (attributes: Attributes) => …`.
|
|
266
|
+
*
|
|
267
|
+
* Not to be confused with `AttributesElements`, which is the map of attribute
|
|
268
|
+
* DEFINITIONS on a model. Built-in models have imported this name since they
|
|
269
|
+
* were written; it was simply never exported, so every one of them was a
|
|
270
|
+
* TS2724 the moment @stacksjs/types started shipping declarations.
|
|
271
|
+
*/
|
|
272
|
+
export type Attributes = Record<string, any>;
|
|
263
273
|
/**
|
|
264
274
|
* Type alias for a collection of models
|
|
265
275
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.176",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@stacksjs/validation": "0.70.
|
|
69
|
+
"@stacksjs/validation": "0.70.176",
|
|
70
70
|
"better-dx": "^0.2.17",
|
|
71
71
|
"meilisearch": "^0.59.0"
|
|
72
72
|
},
|