@astro-sports-developers/models 1.0.17 → 1.0.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.
- package/fesm2022/astro-sports-developers-models.mjs +102 -1
- package/fesm2022/astro-sports-developers-models.mjs.map +1 -1
- package/lib/models/L_Strings.d.ts +2 -0
- package/lib/models/M_Events.d.ts +5 -2
- package/lib/models/M_Organization.models.d.ts +116 -0
- package/lib/models/M_Product.model.d.ts +9 -6
- package/lib/models/M_Teams.model.d.ts +27 -5
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -4,9 +4,110 @@ const countries = [
|
|
|
4
4
|
{ variable: 'MX', name: 'Mexico' },
|
|
5
5
|
];
|
|
6
6
|
|
|
7
|
+
const sports = [
|
|
8
|
+
'American Football',
|
|
9
|
+
'Badminton',
|
|
10
|
+
'Baseball',
|
|
11
|
+
'Basketball',
|
|
12
|
+
'Boxing',
|
|
13
|
+
'Cheerleading',
|
|
14
|
+
'Cross Country',
|
|
15
|
+
'Cycling',
|
|
16
|
+
'Dance',
|
|
17
|
+
'Field Hockey',
|
|
18
|
+
'Flag Football',
|
|
19
|
+
'Football',
|
|
20
|
+
'Golf',
|
|
21
|
+
'Gymnastics',
|
|
22
|
+
'Hockey',
|
|
23
|
+
'Lacrosse',
|
|
24
|
+
'Martial Arts',
|
|
25
|
+
'Padel',
|
|
26
|
+
'Pickleball',
|
|
27
|
+
'Rugby',
|
|
28
|
+
'Soccer',
|
|
29
|
+
'Softball',
|
|
30
|
+
'Swimming and Diving',
|
|
31
|
+
'Swimming',
|
|
32
|
+
'Table Tennis',
|
|
33
|
+
'Tennis',
|
|
34
|
+
'Track and Field',
|
|
35
|
+
'Volleyball',
|
|
36
|
+
'Water Polo',
|
|
37
|
+
'Wrestling',
|
|
38
|
+
];
|
|
39
|
+
const productOptionalInputs = [
|
|
40
|
+
'Attendee Name',
|
|
41
|
+
'Attendee Last Name',
|
|
42
|
+
'Attendee Email',
|
|
43
|
+
'Attendee Phone Number',
|
|
44
|
+
'Attendee Age',
|
|
45
|
+
'Attendee Birthdate',
|
|
46
|
+
'Player Name',
|
|
47
|
+
'Player Last Name',
|
|
48
|
+
'Player Number',
|
|
49
|
+
'Player Position',
|
|
50
|
+
'Player Email',
|
|
51
|
+
'Player Phone Number',
|
|
52
|
+
'Player Age',
|
|
53
|
+
'Player Birthdate',
|
|
54
|
+
'Player Grade',
|
|
55
|
+
'Graduation Year',
|
|
56
|
+
'Sport Name',
|
|
57
|
+
'Team Name',
|
|
58
|
+
'Team Home',
|
|
59
|
+
'Team Away',
|
|
60
|
+
'Team Color',
|
|
61
|
+
'School Name',
|
|
62
|
+
'Organization Name',
|
|
63
|
+
'Coach Name',
|
|
64
|
+
'Coach Last Name',
|
|
65
|
+
'Parent Name',
|
|
66
|
+
'Parent Last Name',
|
|
67
|
+
'Parent Email',
|
|
68
|
+
'Parent Phone Number',
|
|
69
|
+
'Emergency Contact Name',
|
|
70
|
+
'Emergency Contact Phone Number',
|
|
71
|
+
'Event Name',
|
|
72
|
+
'Tournament Name',
|
|
73
|
+
'Venue Name',
|
|
74
|
+
'Venue Address',
|
|
75
|
+
'City',
|
|
76
|
+
'State',
|
|
77
|
+
'Country',
|
|
78
|
+
'Zip Code',
|
|
79
|
+
'Date',
|
|
80
|
+
'Time',
|
|
81
|
+
'Session',
|
|
82
|
+
'Division',
|
|
83
|
+
'Category',
|
|
84
|
+
'Jersey Number',
|
|
85
|
+
'Number',
|
|
86
|
+
'Court',
|
|
87
|
+
'Nickname',
|
|
88
|
+
'Hour',
|
|
89
|
+
'Email',
|
|
90
|
+
'Phone Number',
|
|
91
|
+
'Twitter',
|
|
92
|
+
'Facebook',
|
|
93
|
+
'Instagram',
|
|
94
|
+
'Snapchat',
|
|
95
|
+
'TikTok',
|
|
96
|
+
'YouTube',
|
|
97
|
+
'Score Team Home',
|
|
98
|
+
'Score Team Away',
|
|
99
|
+
'Final Score',
|
|
100
|
+
'Result',
|
|
101
|
+
'Ticket Type',
|
|
102
|
+
'Pass Type',
|
|
103
|
+
'Shirt Size',
|
|
104
|
+
'Uniform Size',
|
|
105
|
+
'Note',
|
|
106
|
+
];
|
|
107
|
+
|
|
7
108
|
/**
|
|
8
109
|
* Generated bundle index. Do not edit.
|
|
9
110
|
*/
|
|
10
111
|
|
|
11
|
-
export { countries };
|
|
112
|
+
export { countries, productOptionalInputs, sports };
|
|
12
113
|
//# 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/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;;;
|
|
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\t'American Football',\r\n\t'Badminton',\r\n\t'Baseball',\r\n\t'Basketball',\r\n\t'Boxing',\r\n\t'Cheerleading',\r\n\t'Cross Country',\r\n\t'Cycling',\r\n\t'Dance',\r\n\t'Field Hockey',\r\n\t'Flag Football',\r\n\t'Football',\r\n\t'Golf',\r\n\t'Gymnastics',\r\n\t'Hockey',\r\n\t'Lacrosse',\r\n\t'Martial Arts',\r\n\t'Padel',\r\n\t'Pickleball',\r\n\t'Rugby',\r\n\t'Soccer',\r\n\t'Softball',\r\n\t'Swimming and Diving',\r\n\t'Swimming',\r\n\t'Table Tennis',\r\n\t'Tennis',\r\n\t'Track and Field',\r\n\t'Volleyball',\r\n\t'Water Polo',\r\n\t'Wrestling',\r\n] as const;\r\n\r\nexport const productOptionalInputs = [\r\n\t'Attendee Name',\r\n\t'Attendee Last Name',\r\n\t'Attendee Email',\r\n\t'Attendee Phone Number',\r\n\t'Attendee Age',\r\n\t'Attendee Birthdate',\r\n\t'Player Name',\r\n\t'Player Last Name',\r\n\t'Player Number',\r\n\t'Player Position',\r\n\t'Player Email',\r\n\t'Player Phone Number',\r\n\t'Player Age',\r\n\t'Player Birthdate',\r\n\t'Player Grade',\r\n\t'Graduation Year',\r\n\t'Sport Name',\r\n\t'Team Name',\r\n\t'Team Home',\r\n\t'Team Away',\r\n\t'Team Color',\r\n\t'School Name',\r\n\t'Organization Name',\r\n\t'Coach Name',\r\n\t'Coach Last Name',\r\n\t'Parent Name',\r\n\t'Parent Last Name',\r\n\t'Parent Email',\r\n\t'Parent Phone Number',\r\n\t'Emergency Contact Name',\r\n\t'Emergency Contact Phone Number',\r\n\t'Event Name',\r\n\t'Tournament Name',\r\n\t'Venue Name',\r\n\t'Venue Address',\r\n\t'City',\r\n\t'State',\r\n\t'Country',\r\n\t'Zip Code',\r\n\t'Date',\r\n\t'Time',\r\n\t'Session',\r\n\t'Division',\r\n\t'Category',\r\n\t'Jersey Number',\r\n\t'Number',\r\n\t'Court',\r\n\t'Nickname',\r\n\t'Hour',\r\n\t'Email',\r\n\t'Phone Number',\r\n\t'Twitter',\r\n\t'Facebook',\r\n\t'Instagram',\r\n\t'Snapchat',\r\n\t'TikTok',\r\n\t'YouTube',\r\n\t'Score Team Home',\r\n\t'Score Team Away',\r\n\t'Final Score',\r\n\t'Result',\r\n\t'Ticket Type',\r\n\t'Pass Type',\r\n\t'Shirt Size',\r\n\t'Uniform Size',\r\n\t'Note',\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,EAAE;;;ACNvB,MAAA,MAAM,GAAG;IACrB,mBAAmB;IACnB,WAAW;IACX,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,cAAc;IACd,eAAe;IACf,SAAS;IACT,OAAO;IACP,cAAc;IACd,eAAe;IACf,UAAU;IACV,MAAM;IACN,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,cAAc;IACd,OAAO;IACP,YAAY;IACZ,OAAO;IACP,QAAQ;IACR,UAAU;IACV,qBAAqB;IACrB,UAAU;IACV,cAAc;IACd,QAAQ;IACR,iBAAiB;IACjB,YAAY;IACZ,YAAY;IACZ,WAAW;;AAGC,MAAA,qBAAqB,GAAG;IACpC,eAAe;IACf,oBAAoB;IACpB,gBAAgB;IAChB,uBAAuB;IACvB,cAAc;IACd,oBAAoB;IACpB,aAAa;IACb,kBAAkB;IAClB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,qBAAqB;IACrB,YAAY;IACZ,kBAAkB;IAClB,cAAc;IACd,iBAAiB;IACjB,YAAY;IACZ,WAAW;IACX,WAAW;IACX,WAAW;IACX,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;IACjB,aAAa;IACb,kBAAkB;IAClB,cAAc;IACd,qBAAqB;IACrB,wBAAwB;IACxB,gCAAgC;IAChC,YAAY;IACZ,iBAAiB;IACjB,YAAY;IACZ,eAAe;IACf,MAAM;IACN,OAAO;IACP,SAAS;IACT,UAAU;IACV,MAAM;IACN,MAAM;IACN,SAAS;IACT,UAAU;IACV,UAAU;IACV,eAAe;IACf,QAAQ;IACR,OAAO;IACP,UAAU;IACV,MAAM;IACN,OAAO;IACP,cAAc;IACd,SAAS;IACT,UAAU;IACV,WAAW;IACX,UAAU;IACV,QAAQ;IACR,SAAS;IACT,iBAAiB;IACjB,iBAAiB;IACjB,aAAa;IACb,QAAQ;IACR,aAAa;IACb,WAAW;IACX,YAAY;IACZ,cAAc;IACd,MAAM;;;ACnGP;;AAEG;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
+
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"];
|
package/lib/models/M_Events.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Timestamp } from 'firebase/firestore';
|
|
2
2
|
import { M_MediaFileV1 } from './M_MediaFile';
|
|
3
3
|
import { M_Product_V1 } from './M_Product.model';
|
|
4
|
-
export interface
|
|
4
|
+
export interface M_Event_V4 {
|
|
5
5
|
E_ORG_Id?: string;
|
|
6
6
|
E_SP_Id?: string;
|
|
7
7
|
E_TOU_Id?: string;
|
|
8
|
+
E_SA_Id?: string;
|
|
8
9
|
E_Id?: string;
|
|
9
10
|
E_MasterAdminUid?: string;
|
|
10
11
|
E_UserCreated?: string;
|
|
@@ -27,14 +28,16 @@ export interface M_Event_V2 {
|
|
|
27
28
|
E_AstroStatus?: string;
|
|
28
29
|
E_RegisteredProductsAstro?: M_Product_V1[];
|
|
29
30
|
E_RegisteredProducts?: M_Product_V1[];
|
|
31
|
+
E_RegisterTickets?: M_Product_V1[];
|
|
30
32
|
createdAt?: any;
|
|
31
33
|
updatedAt?: any;
|
|
32
34
|
delete?: boolean;
|
|
33
|
-
version?: '
|
|
35
|
+
version?: 'v4';
|
|
34
36
|
}
|
|
35
37
|
export interface M_EventMini {
|
|
36
38
|
E_ORG_Id?: string;
|
|
37
39
|
E_SP_Id?: string;
|
|
40
|
+
E_SA_Id?: string;
|
|
38
41
|
E_TOU_Id?: string;
|
|
39
42
|
E_Id?: string;
|
|
40
43
|
E_EventName?: string;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Timestamp } from 'firebase/firestore';
|
|
2
|
+
import { M_MediaFileV1 } from './M_MediaFile';
|
|
3
|
+
export interface M_OrganizationMin {
|
|
4
|
+
ORGM_Id: string;
|
|
5
|
+
ORGM_Name: string;
|
|
6
|
+
ORGM_Type: 'Tournament' | 'League' | 'Camp' | 'Showcase' | 'Other';
|
|
7
|
+
ORGM_LogoURL: string;
|
|
8
|
+
ORG_Description?: string;
|
|
9
|
+
ORG_MasterAdminUid?: string;
|
|
10
|
+
ORGM_StartDate: string;
|
|
11
|
+
ORGM_EndDate: string;
|
|
12
|
+
ORGM_City: string;
|
|
13
|
+
ORGM_State: string;
|
|
14
|
+
ORGM_Status: 'Upcoming' | 'Live' | 'Completed';
|
|
15
|
+
ORGM_Gender: 'Boys' | 'Girls' | 'Mixed' | 'Co-ed';
|
|
16
|
+
ORG_RemovePortal: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface M_PortalNews {
|
|
19
|
+
PN_Id: string;
|
|
20
|
+
PN_Title: string;
|
|
21
|
+
PN_Content: string;
|
|
22
|
+
PN_Image?: M_MediaFile;
|
|
23
|
+
PN_Likes: string[];
|
|
24
|
+
createdAt: Date | Timestamp;
|
|
25
|
+
deleted: boolean;
|
|
26
|
+
lastUpdate: Date | Timestamp;
|
|
27
|
+
}
|
|
28
|
+
export interface M_MediaFile {
|
|
29
|
+
MF_StorageURL: string;
|
|
30
|
+
MF_StoragePath: string;
|
|
31
|
+
MF_Type: 'image' | 'video';
|
|
32
|
+
}
|
|
33
|
+
export interface M_SPonsor {
|
|
34
|
+
PURSP_CustomerGivenName: string | null;
|
|
35
|
+
PURSP_CustomerFamilyName: string | null;
|
|
36
|
+
SP_SponsorshipStartDate: Date | Timestamp;
|
|
37
|
+
SP_SponsorshipEndDate: Date | Timestamp;
|
|
38
|
+
PURSP_MonthsPurchased: number;
|
|
39
|
+
PR_Name: string;
|
|
40
|
+
PURSP_Id: string;
|
|
41
|
+
}
|
|
42
|
+
export interface DTOTeamMin {
|
|
43
|
+
TId: string;
|
|
44
|
+
TName: string;
|
|
45
|
+
TLogoURL: string;
|
|
46
|
+
TDivisionName: string;
|
|
47
|
+
TDivision: string;
|
|
48
|
+
TSportName: string;
|
|
49
|
+
}
|
|
50
|
+
export interface DTOSchoolFolders {
|
|
51
|
+
SFId: string;
|
|
52
|
+
SFName: string;
|
|
53
|
+
SFDescription: string;
|
|
54
|
+
SFParentFolderId: string | null;
|
|
55
|
+
SFChildFolderIds: string[];
|
|
56
|
+
SFMediaIds: string[];
|
|
57
|
+
SFSchoolProgramId: string;
|
|
58
|
+
SFTeam?: DTOTeamMin | null;
|
|
59
|
+
SFGameId?: string | null;
|
|
60
|
+
SFEventId?: string | null;
|
|
61
|
+
SFDeleted?: boolean;
|
|
62
|
+
SFCreatedBy: string;
|
|
63
|
+
SFCreationDate: {
|
|
64
|
+
seconds: number;
|
|
65
|
+
nanoseconds: number;
|
|
66
|
+
};
|
|
67
|
+
SFLastUpdatedDate: {
|
|
68
|
+
seconds: number;
|
|
69
|
+
nanoseconds: number;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
export interface M_ORG_PremiumPortal {
|
|
73
|
+
ORGPP_ExpirationDate?: Date | Timestamp;
|
|
74
|
+
ORGPP_Active?: boolean;
|
|
75
|
+
ORGPP_HeaderText?: string;
|
|
76
|
+
ORGPP_BackgroundImage?: string;
|
|
77
|
+
ORGPP_IsDarkMode?: boolean;
|
|
78
|
+
ORGPP_News?: M_PortalNews[];
|
|
79
|
+
}
|
|
80
|
+
export interface M_ManagerStaffV1 {
|
|
81
|
+
uid: string;
|
|
82
|
+
email?: string;
|
|
83
|
+
role: 'Social Media' | 'Administrator' | 'General Administrator' | 'Tournament Manager';
|
|
84
|
+
}
|
|
85
|
+
export interface M_Organization extends M_ORG_PremiumPortal {
|
|
86
|
+
ORG_Id?: string;
|
|
87
|
+
ORG_PortalExpirationDate?: Date | any;
|
|
88
|
+
ORG_PortalType?: string;
|
|
89
|
+
ORG_PortalSponsors?: M_SPonsor[];
|
|
90
|
+
ORG_SponsorIdsAccepted?: string[];
|
|
91
|
+
ORG_MasterAdminUid?: string;
|
|
92
|
+
ORG_LogoURL?: M_MediaFileV1[];
|
|
93
|
+
ORG_CoverURL?: M_MediaFileV1;
|
|
94
|
+
ORG_Name: string;
|
|
95
|
+
ORG_Description?: string;
|
|
96
|
+
ORG_Route: string;
|
|
97
|
+
ORG_State: string;
|
|
98
|
+
ORG_City: string;
|
|
99
|
+
ORG_Address?: string;
|
|
100
|
+
ORG_ZipCode?: string;
|
|
101
|
+
ORG_Website?: string;
|
|
102
|
+
ORG_StartDate?: Date | string | any;
|
|
103
|
+
ORG_EndDate?: Date | string | any;
|
|
104
|
+
ORG_Established?: number;
|
|
105
|
+
ORG_ColorPrimary?: string;
|
|
106
|
+
ORG_ColorSecondary?: string;
|
|
107
|
+
ORG_Staff?: M_ManagerStaffV1[];
|
|
108
|
+
ORG_Password?: string;
|
|
109
|
+
ORG_RemovePortal: boolean;
|
|
110
|
+
ORG_RemoveSponsors: boolean;
|
|
111
|
+
ORG_RemoveSchedule: boolean;
|
|
112
|
+
ORG_RemoveMedia: boolean;
|
|
113
|
+
ORG_FolderConfig?: DTOSchoolFolders[];
|
|
114
|
+
deleted: boolean;
|
|
115
|
+
lastUpdate: Date | any;
|
|
116
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { Timestamp } from
|
|
2
|
-
import { M_MediaFileV1 } from
|
|
1
|
+
import { Timestamp } from 'firebase/firestore';
|
|
2
|
+
import { M_MediaFileV1 } from './M_MediaFile';
|
|
3
|
+
export interface M_ProductOptionalInput_V1 {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
3
7
|
export interface M_Product_V1 {
|
|
4
8
|
PR_Id: string;
|
|
5
9
|
PR_Name: string;
|
|
@@ -10,10 +14,9 @@ export interface M_Product_V1 {
|
|
|
10
14
|
PR_SubCategory?: string;
|
|
11
15
|
PR_Type: 'portal' | 'booking' | 'event';
|
|
12
16
|
PR_Available: boolean;
|
|
13
|
-
PR_OptionalInputs?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}[];
|
|
17
|
+
PR_OptionalInputs?: M_ProductOptionalInput_V1[];
|
|
18
|
+
IsUsedTicket?: boolean;
|
|
19
|
+
isUsedTicketAt?: Date | Timestamp;
|
|
17
20
|
createdAt: Date | Timestamp;
|
|
18
21
|
updatedAt: Date | Timestamp;
|
|
19
22
|
deleted: boolean;
|
|
@@ -1,32 +1,54 @@
|
|
|
1
1
|
import { M_MediaFileV1 } from './M_MediaFile';
|
|
2
|
+
import { DTOSchoolFolders, M_ManagerStaffV1, M_PortalNews, M_SPonsor } from './M_Organization.models';
|
|
2
3
|
import { M_SPOnsorsV1 } from './M_Sponsors.model';
|
|
3
|
-
import { M_DocumentLog
|
|
4
|
+
import { M_DocumentLog } from './M_Universal';
|
|
4
5
|
export interface M_SportAssociationV1 {
|
|
5
6
|
SA_Id?: string;
|
|
6
7
|
SA_Tier: 'T0' | 'T1';
|
|
7
8
|
SA_Name: string;
|
|
8
9
|
SA_MasterAdminUid: string;
|
|
9
|
-
|
|
10
|
+
SA_Staff?: M_ManagerStaffV1[];
|
|
10
11
|
SA_State: string;
|
|
11
12
|
SA_City: string;
|
|
13
|
+
SA_Route: string;
|
|
14
|
+
SA_RemovePortal: boolean;
|
|
15
|
+
SA_RemoveSponsors: boolean;
|
|
16
|
+
SA_RemoveSchedule: boolean;
|
|
17
|
+
SA_RemoveMedia: boolean;
|
|
12
18
|
SA_SponsorIdsAccepted?: string[];
|
|
13
19
|
SA_OfficialSponsors?: M_SPOnsorsV1[];
|
|
20
|
+
SA_PortalExpirationDate?: Date | any;
|
|
21
|
+
SA_PortalType?: string;
|
|
22
|
+
SA_PortalSponsors?: M_SPonsor[];
|
|
23
|
+
SA_PortalActive?: boolean;
|
|
24
|
+
SA_PortalHeaderText?: string;
|
|
25
|
+
SA_PortalBackgroundImage?: string;
|
|
26
|
+
SA_PortalIsDarkMode?: boolean;
|
|
27
|
+
SA_PortalNews?: M_PortalNews[];
|
|
14
28
|
SA_Description?: string;
|
|
15
29
|
SA_Address?: string;
|
|
16
30
|
SA_ZipCode?: string;
|
|
31
|
+
SA_Website?: string;
|
|
32
|
+
SA_StartDate?: Date | string | any;
|
|
33
|
+
SA_EndDate?: Date | string | any;
|
|
34
|
+
SA_Established?: number;
|
|
35
|
+
SA_ColorPrimary?: string;
|
|
36
|
+
SA_ColorSecondary?: string;
|
|
37
|
+
SA_FolderConfig?: DTOSchoolFolders[];
|
|
17
38
|
SA_TeamIds?: string[];
|
|
39
|
+
SA_CoverURL?: M_MediaFileV1;
|
|
18
40
|
SA_LogoBlackBackground?: M_MediaFileV1;
|
|
19
41
|
SA_LogoWhiteBackground?: M_MediaFileV1;
|
|
20
42
|
SA_MediaGallery?: M_MediaFileV1[];
|
|
21
43
|
SA_MediaStorage?: number;
|
|
22
|
-
|
|
44
|
+
SA_Password?: string;
|
|
45
|
+
version: 'V2';
|
|
23
46
|
log: M_DocumentLog[];
|
|
24
47
|
deleted: boolean;
|
|
25
48
|
createdAt: Date | any;
|
|
26
49
|
lastUpdate: Date | any;
|
|
27
50
|
}
|
|
28
51
|
export interface M_SportAssociationV1Min {
|
|
29
|
-
ORG_Id?: string;
|
|
30
52
|
SA_Id?: string;
|
|
31
53
|
SA_Tier: 'T0' | 'T1';
|
|
32
54
|
SA_SponsorIdsAccepted?: string[];
|
|
@@ -37,5 +59,5 @@ export interface M_SportAssociationV1Min {
|
|
|
37
59
|
SA_LogoBlackBackground?: M_MediaFileV1;
|
|
38
60
|
SA_LogoWhiteBackground?: M_MediaFileV1;
|
|
39
61
|
SA_MediaStorage?: number;
|
|
40
|
-
version: '
|
|
62
|
+
version: 'V2';
|
|
41
63
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED