@omnia/wcm 7.7.8 → 7.7.9
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/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.js +2 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.js +2 -1
- package/package.json +1 -1
package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FilePickerStorageProviderContext, GuidValue } from "@omnia/fx-models";
|
|
2
|
-
import { VersionId } from "../pages";
|
|
2
|
+
import { PageId, VersionId } from "../pages";
|
|
3
3
|
export declare class FileUploaderWCMPageContext implements FilePickerStorageProviderContext {
|
|
4
4
|
readonly omniaServiceId: GuidValue;
|
|
5
5
|
readonly metadataTypeId: GuidValue;
|
|
6
6
|
fileName: string;
|
|
7
7
|
readonly versionId: VersionId;
|
|
8
|
-
|
|
8
|
+
readonly pageId: PageId;
|
|
9
|
+
constructor(versionId: VersionId, pageId: PageId);
|
|
9
10
|
}
|
package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.js
CHANGED
|
@@ -4,11 +4,12 @@ exports.FileUploaderWCMPageContext = void 0;
|
|
|
4
4
|
const fx_models_1 = require("@omnia/fx-models");
|
|
5
5
|
const ManifestIds_1 = require("../ManifestIds");
|
|
6
6
|
class FileUploaderWCMPageContext {
|
|
7
|
-
constructor(versionId) {
|
|
7
|
+
constructor(versionId, pageId) {
|
|
8
8
|
this.omniaServiceId = ManifestIds_1.WcmService.Id;
|
|
9
9
|
this.metadataTypeId = new fx_models_1.Guid("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
|
|
10
10
|
this.fileName = "";
|
|
11
11
|
this.versionId = versionId;
|
|
12
|
+
this.pageId = pageId;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
exports.FileUploaderWCMPageContext = FileUploaderWCMPageContext;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FileMetadata, GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { PageId } from "./Page";
|
|
2
3
|
import { VersionId } from "./VersionedPageData";
|
|
3
4
|
export declare class PageFile implements FileMetadata {
|
|
4
5
|
omniaServiceId: GuidValue;
|
|
5
6
|
metadataTypeId: GuidValue;
|
|
6
7
|
fileName: string;
|
|
7
8
|
versionId: VersionId;
|
|
8
|
-
|
|
9
|
+
pageId: PageId;
|
|
10
|
+
constructor(fileName: string, versionId: VersionId, pageId: PageId);
|
|
9
11
|
}
|
|
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PageFile = void 0;
|
|
4
4
|
const fx_models_1 = require("@omnia/fx-models");
|
|
5
5
|
class PageFile {
|
|
6
|
-
constructor(fileName, versionId) {
|
|
6
|
+
constructor(fileName, versionId, pageId) {
|
|
7
7
|
this.omniaServiceId = new fx_models_1.Guid("d60fa82a-129a-41a9-93ce-d784dcb217b0");
|
|
8
8
|
this.metadataTypeId = new fx_models_1.Guid("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
|
|
9
9
|
this.fileName = fileName;
|
|
10
10
|
this.versionId = versionId;
|
|
11
|
+
this.pageId = pageId;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
exports.PageFile = PageFile;
|