@intelact/bright 0.8.1 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/lib/enums/social.enum.d.ts +1 -0
  2. package/lib/enums/social.enum.js +1 -0
  3. package/lib/enums/social.enum.js.map +1 -1
  4. package/lib/models/feedback.d.ts +5 -0
  5. package/lib/models/index.d.ts +1 -1
  6. package/lib/models/index.js +1 -1
  7. package/lib/models/index.js.map +1 -1
  8. package/lib/models/link.d.ts +2 -1
  9. package/lib/models/link.js.map +1 -1
  10. package/lib/models/notification.d.ts +1 -0
  11. package/lib/models/notification.js +15 -0
  12. package/lib/models/notification.js.map +1 -1
  13. package/lib/models/question.d.ts +2 -0
  14. package/lib/models/question.js +18 -0
  15. package/lib/models/question.js.map +1 -1
  16. package/lib/models/share.d.ts +6 -0
  17. package/lib/models/share.js +3 -0
  18. package/lib/models/share.js.map +1 -0
  19. package/lib/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +1 -1
  21. package/lib/dtos/admin.dto.d.ts +0 -18
  22. package/lib/dtos/admin.dto.js +0 -70
  23. package/lib/dtos/admin.dto.js.map +0 -1
  24. package/lib/mock/brands.d.ts +0 -29
  25. package/lib/mock/brands.js +0 -397
  26. package/lib/mock/brands.js.map +0 -1
  27. package/lib/mock/docs.d.ts +0 -1
  28. package/lib/mock/docs.js +0 -15
  29. package/lib/mock/docs.js.map +0 -1
  30. package/lib/mock/images.d.ts +0 -1
  31. package/lib/mock/images.js +0 -13
  32. package/lib/mock/images.js.map +0 -1
  33. package/lib/mock/index.d.ts +0 -4
  34. package/lib/mock/index.js +0 -21
  35. package/lib/mock/index.js.map +0 -1
  36. package/lib/mock/media.d.ts +0 -3
  37. package/lib/mock/media.js +0 -35
  38. package/lib/mock/media.js.map +0 -1
  39. package/lib/models/administrator.d.ts +0 -14
  40. package/lib/models/administrator.js +0 -18
  41. package/lib/models/administrator.js.map +0 -1
  42. package/lib/models/item.model.d.ts +0 -11
  43. package/lib/models/item.model.js +0 -18
  44. package/lib/models/item.model.js.map +0 -1
  45. package/lib/models/link.model.d.ts +0 -11
  46. package/lib/models/link.model.js +0 -16
  47. package/lib/models/link.model.js.map +0 -1
  48. package/lib/test.d.ts +0 -1
  49. package/lib/test.js +0 -14
  50. package/lib/test.js.map +0 -1
package/lib/mock/media.js DELETED
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MOCK_EMBED_VIDEOS = exports.MOCK_VIDEOS = exports.MOCK_AUDIOS = void 0;
4
- exports.MOCK_AUDIOS = [
5
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/audios/01-ed-sheeran-perfect.mp3',
6
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/audios/02-adele-hello.mp3',
7
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/audios/03-ramin-djawadi-winter-Is-here.mp3',
8
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/audios/04-james-last-my-hearth-will-go-on.mp3',
9
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/audios/05-piano-trio-major.mp3',
10
- ];
11
- exports.MOCK_VIDEOS = [
12
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/01-mike-ross-interview-with-harvey-long.mp4',
13
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/02-mike-ross-interview-with-harvey-short.mp4',
14
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/05-bill-burr-how-to-argue-with-women-long.mp4',
15
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/05-iran-scenery-long.mp4',
16
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/05-iran-scenery-short.mp4',
17
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/06-bill-burr-how-to-argue-with-women-short.mp4',
18
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/07-my-name-is-maximus-decimus-meridius-short.mp4',
19
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/08-interstellar-waves-scene-long.mp4',
20
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/09-interstellar-waves-scene-short.mp4',
21
- 'https://intelact-bright.s3.eu-north-1.amazonaws.com/oneblog/publishers/national-library/videos/10-my-name-is-maximus-decimus-meridius-long.mp4',
22
- ];
23
- exports.MOCK_EMBED_VIDEOS = [
24
- 'https://www.youtube.com/embed/IG1UPHbugTI?si=5glMbXskS4OOwRAm',
25
- 'https://www.youtube.com/embed/FP7d5JU3Bos?si=HrQnLe0Z9WseRZGJ',
26
- 'https://www.youtube.com/embed/x3gqEcq1hKg?si=TbuYpzQXli3ON4NO',
27
- 'https://www.youtube.com/embed/hTWKbfoikeg?si=na_dwt4kFeBD0eqC',
28
- 'https://www.youtube.com/embed/Zi_XLOBDo_Y?si=U9dosshfIn-MHBf0',
29
- 'https://www.youtube.com/embed/fQ0PwEOgups?si=CQ8Q6VnGryiQxlLZ',
30
- 'https://www.youtube.com/embed/vauo4o-ExoY?si=BBt2yV9N2ua0CAoT',
31
- 'https://www.youtube.com/embed/Y6rbE4Z7P_s?si=ulXB9pljRmOK19vu',
32
- 'https://www.youtube.com/embed/__R-r2t0vSU?si=ClwGaG9DlMBOr8ih',
33
- 'https://www.youtube.com/embed/pRpeEdMmmQ0?si=c_Qn04JaxdrJZoQd',
34
- ];
35
- //# sourceMappingURL=media.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media.js","sourceRoot":"","sources":["../../src/mock/media.ts"],"names":[],"mappings":";;;AAGa,QAAA,WAAW,GAAa;IACpC,0HAA0H;IAC1H,mHAAmH;IACnH,oIAAoI;IACpI,uIAAuI;IACvI,wHAAwH;CACxH,CAAC;AAKW,QAAA,WAAW,GAAa;IACpC,4IAA4I;IAC5I,6IAA6I;IAC7I,8IAA8I;IAC9I,yHAAyH;IACzH,0HAA0H;IAC1H,+IAA+I;IAC/I,iJAAiJ;IACjJ,qIAAqI;IACrI,sIAAsI;IACtI,gJAAgJ;CAChJ,CAAC;AAKW,QAAA,iBAAiB,GAAa;IAC1C,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;IAC/D,+DAA+D;CAC/D,CAAC"}
@@ -1,14 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
@@ -1 +0,0 @@
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"}
package/lib/test.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/lib/test.js DELETED
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const class_transformer_1 = require("class-transformer");
4
- const user_1 = require("./models/user");
5
- const plain = {
6
- id: 1,
7
- uid: 'weew435b345hb34l5hb',
8
- name: 'Test User',
9
- email: 'sfgergerg',
10
- phone: 'ewgergregergerg',
11
- };
12
- const user = (0, class_transformer_1.plainToClass)(user_1.User, plain);
13
- console.log(user);
14
- //# sourceMappingURL=test.js.map
package/lib/test.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"test.js","sourceRoot":"","sources":["../src/test.ts"],"names":[],"mappings":";;AAAA,yDAAiD;AACjD,wCAAqC;AAErC,MAAM,KAAK,GAAW;IACrB,EAAE,EAAE,CAAC;IACL,GAAG,EAAE,qBAAqB;IAC1B,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,iBAAiB;CACxB,CAAA;AAED,MAAM,IAAI,GAAG,IAAA,gCAAY,EAAC,WAAI,EAAE,KAAK,CAAC,CAAC;AAEvC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC"}