@jealous-robot-dev/shared-types-responses 1.29.18 → 1.29.21

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.
@@ -15,7 +15,7 @@ export interface UrgentEventData {
15
15
  duration: number;
16
16
  pic: string;
17
17
  sid: string;
18
- can_join: string;
18
+ can_join: boolean;
19
19
  starts_at: string;
20
20
  }
21
21
  export interface UrgentEventPhrases {
@@ -23,6 +23,7 @@ export interface MainUserData {
23
23
  firstname: string;
24
24
  lastname: string;
25
25
  ppu: string;
26
+ is_admin: boolean;
26
27
  member_since: number;
27
28
  unread_messages_count: number;
28
29
  auth_instrument: AuthenticationProviders;
@@ -1,4 +1,5 @@
1
1
  export declare enum PPUSizes {
2
+ NANO = "nano",
2
3
  LARGE = "large",
3
4
  SMALL = "small",
4
5
  MEDIUM = "medium"
@@ -3,26 +3,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pputresholds = exports.ppusizeslist = exports.PPUSizes = void 0;
4
4
  var PPUSizes;
5
5
  (function (PPUSizes) {
6
+ PPUSizes["NANO"] = "nano";
6
7
  PPUSizes["LARGE"] = "large";
7
8
  PPUSizes["SMALL"] = "small";
8
9
  PPUSizes["MEDIUM"] = "medium";
9
10
  })(PPUSizes = exports.PPUSizes || (exports.PPUSizes = {}));
10
11
  exports.ppusizeslist = [
11
- PPUSizes.LARGE, PPUSizes.MEDIUM, PPUSizes.SMALL
12
+ PPUSizes.LARGE, PPUSizes.SMALL,
13
+ PPUSizes.NANO, PPUSizes.MEDIUM
12
14
  ];
13
15
  exports.pputresholds = [
14
16
  {
15
17
  size: PPUSizes.LARGE,
18
+ width: 400,
19
+ quality: 30
20
+ },
21
+ {
22
+ size: PPUSizes.MEDIUM,
16
23
  width: 264,
17
24
  quality: 24
18
25
  },
19
26
  {
20
- size: PPUSizes.MEDIUM,
27
+ size: PPUSizes.SMALL,
21
28
  width: 132,
22
29
  quality: 17
23
30
  },
24
31
  {
25
- size: PPUSizes.SMALL,
32
+ size: PPUSizes.NANO,
26
33
  width: 68,
27
34
  quality: 12
28
35
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.29.18",
3
+ "version": "1.29.21",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",