@duvdu-v1/duvdu 1.1.328 → 1.1.329
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.
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
/// <reference types="mongoose" />
|
|
25
25
|
/// <reference types="mongoose/types/inferschematype" />
|
|
26
26
|
export declare enum PageType {
|
|
27
|
-
terms = "terms
|
|
28
|
-
privacy = "privacy
|
|
29
|
-
refund = "refund
|
|
27
|
+
terms = "terms-and-conditions",
|
|
28
|
+
privacy = "privacy-policy",
|
|
29
|
+
refund = "refund-policy"
|
|
30
30
|
}
|
|
31
31
|
export interface IPage {
|
|
32
32
|
title: {
|
|
@@ -5,9 +5,9 @@ const mongoose_1 = require("mongoose");
|
|
|
5
5
|
const model_names_1 = require("../types/model-names");
|
|
6
6
|
var PageType;
|
|
7
7
|
(function (PageType) {
|
|
8
|
-
PageType["terms"] = "terms
|
|
9
|
-
PageType["privacy"] = "privacy
|
|
10
|
-
PageType["refund"] = "refund
|
|
8
|
+
PageType["terms"] = "terms-and-conditions";
|
|
9
|
+
PageType["privacy"] = "privacy-policy";
|
|
10
|
+
PageType["refund"] = "refund-policy";
|
|
11
11
|
})(PageType || (exports.PageType = PageType = {}));
|
|
12
12
|
exports.Pages = (0, mongoose_1.model)(model_names_1.MODELS.page, new mongoose_1.Schema({
|
|
13
13
|
title: { ar: { type: String, default: null }, en: { type: String, default: null } },
|