@astro-sports-developers/models 1.0.29 → 1.0.32
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.
|
@@ -104,10 +104,62 @@ const productOptionalInputs = [
|
|
|
104
104
|
'Uniform Size',
|
|
105
105
|
'Note',
|
|
106
106
|
];
|
|
107
|
+
const usStates = [
|
|
108
|
+
'AL',
|
|
109
|
+
'AK',
|
|
110
|
+
'AZ',
|
|
111
|
+
'AR',
|
|
112
|
+
'CA',
|
|
113
|
+
'CO',
|
|
114
|
+
'CT',
|
|
115
|
+
'DE',
|
|
116
|
+
'FL',
|
|
117
|
+
'GA',
|
|
118
|
+
'HI',
|
|
119
|
+
'ID',
|
|
120
|
+
'IL',
|
|
121
|
+
'IN',
|
|
122
|
+
'IA',
|
|
123
|
+
'KS',
|
|
124
|
+
'KY',
|
|
125
|
+
'LA',
|
|
126
|
+
'ME',
|
|
127
|
+
'MD',
|
|
128
|
+
'MA',
|
|
129
|
+
'MI',
|
|
130
|
+
'MN',
|
|
131
|
+
'MS',
|
|
132
|
+
'MO',
|
|
133
|
+
'MT',
|
|
134
|
+
'NE',
|
|
135
|
+
'NV',
|
|
136
|
+
'NH',
|
|
137
|
+
'NJ',
|
|
138
|
+
'NM',
|
|
139
|
+
'NY',
|
|
140
|
+
'NC',
|
|
141
|
+
'ND',
|
|
142
|
+
'OH',
|
|
143
|
+
'OK',
|
|
144
|
+
'OR',
|
|
145
|
+
'PA',
|
|
146
|
+
'RI',
|
|
147
|
+
'SC',
|
|
148
|
+
'SD',
|
|
149
|
+
'TN',
|
|
150
|
+
'TX',
|
|
151
|
+
'UT',
|
|
152
|
+
'VT',
|
|
153
|
+
'VA',
|
|
154
|
+
'WA',
|
|
155
|
+
'WV',
|
|
156
|
+
'WI',
|
|
157
|
+
'WY',
|
|
158
|
+
];
|
|
107
159
|
|
|
108
160
|
/**
|
|
109
161
|
* Generated bundle index. Do not edit.
|
|
110
162
|
*/
|
|
111
163
|
|
|
112
|
-
export { countries, productOptionalInputs, sports };
|
|
164
|
+
export { countries, productOptionalInputs, sports, usStates };
|
|
113
165
|
//# sourceMappingURL=astro-sports-developers-models.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"astro-sports-developers-models.mjs","sources":["../../../projects/models/src/lib/models/M_Dictionary.models.ts","../../../projects/models/src/lib/models/L_Strings.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","export const sports = [\r\n
|
|
1
|
+
{"version":3,"file":"astro-sports-developers-models.mjs","sources":["../../../projects/models/src/lib/models/M_Dictionary.models.ts","../../../projects/models/src/lib/models/L_Strings.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_DictionaryEventItem_V1_1 {\r\n //new\r\n ORG_Id?: string;\r\n SP_Id?: string;\r\n SA_Id?: string;\r\n\r\n E_Id?: string;\r\n E_EventName?: string;\r\n E_Type: 'Tournament' | 'Media Day' | 'Camp' | 'League' | 'Other';\r\n E_EventStatus?: string;\r\n E_ReadyForPurchase?: boolean;\r\n E_Description?: string;\r\n E_CoverByAstro?: boolean;\r\n E_AstroStatus?: string;\r\n E_LogoUrl?: M_MediaFileV1;\r\n E_ImageUrl?: M_MediaFileV1;\r\n E_DateOptions?: Timestamp[] | Date[]; //Array of possible dates for the event\r\n\r\n createdAt?: any;\r\n updatedAt?: any;\r\n delete?: boolean;\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\nexport interface M_E_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 events: M_DictionaryEventItem_V1_1[];\r\n\r\n updateAt: Timestamp | Date;\r\n version: '1';\r\n}\r\n","export const sports = [\r\n 'American Football',\r\n 'Badminton',\r\n 'Baseball',\r\n 'Basketball',\r\n 'Boxing',\r\n 'Cheerleading',\r\n 'Cross Country',\r\n 'Cycling',\r\n 'Dance',\r\n 'Field Hockey',\r\n 'Flag Football',\r\n 'Football',\r\n 'Golf',\r\n 'Gymnastics',\r\n 'Hockey',\r\n 'Lacrosse',\r\n 'Martial Arts',\r\n 'Padel',\r\n 'Pickleball',\r\n 'Rugby',\r\n 'Soccer',\r\n 'Softball',\r\n 'Swimming and Diving',\r\n 'Swimming',\r\n 'Table Tennis',\r\n 'Tennis',\r\n 'Track and Field',\r\n 'Volleyball',\r\n 'Water Polo',\r\n 'Wrestling',\r\n] as const;\r\n\r\nexport const productOptionalInputs = [\r\n 'Attendee Name',\r\n 'Attendee Last Name',\r\n 'Attendee Email',\r\n 'Attendee Phone Number',\r\n 'Attendee Age',\r\n 'Attendee Birthdate',\r\n 'Player Name',\r\n 'Player Last Name',\r\n 'Player Number',\r\n 'Player Position',\r\n 'Player Email',\r\n 'Player Phone Number',\r\n 'Player Age',\r\n 'Player Birthdate',\r\n 'Player Grade',\r\n 'Graduation Year',\r\n 'Sport Name',\r\n 'Team Name',\r\n 'Team Home',\r\n 'Team Away',\r\n 'Team Color',\r\n 'School Name',\r\n 'Organization Name',\r\n 'Coach Name',\r\n 'Coach Last Name',\r\n 'Parent Name',\r\n 'Parent Last Name',\r\n 'Parent Email',\r\n 'Parent Phone Number',\r\n 'Emergency Contact Name',\r\n 'Emergency Contact Phone Number',\r\n 'Event Name',\r\n 'Tournament Name',\r\n 'Venue Name',\r\n 'Venue Address',\r\n 'City',\r\n 'State',\r\n 'Country',\r\n 'Zip Code',\r\n 'Date',\r\n 'Time',\r\n 'Session',\r\n 'Division',\r\n 'Category',\r\n 'Jersey Number',\r\n 'Number',\r\n 'Court',\r\n 'Nickname',\r\n 'Hour',\r\n 'Email',\r\n 'Phone Number',\r\n 'Twitter',\r\n 'Facebook',\r\n 'Instagram',\r\n 'Snapchat',\r\n 'TikTok',\r\n 'YouTube',\r\n 'Score Team Home',\r\n 'Score Team Away',\r\n 'Final Score',\r\n 'Result',\r\n 'Ticket Type',\r\n 'Pass Type',\r\n 'Shirt Size',\r\n 'Uniform Size',\r\n 'Note',\r\n] as const;\r\n\r\nexport const usStates = [\r\n 'AL',\r\n 'AK',\r\n 'AZ',\r\n 'AR',\r\n 'CA',\r\n 'CO',\r\n 'CT',\r\n 'DE',\r\n 'FL',\r\n 'GA',\r\n 'HI',\r\n 'ID',\r\n 'IL',\r\n 'IN',\r\n 'IA',\r\n 'KS',\r\n 'KY',\r\n 'LA',\r\n 'ME',\r\n 'MD',\r\n 'MA',\r\n 'MI',\r\n 'MN',\r\n 'MS',\r\n 'MO',\r\n 'MT',\r\n 'NE',\r\n 'NV',\r\n 'NH',\r\n 'NJ',\r\n 'NM',\r\n 'NY',\r\n 'NC',\r\n 'ND',\r\n 'OH',\r\n 'OK',\r\n 'OR',\r\n 'PA',\r\n 'RI',\r\n 'SC',\r\n 'SD',\r\n 'TN',\r\n 'TX',\r\n 'UT',\r\n 'VT',\r\n 'VA',\r\n 'WA',\r\n 'WV',\r\n 'WI',\r\n 'WY',\r\n] as const;\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,EA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IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;;;ACxJN;;AAEG;;;;"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare const sports: readonly ["American Football", "Badminton", "Baseball", "Basketball", "Boxing", "Cheerleading", "Cross Country", "Cycling", "Dance", "Field Hockey", "Flag Football", "Football", "Golf", "Gymnastics", "Hockey", "Lacrosse", "Martial Arts", "Padel", "Pickleball", "Rugby", "Soccer", "Softball", "Swimming and Diving", "Swimming", "Table Tennis", "Tennis", "Track and Field", "Volleyball", "Water Polo", "Wrestling"];
|
|
2
2
|
export declare const productOptionalInputs: readonly ["Attendee Name", "Attendee Last Name", "Attendee Email", "Attendee Phone Number", "Attendee Age", "Attendee Birthdate", "Player Name", "Player Last Name", "Player Number", "Player Position", "Player Email", "Player Phone Number", "Player Age", "Player Birthdate", "Player Grade", "Graduation Year", "Sport Name", "Team Name", "Team Home", "Team Away", "Team Color", "School Name", "Organization Name", "Coach Name", "Coach Last Name", "Parent Name", "Parent Last Name", "Parent Email", "Parent Phone Number", "Emergency Contact Name", "Emergency Contact Phone Number", "Event Name", "Tournament Name", "Venue Name", "Venue Address", "City", "State", "Country", "Zip Code", "Date", "Time", "Session", "Division", "Category", "Jersey Number", "Number", "Court", "Nickname", "Hour", "Email", "Phone Number", "Twitter", "Facebook", "Instagram", "Snapchat", "TikTok", "YouTube", "Score Team Home", "Score Team Away", "Final Score", "Result", "Ticket Type", "Pass Type", "Shirt Size", "Uniform Size", "Note"];
|
|
3
|
+
export declare const usStates: readonly ["AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY"];
|
|
@@ -29,6 +29,25 @@ export interface M_DictionaryTournamentItem_V1_1 {
|
|
|
29
29
|
TOU_AstroStatus?: string;
|
|
30
30
|
version: '1.1';
|
|
31
31
|
}
|
|
32
|
+
export interface M_DictionaryEventItem_V1_1 {
|
|
33
|
+
ORG_Id?: string;
|
|
34
|
+
SP_Id?: string;
|
|
35
|
+
SA_Id?: string;
|
|
36
|
+
E_Id?: string;
|
|
37
|
+
E_EventName?: string;
|
|
38
|
+
E_Type: 'Tournament' | 'Media Day' | 'Camp' | 'League' | 'Other';
|
|
39
|
+
E_EventStatus?: string;
|
|
40
|
+
E_ReadyForPurchase?: boolean;
|
|
41
|
+
E_Description?: string;
|
|
42
|
+
E_CoverByAstro?: boolean;
|
|
43
|
+
E_AstroStatus?: string;
|
|
44
|
+
E_LogoUrl?: M_MediaFileV1;
|
|
45
|
+
E_ImageUrl?: M_MediaFileV1;
|
|
46
|
+
E_DateOptions?: Timestamp[] | Date[];
|
|
47
|
+
createdAt?: any;
|
|
48
|
+
updatedAt?: any;
|
|
49
|
+
delete?: boolean;
|
|
50
|
+
}
|
|
32
51
|
export interface M_TOU_Dictionary_V1 {
|
|
33
52
|
country: string;
|
|
34
53
|
state: string;
|
|
@@ -40,3 +59,14 @@ export interface M_TOU_Dictionary_V1 {
|
|
|
40
59
|
updateAt: Timestamp | Date;
|
|
41
60
|
version: '1';
|
|
42
61
|
}
|
|
62
|
+
export interface M_E_Dictionary_V1 {
|
|
63
|
+
country: string;
|
|
64
|
+
state: string;
|
|
65
|
+
year: string;
|
|
66
|
+
month: string;
|
|
67
|
+
yearMonth: string;
|
|
68
|
+
countryStateYearMonth: string;
|
|
69
|
+
events: M_DictionaryEventItem_V1_1[];
|
|
70
|
+
updateAt: Timestamp | Date;
|
|
71
|
+
version: '1';
|
|
72
|
+
}
|
package/lib/models/M_Events.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export interface M_Event_V4 {
|
|
|
14
14
|
E_Type: 'Tournament' | 'Media Day' | 'Camp' | 'League' | 'Other';
|
|
15
15
|
E_EventStatus?: string;
|
|
16
16
|
E_Address?: string;
|
|
17
|
+
E_State?: string;
|
|
18
|
+
E_Country?: string;
|
|
17
19
|
E_City?: string;
|
|
18
20
|
E_Sports?: string[];
|
|
19
21
|
E_ReadyForPurchase?: boolean;
|
package/package.json
CHANGED