@se-studio/contentful-cms 3.13.1 → 3.13.2
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 +6 -0
- package/README.md +2 -1
- package/dist/cli/parse-boolean.d.ts +3 -0
- package/dist/cli/parse-boolean.d.ts.map +1 -0
- package/dist/cli/parse-boolean.js +9 -0
- package/dist/cli/parse-boolean.js.map +1 -0
- package/dist/commands/create-person.d.ts.map +1 -1
- package/dist/commands/create-person.js +9 -0
- package/dist/commands/create-person.js.map +1 -1
- package/dist/commands/create-taxonomy.d.ts +8 -3
- package/dist/commands/create-taxonomy.d.ts.map +1 -1
- package/dist/commands/create-taxonomy.js +54 -0
- package/dist/commands/create-taxonomy.js.map +1 -1
- package/dist/contentful/cda-sync.d.ts.map +1 -1
- package/dist/contentful/cda-sync.js +5 -1
- package/dist/contentful/cda-sync.js.map +1 -1
- package/dist/contentful/cma-user-agent.d.ts +1 -1
- package/dist/contentful/entry-fields.d.ts +7 -1
- package/dist/contentful/entry-fields.d.ts.map +1 -1
- package/dist/contentful/entry-fields.js +39 -0
- package/dist/contentful/entry-fields.js.map +1 -1
- package/dist/contentful/person-create.d.ts +4 -0
- package/dist/contentful/person-create.d.ts.map +1 -1
- package/dist/contentful/person-create.js +7 -0
- package/dist/contentful/person-create.js.map +1 -1
- package/dist/contentful/person-type-resolve.d.ts +8 -0
- package/dist/contentful/person-type-resolve.d.ts.map +1 -0
- package/dist/contentful/person-type-resolve.js +20 -0
- package/dist/contentful/person-type-resolve.js.map +1 -0
- package/dist/generated/help-topics.d.ts.map +1 -1
- package/dist/generated/help-topics.js +1 -1
- package/dist/generated/help-topics.js.map +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/index/schema.d.ts +2 -2
- package/dist/index/schema.d.ts.map +1 -1
- package/dist/index/schema.js +1 -0
- package/dist/index/schema.js.map +1 -1
- package/docs/FUNCTIONAL_SPEC.md +1 -0
- package/docs/help/index.md +2 -1
- package/docs/help/person-from-json.md +2 -1
- package/package.json +1 -1
package/dist/index/schema.js
CHANGED
package/dist/index/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/index/schema.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAEhC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM;IACN,SAAS;IACT,aAAa;IACb,UAAU;IACV,aAAa;IACb,SAAS;IACT,KAAK;IACL,YAAY;IACZ,gBAAgB;IAChB,QAAQ;IACR,UAAU;IACV,YAAY;CACJ,CAAC;AAIX,qDAAqD;AACrD,MAAM,CAAC,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAK7D,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,OAAQ,qBAA2C,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACrE,CAAC;AAED,oDAAoD;AACpD,MAAM,UAAU,sBAAsB,CAAC,IAAY;IACjD,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCxB,CAAC;AAEF,oFAAoF;AACpF,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;CAO7B,CAAC;AAEF,yFAAyF;AACzF,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;CAIrC,CAAC;AAEF,6FAA6F;AAC7F,MAAM,CAAC,MAAM,sBAAsB,GAAG;;CAErC,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,SAAS,GAAG,cAAc,GAAG,sBAAsB,GAAG,sBAAsB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/index/schema.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAEhC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM;IACN,SAAS;IACT,aAAa;IACb,UAAU;IACV,aAAa;IACb,YAAY;IACZ,SAAS;IACT,KAAK;IACL,YAAY;IACZ,gBAAgB;IAChB,QAAQ;IACR,UAAU;IACV,YAAY;CACJ,CAAC;AAIX,qDAAqD;AACrD,MAAM,CAAC,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAK7D,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,OAAQ,qBAA2C,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACrE,CAAC;AAED,oDAAoD;AACpD,MAAM,UAAU,sBAAsB,CAAC,IAAY;IACjD,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCxB,CAAC;AAEF,oFAAoF;AACpF,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;CAO7B,CAAC;AAEF,yFAAyF;AACzF,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;CAIrC,CAAC;AAEF,6FAA6F;AAC7F,MAAM,CAAC,MAAM,sBAAsB,GAAG;;CAErC,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,SAAS,GAAG,cAAc,GAAG,sBAAsB,GAAG,sBAAsB,EAAE,CAAC"}
|
package/docs/FUNCTIONAL_SPEC.md
CHANGED
|
@@ -149,6 +149,7 @@ Each resolved entry is assigned a stable `@ref` label (`@c0` = the root, `@c1`,
|
|
|
149
149
|
| `create taxonomy-from-json --file <path>` | Batch-create tagType, articleType, and tag entries from JSON |
|
|
150
150
|
| `create tag-type --slug <slug> --name "X"` | Create a tagType entry (draft) |
|
|
151
151
|
| `create article-type --slug <slug> --name "X"` | Create an articleType entry (draft) |
|
|
152
|
+
| `create person-type --slug <slug> --name "X" [--person-template-id <id>] [--indexed true\|false] [--hidden true\|false]` | Create a personType entry (draft). Indexed defaults on, Hidden off. |
|
|
152
153
|
| `create tag --slug <slug> --name "X" --tag-type <slug>` | Create a tag entry (draft); `--tag-type-slug`, `--tag-type-name`; `--description`, `--featured-image`; cmsLabel auto `"<tagType> — <name>"` |
|
|
153
154
|
| `create tag-type\|tag\|article-type … --if-not-exists` | Idempotent taxonomy create (returns existing entry when slug matches) |
|
|
154
155
|
| `add <entry-type> --content-type <ct>` | Create a new child entry of a given content type, link it into the current open entry's content array, and assign it a @ref |
|
package/docs/help/index.md
CHANGED
|
@@ -134,7 +134,8 @@ cms-edit batch run --json '[...]'
|
|
|
134
134
|
| `apply from-json` | Apply from-json to the open session |
|
|
135
135
|
| `create taxonomy-from-json` | Batch-create tagType, articleType, and tag entries |
|
|
136
136
|
| `create person-from-json` | Batch-create person entries from JSON |
|
|
137
|
-
| `create person` | Create a person entry (draft) |
|
|
137
|
+
| `create person` | Create a person entry (draft). `--person-type-id` / `--person-type-slug` link a person type. `--indexed` and `--hidden` take `true` or `false`. |
|
|
138
|
+
| `create person-type` | Create a personType entry (draft). `--person-template-id` links the profile template. |
|
|
138
139
|
| `article-tags-from-json` | Set tags on articles from JSON |
|
|
139
140
|
| `bulk-rtf-replace` | Find-replace in Rich Text across entry trees |
|
|
140
141
|
| `create tag-type` | Create a tagType entry (draft) |
|
|
@@ -78,6 +78,7 @@ Or batch-link in a `cms-edit batch run` ops file.
|
|
|
78
78
|
|
|
79
79
|
| Command | Purpose |
|
|
80
80
|
|---|---|
|
|
81
|
-
| `cms-edit create person` | Create one person |
|
|
81
|
+
| `cms-edit create person` | Create one person. Optional `--person-type-id`, `--person-type-slug`, `--indexed`, `--hidden` |
|
|
82
|
+
| `cms-edit create person-type` | Create one person type (draft) |
|
|
82
83
|
| `cms-edit create person … --if-not-exists` | Idempotent single create |
|
|
83
84
|
| `cms-edit help fields` | Field overview |
|