@intelact/bright 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/lib/enums/account.enum.d.ts +1 -1
  2. package/lib/enums/account.enum.js +1 -1
  3. package/lib/enums/account.enum.js.map +1 -1
  4. package/lib/enums/color.enum.d.ts +30 -0
  5. package/lib/enums/color.enum.js +37 -0
  6. package/lib/enums/color.enum.js.map +1 -0
  7. package/lib/enums/index.d.ts +1 -0
  8. package/lib/enums/index.js +5 -1
  9. package/lib/enums/index.js.map +1 -1
  10. package/lib/index.d.ts +1 -0
  11. package/lib/index.js +1 -0
  12. package/lib/index.js.map +1 -1
  13. package/lib/models/administrator.d.ts +14 -0
  14. package/lib/models/administrator.js +18 -0
  15. package/lib/models/administrator.js.map +1 -0
  16. package/lib/models/asset.d.ts +9 -0
  17. package/lib/models/asset.js +15 -0
  18. package/lib/models/asset.js.map +1 -0
  19. package/lib/models/author.d.ts +9 -0
  20. package/lib/models/author.js +16 -0
  21. package/lib/models/author.js.map +1 -0
  22. package/lib/models/boost.d.ts +9 -0
  23. package/lib/models/boost.js +15 -0
  24. package/lib/models/boost.js.map +1 -0
  25. package/lib/models/brand.d.ts +18 -0
  26. package/lib/models/brand.js +22 -0
  27. package/lib/models/brand.js.map +1 -0
  28. package/lib/models/category.d.ts +7 -0
  29. package/lib/models/category.js +14 -0
  30. package/lib/models/category.js.map +1 -0
  31. package/lib/models/collection.d.ts +6 -0
  32. package/lib/models/collection.js +12 -0
  33. package/lib/models/collection.js.map +1 -0
  34. package/lib/models/feedback.d.ts +22 -0
  35. package/lib/models/feedback.js +34 -0
  36. package/lib/models/feedback.js.map +1 -0
  37. package/lib/models/gallery.d.ts +5 -0
  38. package/lib/models/gallery.js +10 -0
  39. package/lib/models/gallery.js.map +1 -0
  40. package/lib/models/index.d.ts +21 -0
  41. package/lib/models/index.js +46 -0
  42. package/lib/models/index.js.map +1 -0
  43. package/lib/models/item.model.d.ts +11 -0
  44. package/lib/models/item.model.js +18 -0
  45. package/lib/models/item.model.js.map +1 -0
  46. package/lib/models/link.model.d.ts +11 -0
  47. package/lib/models/link.model.js +16 -0
  48. package/lib/models/link.model.js.map +1 -0
  49. package/lib/models/notification.d.ts +13 -0
  50. package/lib/models/notification.js +22 -0
  51. package/lib/models/notification.js.map +1 -0
  52. package/lib/models/pagination.d.ts +17 -0
  53. package/lib/models/pagination.js +3 -0
  54. package/lib/models/pagination.js.map +1 -0
  55. package/lib/models/post.d.ts +42 -0
  56. package/lib/models/post.js +36 -0
  57. package/lib/models/post.js.map +1 -0
  58. package/lib/models/promotion.d.ts +9 -0
  59. package/lib/models/promotion.js +16 -0
  60. package/lib/models/promotion.js.map +1 -0
  61. package/lib/models/publisher.d.ts +12 -0
  62. package/lib/models/publisher.js +18 -0
  63. package/lib/models/publisher.js.map +1 -0
  64. package/lib/models/question.d.ts +32 -0
  65. package/lib/models/question.js +38 -0
  66. package/lib/models/question.js.map +1 -0
  67. package/lib/models/quote.d.ts +5 -0
  68. package/lib/models/quote.js +12 -0
  69. package/lib/models/quote.js.map +1 -0
  70. package/lib/models/response.d.ts +5 -0
  71. package/lib/models/response.js +3 -0
  72. package/lib/models/response.js.map +1 -0
  73. package/lib/models/survey.d.ts +26 -0
  74. package/lib/models/survey.js +39 -0
  75. package/lib/models/survey.js.map +1 -0
  76. package/lib/models/token.d.ts +7 -0
  77. package/lib/models/token.js +3 -0
  78. package/lib/models/token.js.map +1 -0
  79. package/lib/models/topic.d.ts +8 -0
  80. package/lib/models/topic.js +15 -0
  81. package/lib/models/topic.js.map +1 -0
  82. package/lib/models/user.d.ts +19 -0
  83. package/lib/models/user.js +14 -0
  84. package/lib/models/user.js.map +1 -0
  85. package/lib/tsconfig.tsbuildinfo +1 -1
  86. package/package.json +2 -1
