@stackbit/cms-core 1.0.19-develop.2 → 1.0.20-develop.1
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.
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DocumentStatus } from '@stackbit/types/src/content-source-document';
|
|
2
|
+
export type StagedChange = {
|
|
3
|
+
changeId: string;
|
|
4
|
+
isStaged?: boolean;
|
|
5
|
+
filepath?: string;
|
|
6
|
+
changeType: 'content' | 'asset' | 'schema';
|
|
7
|
+
label: string;
|
|
8
|
+
updatedBy: string[];
|
|
9
|
+
updatedAt?: string;
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
status: DocumentStatus;
|
|
13
|
+
srcObjectId: string;
|
|
14
|
+
srcModelName?: string;
|
|
15
|
+
srcProjectId: string;
|
|
16
|
+
srcEnvironment?: string;
|
|
17
|
+
srcType: string;
|
|
18
|
+
locale?: string;
|
|
19
|
+
};
|
|
20
|
+
export declare enum PublishProjectScope {
|
|
21
|
+
All = "all",
|
|
22
|
+
Content = "content"
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=publish-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish-types.d.ts","sourceRoot":"","sources":["../../src/types/publish-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAE7E,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,mBAAmB;IAC3B,GAAG,QAAQ;IACX,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublishProjectScope = void 0;
|
|
4
|
+
var PublishProjectScope;
|
|
5
|
+
(function (PublishProjectScope) {
|
|
6
|
+
PublishProjectScope["All"] = "all";
|
|
7
|
+
PublishProjectScope["Content"] = "content";
|
|
8
|
+
})(PublishProjectScope = exports.PublishProjectScope || (exports.PublishProjectScope = {}));
|
|
9
|
+
//# sourceMappingURL=publish-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish-types.js","sourceRoot":"","sources":["../../src/types/publish-types.ts"],"names":[],"mappings":";;;AAqBA,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,kCAAW,CAAA;IACX,0CAAmB,CAAA;AACvB,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackbit/cms-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20-develop.1",
|
|
4
4
|
"description": "stackbit-dev",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@babel/traverse": "^7.11.5",
|
|
27
27
|
"@iarna/toml": "^2.2.3",
|
|
28
28
|
"@netlify/sdk": "^1.17.2",
|
|
29
|
-
"@stackbit/sdk": "1.0.
|
|
30
|
-
"@stackbit/types": "0.11.
|
|
31
|
-
"@stackbit/utils": "0.4.
|
|
29
|
+
"@stackbit/sdk": "1.0.20-develop.1",
|
|
30
|
+
"@stackbit/types": "0.11.9-develop.1",
|
|
31
|
+
"@stackbit/utils": "0.4.9-develop.1",
|
|
32
32
|
"chalk": "^4.0.1",
|
|
33
33
|
"content-engine": "0.0.29",
|
|
34
34
|
"esm": "^3.2.25",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"slugify": "^1.6.5",
|
|
45
45
|
"uuid": "^9.0.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "45f1c018ee18b4d37c3d7e0d52720be491c0e22b"
|
|
48
48
|
}
|