@dosgato/templating 1.1.2 → 1.1.4

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.
@@ -268,6 +268,12 @@ export interface APIDataTemplate<DataType extends DataData = any> extends APITem
268
268
  * then be numerated as necessary.
269
269
  */
270
270
  computeName: (data: DataType) => string | undefined;
271
+ /**
272
+ * For some types of data, the concept of publishing will be confusing for users. In these
273
+ * cases, you can set this to true and all entries will be automatically published to latest
274
+ * on every change.
275
+ */
276
+ nopublish?: boolean;
271
277
  }
272
278
  export type APIAnyTemplate = APIComponentTemplate | APIPageTemplate | APIDataTemplate;
273
279
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {