@ghentcdh/create-crouton 0.0.1-alpha.38 → 0.0.1-alpha.39
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/index.js
CHANGED
|
@@ -18945,6 +18945,14 @@ var FieldInputSchema = external_exports.object({
|
|
|
18945
18945
|
/** Override the display order in form views. Lower values come first. */
|
|
18946
18946
|
position: external_exports.number().optional(),
|
|
18947
18947
|
// default: source order
|
|
18948
|
+
/**
|
|
18949
|
+
* Value to pre-fill this field with on the create form. Injected into the
|
|
18950
|
+
* generated form view's JSON Schema as `properties[id].default`, which
|
|
18951
|
+
* `parseValue({})` (see `@ghentcdh/crouton-vue`'s `form-def.ts`) applies when
|
|
18952
|
+
* opening a blank record. Not applicable to `format: "relation"` fields —
|
|
18953
|
+
* relation columns are excluded from the picked data schema entirely.
|
|
18954
|
+
*/
|
|
18955
|
+
defaultValue: external_exports.unknown().optional(),
|
|
18948
18956
|
options: external_exports.union([RelationFieldInputOptionsSchema, external_exports.unknown()]).optional(),
|
|
18949
18957
|
/** Nested array detail layout (renders via `detailFixed`). */
|
|
18950
18958
|
detail: DetailConfigSchema.optional()
|
|
@@ -19599,7 +19607,7 @@ var runCreate = async (name, opts) => {
|
|
|
19599
19607
|
const tokens = {
|
|
19600
19608
|
name,
|
|
19601
19609
|
Name: toTitle(name),
|
|
19602
|
-
version: true ? "0.0.1-alpha.
|
|
19610
|
+
version: true ? "0.0.1-alpha.39" : "latest",
|
|
19603
19611
|
year: String((/* @__PURE__ */ new Date()).getFullYear()),
|
|
19604
19612
|
pmRun: pm === "npm" ? "npm run" : pm,
|
|
19605
19613
|
urlEnv: "DATABASE_URL",
|