@uniteverses/shared 1.0.138 → 1.0.140

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.
@@ -0,0 +1,21 @@
1
+ export type PoliticiansCommunityResidentsExploreFlyerKind = "event" | "deal" | "news";
2
+ export interface PoliticiansCommunityResidentsExploreFlyerTranslation {
3
+ languageCode: string;
4
+ name: string;
5
+ description: string;
6
+ }
7
+ export interface PoliticiansCommunityResidentsExploreFlyerExtract {
8
+ translations: PoliticiansCommunityResidentsExploreFlyerTranslation[];
9
+ startsAt?: string | null;
10
+ endsAt?: string | null;
11
+ location?: string | null;
12
+ currentPrice?: string | null;
13
+ previousPrice?: string | null;
14
+ discountPercent?: string | null;
15
+ }
16
+ export interface PoliticiansCommunityResidentsExploreFlyerExtractInput {
17
+ kind: PoliticiansCommunityResidentsExploreFlyerKind;
18
+ image: string;
19
+ organizationId: string;
20
+ languageCodes: string[];
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  export * from "./common/types";
2
2
  export * from "./language/types";
3
3
  export * from "./type/types";
4
+ export * from "./type_group/types";
5
+ export * from "./flyer/types";
4
6
  export * from "./organization_translation/types";
5
7
  export * from "./organization/types";
6
8
  export * from "./map/types";
@@ -20,6 +20,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
20
20
  __exportStar(require("./common/types"), exports);
21
21
  __exportStar(require("./language/types"), exports);
22
22
  __exportStar(require("./type/types"), exports);
23
+ __exportStar(require("./type_group/types"), exports);
24
+ __exportStar(require("./flyer/types"), exports);
23
25
  __exportStar(require("./organization_translation/types"), exports);
24
26
  __exportStar(require("./organization/types"), exports);
25
27
  __exportStar(require("./map/types"), exports);
@@ -1,23 +1,20 @@
1
- import type { Language, Type } from "..";
2
- export interface TypeGroupTranslation {
1
+ import type { PoliticiansCommunityResidentsExploreLanguage, PoliticiansCommunityResidentsExploreType } from "..";
2
+ export interface PoliticiansCommunityResidentsExploreTypeGroupTranslation {
3
3
  id: string;
4
4
  typeGroupId: string;
5
5
  languageId: string;
6
6
  name: string;
7
7
  createdAt: string;
8
- language: Language;
8
+ language: PoliticiansCommunityResidentsExploreLanguage;
9
9
  }
10
- export interface TypeGroupType {
11
- id: string;
12
- typeGroupId: string;
13
- typeId: string;
14
- createdAt: string;
15
- type?: Type;
16
- }
17
- export interface TypeGroup {
10
+ export interface PoliticiansCommunityResidentsExploreTypeGroup {
18
11
  id: string;
19
12
  emoji: string;
20
13
  createdAt: string;
21
- translations?: TypeGroupTranslation[];
22
- types?: TypeGroupType[];
14
+ translations?: PoliticiansCommunityResidentsExploreTypeGroupTranslation[];
15
+ types: PoliticiansCommunityResidentsExploreType[];
16
+ }
17
+ export interface PoliticiansCommunityResidentsExploreTypeGroupList {
18
+ groups: PoliticiansCommunityResidentsExploreTypeGroup[];
19
+ ungrouped: PoliticiansCommunityResidentsExploreType[];
23
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.138",
3
+ "version": "1.0.140",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [