@dosgato/templating 0.0.2 → 0.0.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.
@@ -1,11 +1,11 @@
1
1
  import { PageWithAncestors, ComponentData } from './component';
2
2
  import { LinkDefinition } from './links';
3
- export declare type TemplateType = 'page' | 'component' | 'data';
3
+ export declare type APITemplateType = 'page' | 'component' | 'data';
4
4
  /**
5
5
  * This interface lays out the structure the API needs for each template in the system.
6
6
  */
7
- export interface Template {
8
- type: TemplateType;
7
+ export interface APITemplate {
8
+ type: APITemplateType;
9
9
  /**
10
10
  * A unique string to globally identify this template across installations. Namespacing like
11
11
  * edu.txstate.RichTextEditor could be useful but no special format is required.
File without changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
+ export * from './apitemplate';
1
2
  export * from './component';
2
3
  export * from './links';
3
4
  export * from './page';
4
5
  export * from './provider';
5
- export * from './template';
package/dist/index.js CHANGED
@@ -10,8 +10,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./apitemplate"), exports);
13
14
  __exportStar(require("./component"), exports);
14
15
  __exportStar(require("./links"), exports);
15
16
  __exportStar(require("./page"), exports);
16
17
  __exportStar(require("./provider"), exports);
17
- __exportStar(require("./template"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "exports": {
6
6
  "require": "./dist/index.js",