@dosgato/templating 1.1.2 → 1.1.3
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/apitemplate.d.ts +6 -0
- package/package.json +1 -1
package/dist/apitemplate.d.ts
CHANGED
|
@@ -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
|
/**
|