@@ -6,7 +6,7 @@ export declare enum AccountStatusType {
6
6
  Closed = "CLOSED"
7
7
  }
8
8
  export declare enum AccountType {
9
- Owner = "OWNER",
9
+ Stakeholder = "STAKEHOLDER",
10
10
  Brand = "BRAND",
11
11
  Publisher = "PUBLISHER"
12
12
  }
@@ -11,7 +11,7 @@ var AccountStatusType;
11
11
  })(AccountStatusType || (exports.AccountStatusType = AccountStatusType = {}));
12
12
  var AccountType;
13
13
  (function (AccountType) {
14
- AccountType["Owner"] = "OWNER";
14
+ AccountType["Stakeholder"] = "STAKEHOLDER";
15
15
  AccountType["Brand"] = "BRAND";
16
16
  AccountType["Publisher"] = "PUBLISHER";
17
17
  })(AccountType || (exports.AccountType = AccountType = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"account.enum.js","sourceRoot":"","sources":["../../src/enums/account.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAyBX;AAzBD,WAAY,iBAAiB;IAI5B,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;IAKjB,0CAAqB,CAAA;IAKrB,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;AAClB,CAAC,EAzBW,iBAAiB,iCAAjB,iBAAiB,QAyB5B;AAED,IAAY,WAgBX;AAhBD,WAAY,WAAW;IAKtB,8BAAe,CAAA;IAKf,8BAAe,CAAA;IAKf,sCAAuB,CAAA;AACxB,CAAC,EAhBW,WAAW,2BAAX,WAAW,QAgBtB"}
1
+ {"version":3,"file":"account.enum.js","sourceRoot":"","sources":["../../src/enums/account.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAyBX;AAzBD,WAAY,iBAAiB;IAI5B,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;IAKjB,0CAAqB,CAAA;IAKrB,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;AAClB,CAAC,EAzBW,iBAAiB,iCAAjB,iBAAiB,QAyB5B;AAED,IAAY,WAgBX;AAhBD,WAAY,WAAW;IAKtB,0CAA2B,CAAA;IAK3B,8BAAe,CAAA;IAKf,sCAAuB,CAAA;AACxB,CAAC,EAhBW,WAAW,2BAAX,WAAW,QAgBtB"}
@@ -0,0 +1,30 @@
1
+ export declare enum Color {
2
+ Primary = "text-primary",
3
+ Secondary = "text-secondary",
4
+ Success = "text-success",
5
+ Danger = "text-danger",
6
+ Warning = "text-warning",
7
+ Info = "text-info",
8
+ Light = "text-light",
9
+ Dark = "text-dark"
10
+ }
11
+ export declare enum Background {
12
+ Primary = "bg-primary",
13
+ Secondary = "bg-secondary",
14
+ Success = "bg-success",
15
+ Danger = "bg-danger",
16
+ Warning = "bg-warning",
17
+ Info = "bg-info",
18
+ Light = "bg-light",
19
+ Dark = "bg-dark"
20
+ }
21
+ export declare enum Context {
22
+ Primary = "context-primary",
23
+ Secondary = "context-secondary",
24
+ Success = "context-success",
25
+ Danger = "context-danger",
26
+ Warning = "context-warning",
27
+ Info = "context-info",
28
+ Light = "context-light",
29
+ Dark = "context-dark"
30
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Context = exports.Background = exports.Color = void 0;
4
+ var Color;
5
+ (function (Color) {
6
+ Color["Primary"] = "text-primary";
7
+ Color["Secondary"] = "text-secondary";
8
+ Color["Success"] = "text-success";
9
+ Color["Danger"] = "text-danger";
10
+ Color["Warning"] = "text-warning";
11
+ Color["Info"] = "text-info";
12
+ Color["Light"] = "text-light";
13
+ Color["Dark"] = "text-dark";
14
+ })(Color || (exports.Color = Color = {}));
15
+ var Background;
16
+ (function (Background) {
17
+ Background["Primary"] = "bg-primary";
18
+ Background["Secondary"] = "bg-secondary";
19
+ Background["Success"] = "bg-success";
20
+ Background["Danger"] = "bg-danger";
21
+ Background["Warning"] = "bg-warning";
22
+ Background["Info"] = "bg-info";
23
+ Background["Light"] = "bg-light";
24
+ Background["Dark"] = "bg-dark";
25
+ })(Background || (exports.Background = Background = {}));
26
+ var Context;
27
+ (function (Context) {
28
+ Context["Primary"] = "context-primary";
29
+ Context["Secondary"] = "context-secondary";
30
+ Context["Success"] = "context-success";
31
+ Context["Danger"] = "context-danger";
32
+ Context["Warning"] = "context-warning";
33
+ Context["Info"] = "context-info";
34
+ Context["Light"] = "context-light";
35
+ Context["Dark"] = "context-dark";
36
+ })(Context || (exports.Context = Context = {}));
37
+ //# sourceMappingURL=color.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.enum.js","sourceRoot":"","sources":["../../src/enums/color.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,KASX;AATD,WAAY,KAAK;IAChB,iCAAwB,CAAA;IACxB,qCAA4B,CAAA;IAC5B,iCAAwB,CAAA;IACxB,+BAAsB,CAAA;IACtB,iCAAwB,CAAA;IACxB,2BAAkB,CAAA;IAClB,6BAAoB,CAAA;IACpB,2BAAkB,CAAA;AACnB,CAAC,EATW,KAAK,qBAAL,KAAK,QAShB;AAOD,IAAY,UASX;AATD,WAAY,UAAU;IACrB,oCAAsB,CAAA;IACtB,wCAA0B,CAAA;IAC1B,oCAAsB,CAAA;IACtB,kCAAoB,CAAA;IACpB,oCAAsB,CAAA;IACtB,8BAAgB,CAAA;IAChB,gCAAkB,CAAA;IAClB,8BAAgB,CAAA;AACjB,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB;AAOD,IAAY,OASX;AATD,WAAY,OAAO;IAClB,sCAA2B,CAAA;IAC3B,0CAA+B,CAAA;IAC/B,sCAA2B,CAAA;IAC3B,oCAAyB,CAAA;IACzB,sCAA2B,CAAA;IAC3B,gCAAqB,CAAA;IACrB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;AACtB,CAAC,EATW,OAAO,uBAAP,OAAO,QASlB"}
@@ -1,5 +1,6 @@
1
1
  export { AccountStatusType, AccountType } from './account.enum';
2
2
  export { AssetType, AssetCategoryType } from './asset.enum';
3
+ export { Color, Background, Context } from './color.enum';
3
4
  export { NotificationChannelType, NotificationType } from './notification.enum';
4
5
  export { ModuleType, FeatureType } from './module.enum';
5
6
  export { PostType } from './post.enum';
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VerificationType = exports.AuthActionType = exports.SurveyActionType = exports.ContentActionType = exports.StatusType = exports.SocialShareType = exports.SocialLoginType = exports.SortType = exports.SettingType = exports.PostType = exports.FeatureType = exports.ModuleType = exports.NotificationType = exports.NotificationChannelType = exports.AssetCategoryType = exports.AssetType = exports.AccountType = exports.AccountStatusType = void 0;
3
+ exports.VerificationType = exports.AuthActionType = exports.SurveyActionType = exports.ContentActionType = exports.StatusType = exports.SocialShareType = exports.SocialLoginType = exports.SortType = exports.SettingType = exports.PostType = exports.FeatureType = exports.ModuleType = exports.NotificationType = exports.NotificationChannelType = exports.Context = exports.Background = exports.Color = exports.AssetCategoryType = exports.AssetType = exports.AccountType = exports.AccountStatusType = void 0;
4
4
  var account_enum_1 = require("./account.enum");
5
5
  Object.defineProperty(exports, "AccountStatusType", { enumerable: true, get: function () { return account_enum_1.AccountStatusType; } });
6
6
  Object.defineProperty(exports, "AccountType", { enumerable: true, get: function () { return account_enum_1.AccountType; } });
7
7
  var asset_enum_1 = require("./asset.enum");
8
8
  Object.defineProperty(exports, "AssetType", { enumerable: true, get: function () { return asset_enum_1.AssetType; } });
9
9
  Object.defineProperty(exports, "AssetCategoryType", { enumerable: true, get: function () { return asset_enum_1.AssetCategoryType; } });
10
+ var color_enum_1 = require("./color.enum");
11
+ Object.defineProperty(exports, "Color", { enumerable: true, get: function () { return color_enum_1.Color; } });
12
+ Object.defineProperty(exports, "Background", { enumerable: true, get: function () { return color_enum_1.Background; } });
13
+ Object.defineProperty(exports, "Context", { enumerable: true, get: function () { return color_enum_1.Context; } });
10
14
  var notification_enum_1 = require("./notification.enum");
11
15
  Object.defineProperty(exports, "NotificationChannelType", { enumerable: true, get: function () { return notification_enum_1.NotificationChannelType; } });
12
16
  Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return notification_enum_1.NotificationType; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;AAAA,+CAAgE;AAAvD,iHAAA,iBAAiB,OAAA;AAAE,2GAAA,WAAW,OAAA;AACvC,2CAA4D;AAAnD,uGAAA,SAAS,OAAA;AAAE,+GAAA,iBAAiB,OAAA;AACrC,yDAAgF;AAAvE,4HAAA,uBAAuB,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAClD,6CAAwD;AAA/C,yGAAA,UAAU,OAAA;AAAE,0GAAA,WAAW,OAAA;AAChC,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,6CAAiE;AAAxD,8GAAA,eAAe,OAAA;AAAE,8GAAA,eAAe,OAAA;AACzC,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,6CAAoF;AAA3E,gHAAA,iBAAiB,OAAA;AAAE,+GAAA,gBAAgB,OAAA;AAAE,6GAAA,cAAc,OAAA;AAC5D,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;AAAA,+CAAgE;AAAvD,iHAAA,iBAAiB,OAAA;AAAE,2GAAA,WAAW,OAAA;AACvC,2CAA4D;AAAnD,uGAAA,SAAS,OAAA;AAAE,+GAAA,iBAAiB,OAAA;AACrC,2CAA0D;AAAjD,mGAAA,KAAK,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,qGAAA,OAAO,OAAA;AACnC,yDAAgF;AAAvE,4HAAA,uBAAuB,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAClD,6CAAwD;AAA/C,yGAAA,UAAU,OAAA;AAAE,0GAAA,WAAW,OAAA;AAChC,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,6CAAiE;AAAxD,8GAAA,eAAe,OAAA;AAAE,8GAAA,eAAe,OAAA;AACzC,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,6CAAoF;AAA3E,gHAAA,iBAAiB,OAAA;AAAE,+GAAA,gBAAgB,OAAA;AAAE,6GAAA,cAAc,OAAA;AAC5D,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"}
package/lib/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './enums';
2
+ export * from './models';
2
3
  export * from './security';
package/lib/index.js CHANGED
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./enums"), exports);
18
+ __exportStar(require("./models"), exports);
18
19
  __exportStar(require("./security"), exports);
19
20
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B"}
@@ -0,0 +1,14 @@
1
+ import { AccountStatusType, AccountType } from '../enums';
2
+ import { Permission } from '../security';
3
+ import { Publisher } from './publisher';
4
+ export declare class Administrator {
5
+ name: string;
6
+ image: string;
7
+ phone: string;
8
+ email: string;
9
+ status: AccountStatusType;
10
+ accountType: AccountType;
11
+ permissions: Permission[];
12
+ publishers: Publisher[];
13
+ constructor(props?: Partial<Administrator>);
14
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Administrator = void 0;
4
+ class Administrator {
5
+ name;
6
+ image;
7
+ phone;
8
+ email;
9
+ status;
10
+ accountType;
11
+ permissions;
12
+ publishers;
13
+ constructor(props) {
14
+ Object.assign(this, props);
15
+ }
16
+ }
17
+ exports.Administrator = Administrator;
18
+ //# sourceMappingURL=administrator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"administrator.js","sourceRoot":"","sources":["../../src/models/administrator.ts"],"names":[],"mappings":";;;AAOA,MAAa,aAAa;IAKzB,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,KAAK,CAAS;IAKd,KAAK,CAAS;IAKd,MAAM,CAAoB;IAK1B,WAAW,CAAc;IAKzB,WAAW,CAAe;IAK1B,UAAU,CAAc;IAExB,YAAY,KAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7CD,sCA6CC"}
@@ -0,0 +1,9 @@
1
+ import { AssetType } from '../enums';
2
+ export declare class Asset {
3
+ type: AssetType;
4
+ url: string;
5
+ title: string;
6
+ tags: string[];
7
+ mimeType: string;
8
+ constructor(props?: Partial<Asset>);
9
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Asset = void 0;
4
+ class Asset {
5
+ type;
6
+ url;
7
+ title;
8
+ tags;
9
+ mimeType;
10
+ constructor(props) {
11
+ Object.assign(this, props);
12
+ }
13
+ }
14
+ exports.Asset = Asset;
15
+ //# sourceMappingURL=asset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset.js","sourceRoot":"","sources":["../../src/models/asset.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;IAKjB,IAAI,CAAY;IAKhB,GAAG,CAAS;IAKZ,KAAK,CAAS;IAKd,IAAI,CAAW;IAKf,QAAQ,CAAS;IAEjB,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,sBA8BC"}
@@ -0,0 +1,9 @@
1
+ export declare class Author {
2
+ slug: string;
3
+ name: string;
4
+ biography: string;
5
+ imageUrl: string;
6
+ totalPosts: number;
7
+ totalQuestions: number;
8
+ constructor(props?: Partial<Author>);
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Author = void 0;
4
+ class Author {
5
+ slug;
6
+ name;
7
+ biography;
8
+ imageUrl;
9
+ totalPosts;
10
+ totalQuestions;
11
+ constructor(props) {
12
+ Object.assign(this, props);
13
+ }
14
+ }
15
+ exports.Author = Author;
16
+ //# sourceMappingURL=author.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"author.js","sourceRoot":"","sources":["../../src/models/author.ts"],"names":[],"mappings":";;;AAGA,MAAa,MAAM;IAKlB,IAAI,CAAS;IAKb,IAAI,CAAS;IAKb,SAAS,CAAS;IAKlB,QAAQ,CAAS;IAKjB,UAAU,CAAS;IAKnB,cAAc,CAAS;IAEvB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnCD,wBAmCC"}
@@ -0,0 +1,9 @@
1
+ import { Post } from './post';
2
+ export declare class Boost {
3
+ title: string;
4
+ startDate: Date;
5
+ endDate: Date;
6
+ totalItems: number;
7
+ items: Post[];
8
+ constructor(props?: Partial<Boost>);
9
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Boost = void 0;
4
+ class Boost {
5
+ title;
6
+ startDate;
7
+ endDate;
8
+ totalItems;
9
+ items;
10
+ constructor(props) {
11
+ Object.assign(this, props);
12
+ }
13
+ }
14
+ exports.Boost = Boost;
15
+ //# sourceMappingURL=boost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boost.js","sourceRoot":"","sources":["../../src/models/boost.ts"],"names":[],"mappings":";;;AAEA,MAAa,KAAK;IAKjB,KAAK,CAAS;IAKd,SAAS,CAAO;IAKhB,OAAO,CAAO;IAKd,UAAU,CAAS;IAKnB,KAAK,CAAS;IAEd,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,sBA8BC"}
@@ -0,0 +1,18 @@
1
+ import { ModuleType } from '../enums';
2
+ export declare class Brand {
3
+ name: string;
4
+ title: string;
5
+ slogan: string;
6
+ host: string;
7
+ email: string;
8
+ description: string;
9
+ language: string;
10
+ logo: string;
11
+ active: boolean;
12
+ maintaince: boolean;
13
+ modules: ModuleType[];
14
+ settings: {
15
+ [key: string]: any;
16
+ };
17
+ constructor(props?: Partial<Brand>);
18
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Brand = void 0;
4
+ class Brand {
5
+ name;
6
+ title;
7
+ slogan;
8
+ host;
9
+ email;
10
+ description;
11
+ language;
12
+ logo;
13
+ active;
14
+ maintaince;
15
+ modules;
16
+ settings;
17
+ constructor(props) {
18
+ Object.assign(this, props);
19
+ }
20
+ }
21
+ exports.Brand = Brand;
22
+ //# sourceMappingURL=brand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.js","sourceRoot":"","sources":["../../src/models/brand.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;IAMjB,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,MAAM,CAAS;IAKf,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,WAAW,CAAS;IAKpB,QAAQ,CAAS;IAKjB,IAAI,CAAS;IAKb,MAAM,CAAU;IAKhB,UAAU,CAAU;IAKpB,OAAO,CAAe;IAKtB,QAAQ,CAAyB;IAEjC,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlED,sBAkEC"}
@@ -0,0 +1,7 @@
1
+ export declare class Category {
2
+ title: string;
3
+ hash: string;
4
+ description: string;
5
+ sort: number;
6
+ constructor(props?: Partial<Category>);
7
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Category = void 0;
4
+ class Category {
5
+ title;
6
+ hash;
7
+ description;
8
+ sort;
9
+ constructor(props) {
10
+ Object.assign(this, props);
11
+ }
12
+ }
13
+ exports.Category = Category;
14
+ //# sourceMappingURL=category.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"category.js","sourceRoot":"","sources":["../../src/models/category.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;IAKpB,KAAK,CAAS;IAKd,IAAI,CAAS;IAKb,WAAW,CAAS;IAKpB,IAAI,CAAS;IAEb,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzBD,4BAyBC"}
@@ -0,0 +1,6 @@
1
+ import { Post } from './post';
2
+ export declare class Collection {
3
+ title: string;
4
+ items: Post[];
5
+ constructor(props?: Partial<Collection>);
6
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Collection = void 0;
4
+ class Collection {
5
+ title;
6
+ items;
7
+ constructor(props) {
8
+ Object.assign(this, props);
9
+ }
10
+ }
11
+ exports.Collection = Collection;
12
+ //# sourceMappingURL=collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../src/models/collection.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;IAKtB,KAAK,CAAS;IAKd,KAAK,CAAS;IAEd,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,gCAeC"}
@@ -0,0 +1,22 @@
1
+ import { PostType } from '../enums';
2
+ export declare class Feedback {
3
+ type: PostType;
4
+ title: string;
5
+ description: string;
6
+ items: Promise<FeedbackItem[]>;
7
+ constructor(props?: Partial<Feedback>);
8
+ }
9
+ export declare class FeedbackItem {
10
+ question: string;
11
+ multiple: boolean;
12
+ sort: number;
13
+ readonly: boolean;
14
+ options: FeedbackOption[];
15
+ constructor(props?: FeedbackItem);
16
+ }
17
+ export declare class FeedbackOption {
18
+ id: number;
19
+ content: string;
20
+ sort: number;
21
+ constructor(props?: Partial<FeedbackOption>);
22
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeedbackOption = exports.FeedbackItem = exports.Feedback = void 0;
4
+ class Feedback {
5
+ type;
6
+ title;
7
+ description;
8
+ items;
9
+ constructor(props) {
10
+ Object.assign(this, props);
11
+ }
12
+ }
13
+ exports.Feedback = Feedback;
14
+ class FeedbackItem {
15
+ question;
16
+ multiple;
17
+ sort;
18
+ readonly;
19
+ options;
20
+ constructor(props) {
21
+ Object.assign(this, props);
22
+ }
23
+ }
24
+ exports.FeedbackItem = FeedbackItem;
25
+ class FeedbackOption {
26
+ id;
27
+ content;
28
+ sort;
29
+ constructor(props) {
30
+ Object.assign(this, props);
31
+ }
32
+ }
33
+ exports.FeedbackOption = FeedbackOption;
34
+ //# sourceMappingURL=feedback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback.js","sourceRoot":"","sources":["../../src/models/feedback.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;IAKpB,IAAI,CAAW;IAKf,KAAK,CAAS;IAKd,WAAW,CAAQ;IAOnB,KAAK,CAA0B;IAI/B,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7BD,4BA6BC;AAED,MAAa,YAAY;IAKxB,QAAQ,CAAS;IAKjB,QAAQ,CAAU;IAKlB,IAAI,CAAS;IAKb,QAAQ,CAAU;IAKlB,OAAO,CAAmB;IAE1B,YAAY,KAAoB;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,oCA8BC;AAED,MAAa,cAAc;IAK1B,EAAE,CAAS;IAKX,OAAO,CAAS;IAKhB,IAAI,CAAS;IAEb,YAAY,KAA+B;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApBD,wCAoBC"}
@@ -0,0 +1,5 @@
1
+ export declare class GalleryItem {
2
+ title: string;
3
+ imageUrl: string;
4
+ sort: number;
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GalleryItem = void 0;
4
+ class GalleryItem {
5
+ title;
6
+ imageUrl;
7
+ sort;
8
+ }
9
+ exports.GalleryItem = GalleryItem;
10
+ //# sourceMappingURL=gallery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery.js","sourceRoot":"","sources":["../../src/models/gallery.ts"],"names":[],"mappings":";;;AAGA,MAAa,WAAW;IAKvB,KAAK,CAAS;IAKd,QAAQ,CAAS;IAKjB,IAAI,CAAS;CACb;AAhBD,kCAgBC"}
@@ -0,0 +1,21 @@
1
+ export { Administrator } from './administrator';
2
+ export { Asset } from './asset';
3
+ export { Author } from './author';
4
+ export { Boost } from './boost';
5
+ export { Brand } from './brand';
6
+ export { Category } from './category';
7
+ export { Collection } from './collection';
8
+ export { Feedback, FeedbackItem, FeedbackOption } from './feedback';
9
+ export { GalleryItem } from './gallery';
10
+ export { Notification, NotificationToken } from './notification';
11
+ export { IPaginationRequest, IPaginationResponse } from './pagination';
12
+ export { Post, IPostAdditionals } from './post';
13
+ export { Promotion } from './promotion';
14
+ export { Publisher } from './publisher';
15
+ export { Question, QuestionItem } from './question';
16
+ export { Quote } from './quote';
17
+ export { IResponse } from './response';
18
+ export { Survey, SurveyItem, SurveyOption } from './survey';
19
+ export { IToken } from './token';
20
+ export { Topic } from './topic';
21
+ export { User, IUserAgent } from './user';
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.User = exports.Topic = exports.SurveyOption = exports.SurveyItem = exports.Survey = exports.Quote = exports.QuestionItem = exports.Question = exports.Publisher = exports.Promotion = exports.Post = exports.NotificationToken = exports.Notification = exports.GalleryItem = exports.FeedbackOption = exports.FeedbackItem = exports.Feedback = exports.Collection = exports.Category = exports.Brand = exports.Boost = exports.Author = exports.Asset = exports.Administrator = void 0;
4
+ var administrator_1 = require("./administrator");
5
+ Object.defineProperty(exports, "Administrator", { enumerable: true, get: function () { return administrator_1.Administrator; } });
6
+ var asset_1 = require("./asset");
7
+ Object.defineProperty(exports, "Asset", { enumerable: true, get: function () { return asset_1.Asset; } });
8
+ var author_1 = require("./author");
9
+ Object.defineProperty(exports, "Author", { enumerable: true, get: function () { return author_1.Author; } });
10
+ var boost_1 = require("./boost");
11
+ Object.defineProperty(exports, "Boost", { enumerable: true, get: function () { return boost_1.Boost; } });
12
+ var brand_1 = require("./brand");
13
+ Object.defineProperty(exports, "Brand", { enumerable: true, get: function () { return brand_1.Brand; } });
14
+ var category_1 = require("./category");
15
+ Object.defineProperty(exports, "Category", { enumerable: true, get: function () { return category_1.Category; } });
16
+ var collection_1 = require("./collection");
17
+ Object.defineProperty(exports, "Collection", { enumerable: true, get: function () { return collection_1.Collection; } });
18
+ var feedback_1 = require("./feedback");
19
+ Object.defineProperty(exports, "Feedback", { enumerable: true, get: function () { return feedback_1.Feedback; } });
20
+ Object.defineProperty(exports, "FeedbackItem", { enumerable: true, get: function () { return feedback_1.FeedbackItem; } });
21
+ Object.defineProperty(exports, "FeedbackOption", { enumerable: true, get: function () { return feedback_1.FeedbackOption; } });
22
+ var gallery_1 = require("./gallery");
23
+ Object.defineProperty(exports, "GalleryItem", { enumerable: true, get: function () { return gallery_1.GalleryItem; } });
24
+ var notification_1 = require("./notification");
25
+ Object.defineProperty(exports, "Notification", { enumerable: true, get: function () { return notification_1.Notification; } });
26
+ Object.defineProperty(exports, "NotificationToken", { enumerable: true, get: function () { return notification_1.NotificationToken; } });
27
+ var post_1 = require("./post");
28
+ Object.defineProperty(exports, "Post", { enumerable: true, get: function () { return post_1.Post; } });
29
+ var promotion_1 = require("./promotion");
30
+ Object.defineProperty(exports, "Promotion", { enumerable: true, get: function () { return promotion_1.Promotion; } });
31
+ var publisher_1 = require("./publisher");
32
+ Object.defineProperty(exports, "Publisher", { enumerable: true, get: function () { return publisher_1.Publisher; } });
33
+ var question_1 = require("./question");
34
+ Object.defineProperty(exports, "Question", { enumerable: true, get: function () { return question_1.Question; } });
35
+ Object.defineProperty(exports, "QuestionItem", { enumerable: true, get: function () { return question_1.QuestionItem; } });
36
+ var quote_1 = require("./quote");
37
+ Object.defineProperty(exports, "Quote", { enumerable: true, get: function () { return quote_1.Quote; } });
38
+ var survey_1 = require("./survey");
39
+ Object.defineProperty(exports, "Survey", { enumerable: true, get: function () { return survey_1.Survey; } });
40
+ Object.defineProperty(exports, "SurveyItem", { enumerable: true, get: function () { return survey_1.SurveyItem; } });
41
+ Object.defineProperty(exports, "SurveyOption", { enumerable: true, get: function () { return survey_1.SurveyOption; } });
42
+ var topic_1 = require("./topic");
43
+ Object.defineProperty(exports, "Topic", { enumerable: true, get: function () { return topic_1.Topic; } });
44
+ var user_1 = require("./user");
45
+ Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_1.User; } });
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,iDAAgD;AAAvC,8GAAA,aAAa,OAAA;AACtB,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,uCAAoE;AAA3D,oGAAA,QAAQ,OAAA;AAAE,wGAAA,YAAY,OAAA;AAAE,0GAAA,cAAc,OAAA;AAC/C,qCAAwC;AAA/B,sGAAA,WAAW,OAAA;AACpB,+CAAiE;AAAxD,4GAAA,YAAY,OAAA;AAAE,iHAAA,iBAAiB,OAAA;AAExC,+BAAgD;AAAvC,4FAAA,IAAI,OAAA;AACb,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,uCAAoD;AAA3C,oGAAA,QAAQ,OAAA;AAAE,wGAAA,YAAY,OAAA;AAC/B,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AAEd,mCAA4D;AAAnD,gGAAA,MAAM,OAAA;AAAE,oGAAA,UAAU,OAAA;AAAE,sGAAA,YAAY,OAAA;AAEzC,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,+BAA0C;AAAjC,4FAAA,IAAI,OAAA"}
@@ -0,0 +1,11 @@
1
+ export declare class Item<T = any> {
2
+ name?: string;
3
+ title?: string;
4
+ value?: T;
5
+ active?: boolean;
6
+ readonly?: boolean;
7
+ icon?: any;
8
+ iconSelected?: any;
9
+ props?: any;
10
+ constructor(props?: Partial<Item>);
11
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Item = void 0;
4
+ class Item {
5
+ name;
6
+ title;
7
+ value;
8
+ active;
9
+ readonly;
10
+ icon;
11
+ iconSelected;
12
+ props;
13
+ constructor(props) {
14
+ Object.assign(this, props);
15
+ }
16
+ }
17
+ exports.Item = Item;
18
+ //# sourceMappingURL=item.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.model.js","sourceRoot":"","sources":["../../src/models/item.model.ts"],"names":[],"mappings":";;;AASA,MAAa,IAAI;IAKhB,IAAI,CAAU;IAMd,KAAK,CAAU;IAKf,KAAK,CAAK;IAKV,MAAM,CAAW;IAKjB,QAAQ,CAAW;IAKnB,IAAI,CAAO;IAKX,YAAY,CAAO;IAKnB,KAAK,CAAO;IAIZ,YAAY,KAAqB;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhDD,oBAgDC"}
@@ -0,0 +1,11 @@
1
+ export declare class ILink {
2
+ id?: string;
3
+ title?: string;
4
+ icon?: AnimationPlaybackEvent;
5
+ iconName?: any;
6
+ image?: string;
7
+ url?: string;
8
+ href?: string;
9
+ active?: boolean;
10
+ permission?: string;
11
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ILink = void 0;
4
+ class ILink {
5
+ id;
6
+ title;
7
+ icon;
8
+ iconName;
9
+ image;
10
+ url;
11
+ href;
12
+ active;
13
+ permission;
14
+ }
15
+ exports.ILink = ILink;
16
+ //# sourceMappingURL=link.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.model.js","sourceRoot":"","sources":["../../src/models/link.model.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;IAIjB,EAAE,CAAU;IAKZ,KAAK,CAAU;IAKf,IAAI,CAA0B;IAK9B,QAAQ,CAAO;IAKf,KAAK,CAAU;IAKf,GAAG,CAAU;IAKb,IAAI,CAAU;IAKd,MAAM,CAAW;IAKjB,UAAU,CAAU;CACpB;AA7CD,sBA6CC"}
@@ -0,0 +1,13 @@
1
+ import { NotificationType } from '../enums';
2
+ export declare class Notification {
3
+ type: NotificationType;
4
+ title: string;
5
+ message: string;
6
+ data: string;
7
+ constructor(props?: Partial<Notification>);
8
+ }
9
+ export declare class NotificationToken {
10
+ deviceType: string;
11
+ token: string;
12
+ constructor(props?: Partial<NotificationToken>);
13
+ }