@thejob/schema 1.0.9 → 1.0.10

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.
@@ -4,6 +4,16 @@ export declare enum PageType {
4
4
  Company = "company"
5
5
  }
6
6
  export declare const SupportedPageTypes: PageType[];
7
+ export declare enum PageStatus {
8
+ Published = "published",
9
+ Draft = "draft",
10
+ Suspended = "suspended",
11
+ UnderReview = "under-review",
12
+ Archived = "archived",
13
+ Unpublished = "unpublished",
14
+ Rejected = "rejected"
15
+ }
16
+ export declare const SupportedPageStatuses: PageStatus[];
7
17
  export declare const GeneraDetailFields: Array<keyof TPageSchema>;
8
18
  export declare enum ContactTypes {
9
19
  Email = "email",
@@ -1 +1 @@
1
- {"version":3,"file":"page.constant.d.ts","sourceRoot":"","sources":["../../../src/page/page.constant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,oBAAY,QAAQ;IAClB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,kBAAkB,YAA0B,CAAC;AAE1D,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,MAAM,WAAW,CAQvD,CAAC;AAEF,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,qBAAqB,gBAA8B,CAAC"}
1
+ {"version":3,"file":"page.constant.d.ts","sourceRoot":"","sources":["../../../src/page/page.constant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,oBAAY,QAAQ;IAClB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,kBAAkB,YAA0B,CAAC;AAE1D,oBAAY,UAAU;IACpB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,iBAAiB;IAC5B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,qBAAqB,cAA4B,CAAC;AAE/D,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,MAAM,WAAW,CAQvD,CAAC;AAEF,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,qBAAqB,gBAA8B,CAAC"}
@@ -1,12 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SupportedContactTypes = exports.ContactTypes = exports.GeneraDetailFields = exports.SupportedPageTypes = exports.PageType = void 0;
3
+ exports.SupportedContactTypes = exports.ContactTypes = exports.GeneraDetailFields = exports.SupportedPageStatuses = exports.PageStatus = exports.SupportedPageTypes = exports.PageType = void 0;
4
4
  var PageType;
5
5
  (function (PageType) {
6
6
  PageType["Institute"] = "institute";
7
7
  PageType["Company"] = "company";
8
8
  })(PageType || (exports.PageType = PageType = {}));
9
9
  exports.SupportedPageTypes = Object.values(PageType);
10
+ var PageStatus;
11
+ (function (PageStatus) {
12
+ PageStatus["Published"] = "published";
13
+ PageStatus["Draft"] = "draft";
14
+ PageStatus["Suspended"] = "suspended";
15
+ PageStatus["UnderReview"] = "under-review";
16
+ PageStatus["Archived"] = "archived";
17
+ PageStatus["Unpublished"] = "unpublished";
18
+ PageStatus["Rejected"] = "rejected";
19
+ })(PageStatus || (exports.PageStatus = PageStatus = {}));
20
+ exports.SupportedPageStatuses = Object.values(PageStatus);
10
21
  exports.GeneraDetailFields = [
11
22
  "name",
12
23
  "about",
@@ -4,6 +4,16 @@ export declare enum PageType {
4
4
  Company = "company"
5
5
  }
6
6
  export declare const SupportedPageTypes: PageType[];
7
+ export declare enum PageStatus {
8
+ Published = "published",
9
+ Draft = "draft",
10
+ Suspended = "suspended",
11
+ UnderReview = "under-review",
12
+ Archived = "archived",
13
+ Unpublished = "unpublished",
14
+ Rejected = "rejected"
15
+ }
16
+ export declare const SupportedPageStatuses: PageStatus[];
7
17
  export declare const GeneraDetailFields: Array<keyof TPageSchema>;
8
18
  export declare enum ContactTypes {
9
19
  Email = "email",
@@ -1 +1 @@
1
- {"version":3,"file":"page.constant.d.ts","sourceRoot":"","sources":["../../../src/page/page.constant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,oBAAY,QAAQ;IAClB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,kBAAkB,YAA0B,CAAC;AAE1D,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,MAAM,WAAW,CAQvD,CAAC;AAEF,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,qBAAqB,gBAA8B,CAAC"}
1
+ {"version":3,"file":"page.constant.d.ts","sourceRoot":"","sources":["../../../src/page/page.constant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,oBAAY,QAAQ;IAClB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,kBAAkB,YAA0B,CAAC;AAE1D,oBAAY,UAAU;IACpB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,iBAAiB;IAC5B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,qBAAqB,cAA4B,CAAC;AAE/D,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,MAAM,WAAW,CAQvD,CAAC;AAEF,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,qBAAqB,gBAA8B,CAAC"}
@@ -4,6 +4,17 @@ export var PageType;
4
4
  PageType["Company"] = "company";
5
5
  })(PageType || (PageType = {}));
6
6
  export const SupportedPageTypes = Object.values(PageType);
7
+ export var PageStatus;
8
+ (function (PageStatus) {
9
+ PageStatus["Published"] = "published";
10
+ PageStatus["Draft"] = "draft";
11
+ PageStatus["Suspended"] = "suspended";
12
+ PageStatus["UnderReview"] = "under-review";
13
+ PageStatus["Archived"] = "archived";
14
+ PageStatus["Unpublished"] = "unpublished";
15
+ PageStatus["Rejected"] = "rejected";
16
+ })(PageStatus || (PageStatus = {}));
17
+ export const SupportedPageStatuses = Object.values(PageStatus);
7
18
  export const GeneraDetailFields = [
8
19
  "name",
9
20
  "about",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thejob/schema",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",