@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
|
|
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
|
|
8
|
-
type:
|
|
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
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);
|