velocious 1.0.450 → 1.0.451

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "velocious": "build/bin/velocious.js"
4
4
  },
5
5
  "name": "velocious",
6
- "version": "1.0.450",
6
+ "version": "1.0.451",
7
7
  "main": "build/index.js",
8
8
  "types": "build/index.d.ts",
9
9
  "files": [
@@ -263,6 +263,8 @@
263
263
  * @property {string} [columnType] - Alias for column type name.
264
264
  * @property {string} [sqlType] - Alias for column type name.
265
265
  * @property {string} [dataType] - Alias for column type name.
266
+ * @property {string} [jsDocType] - Exact generated JSDoc type for non-column attributes.
267
+ * @property {string} [name] - Attribute name when configured as an array entry.
266
268
  * @property {boolean} [null] - Whether value can be null.
267
269
  * @property {boolean} [selectedByDefault] - Whether included in default serialization. Defaults to true.
268
270
  */
@@ -274,7 +276,7 @@
274
276
 
275
277
  /**
276
278
  * @typedef {object} FrontendModelResourceConfiguration
277
- * @property {string[] | Record<string, FrontendModelAttributeConfiguration | import("./database/drivers/base-column.js").default | boolean>} attributes - Attributes to expose on the frontend model.
279
+ * @property {Array<string | FrontendModelAttributeConfiguration> | Record<string, FrontendModelAttributeConfiguration | import("./database/drivers/base-column.js").default | boolean>} attributes - Attributes to expose on the frontend model.
278
280
  * @property {string[]} [abilities] - Ability action list (camelCase action names). Defaults to `["read"]` for `find` and `index` when omitted.
279
281
  * @property {Record<string, FrontendModelAttachmentConfiguration>} [attachments] - Attachment helpers keyed by attachment name.
280
282
  * @property {string[]} [commands] - Legacy built-in command names (`index`, `find`, `create`, `update`, `destroy`, `attach`, `download`, `url`).