@dosgato/templating 0.0.7 → 0.0.8

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.
Files changed (2) hide show
  1. package/dist/links.d.ts +4 -6
  2. package/package.json +1 -1
package/dist/links.d.ts CHANGED
@@ -7,9 +7,8 @@ export interface AssetLink {
7
7
  type: 'asset';
8
8
  source: string;
9
9
  id: string;
10
- siteId: string;
11
- path: string;
12
- checksum: string;
10
+ path?: string;
11
+ checksum?: string;
13
12
  }
14
13
  /**
15
14
  * Some components (e.g. document list) can point at a folder instead of individual
@@ -20,7 +19,6 @@ export interface AssetFolderLink {
20
19
  type: 'assetfolder';
21
20
  source: string;
22
21
  id: string;
23
- siteId: string;
24
22
  path: string;
25
23
  }
26
24
  /**
@@ -29,7 +27,6 @@ export interface AssetFolderLink {
29
27
  export interface PageLink {
30
28
  type: 'page';
31
29
  linkId: string;
32
- siteId: string;
33
30
  path: string;
34
31
  }
35
32
  /**
@@ -50,8 +47,9 @@ export interface WebLink {
50
47
  */
51
48
  export interface DataLink {
52
49
  type: 'data';
50
+ templateKey: string;
53
51
  id: string;
54
- siteId: string | null;
52
+ siteId?: string;
55
53
  path: string;
56
54
  }
57
55
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "exports": {
6
6
  "require": "./dist/index.js",