@astro-sports-developers/models 1.0.15 → 1.0.17

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.
@@ -1,4 +1,12 @@
1
+ const countries = [
2
+ { variable: 'US', name: 'United States of America' },
3
+ { variable: 'CA', name: 'Canada' },
4
+ { variable: 'MX', name: 'Mexico' },
5
+ ];
6
+
1
7
  /**
2
8
  * Generated bundle index. Do not edit.
3
9
  */
10
+
11
+ export { countries };
4
12
  //# sourceMappingURL=astro-sports-developers-models.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"astro-sports-developers-models.mjs","sources":["../../../projects/models/src/astro-sports-developers-models.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG"}
1
+ {"version":3,"file":"astro-sports-developers-models.mjs","sources":["../../../projects/models/src/lib/models/M_Dictionary.models.ts","../../../projects/models/src/astro-sports-developers-models.ts"],"sourcesContent":["import { Timestamp } from 'firebase/firestore';\r\nimport { M_MediaFileV1 } from './M_MediaFile';\r\n\r\nexport const countries = [\r\n { variable: 'US', name: 'United States of America' },\r\n { variable: 'CA', name: 'Canada' },\r\n { variable: 'MX', name: 'Mexico' },\r\n] as const;\r\n\r\nexport interface M_DictionaryTournamentItem_V1_1 {\r\n ORG_Id?: string;\r\n TOU_Id?: string;\r\n\r\n TOU_Tier: string;\r\n\r\n TOU_Name: string;\r\n TOU_ShortDescription?: string;\r\n\r\n TOU_Country: string;\r\n TOU_State: string;\r\n TOU_City: string;\r\n\r\n TOU_StartDate?: Date | Timestamp;\r\n TOU_EndDate?: Date | Timestamp;\r\n\r\n TOU_LogoURL?: M_MediaFileV1;\r\n\r\n TOU_Type?: string;\r\n TOU_Gender?: string;\r\n TOU_Status?: string;\r\n\r\n TOU_IsCoverByAstro?: boolean;\r\n TOU_AstroStatus?: string;\r\n\r\n version: '1.1';\r\n}\r\n\r\nexport interface M_TOU_Dictionary_V1 {\r\n country: string;\r\n state: string;\r\n year: string;\r\n month: string;\r\n yearMonth: string;\r\n countryStateYearMonth: string; //<--Esta sera el de lectura.\r\n\r\n tournaments: M_DictionaryTournamentItem_V1_1[];\r\n\r\n updateAt: Timestamp | Date;\r\n version: '1';\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAGa,MAAA,SAAS,GAAG;AACvB,IAAA,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,0BAA0B,EAAE;AACpD,IAAA,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;AAClC,IAAA,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;;;ACNpC;;AAEG;;;;"}
@@ -0,0 +1,42 @@
1
+ import { Timestamp } from 'firebase/firestore';
2
+ import { M_MediaFileV1 } from './M_MediaFile';
3
+ export declare const countries: readonly [{
4
+ readonly variable: "US";
5
+ readonly name: "United States of America";
6
+ }, {
7
+ readonly variable: "CA";
8
+ readonly name: "Canada";
9
+ }, {
10
+ readonly variable: "MX";
11
+ readonly name: "Mexico";
12
+ }];
13
+ export interface M_DictionaryTournamentItem_V1_1 {
14
+ ORG_Id?: string;
15
+ TOU_Id?: string;
16
+ TOU_Tier: string;
17
+ TOU_Name: string;
18
+ TOU_ShortDescription?: string;
19
+ TOU_Country: string;
20
+ TOU_State: string;
21
+ TOU_City: string;
22
+ TOU_StartDate?: Date | Timestamp;
23
+ TOU_EndDate?: Date | Timestamp;
24
+ TOU_LogoURL?: M_MediaFileV1;
25
+ TOU_Type?: string;
26
+ TOU_Gender?: string;
27
+ TOU_Status?: string;
28
+ TOU_IsCoverByAstro?: boolean;
29
+ TOU_AstroStatus?: string;
30
+ version: '1.1';
31
+ }
32
+ export interface M_TOU_Dictionary_V1 {
33
+ country: string;
34
+ state: string;
35
+ year: string;
36
+ month: string;
37
+ yearMonth: string;
38
+ countryStateYearMonth: string;
39
+ tournaments: M_DictionaryTournamentItem_V1_1[];
40
+ updateAt: Timestamp | Date;
41
+ version: '1';
42
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astro-sports-developers/models",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "Astro shared models library",
5
5
  "main": "bundles/astro-models.umd.js",
6
6
  "module": "fesm2022/astro-sports-developers-models.mjs",
package/public-api.d.ts CHANGED
@@ -8,3 +8,4 @@ export * from './lib/models/M_Teams.model';
8
8
  export * from './lib/models/M_Universal';
9
9
  export * from './lib/models/M_Purchases.models';
10
10
  export * from './lib/models/M_PurchasePayload';
11
+ export * from './lib/models/M_Dictionary.models';