@glissandoo/lib 1.87.1 → 1.88.1
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/functions/event.d.ts +3 -2
- package/functions/group.d.ts +3 -2
- package/functions/index.d.ts +1 -0
- package/functions/index.js +1 -0
- package/functions/offer.d.ts +3 -1
- package/functions/regions.js +1 -0
- package/helpers/types.d.ts +6 -0
- package/helpers/types.js +8 -1
- package/models/Evento/index.d.ts +1 -1
- package/models/Evento/types.d.ts +2 -6
- package/models/Evento/types.js +1 -7
- package/models/Group/index.d.ts +1 -1
- package/models/Group/types.d.ts +3 -7
- package/models/Group/types.js +1 -7
- package/models/Offer/index.d.ts +1 -0
- package/models/Offer/index.js +3 -0
- package/models/Offer/types.d.ts +12 -0
- package/models/User/index.d.ts +1 -1
- package/models/User/index.js +1 -1
- package/package.json +1 -1
- package/types/supabase/generated.d.ts +7 -8
- package/types/supabase/generated.ts +7 -8
package/functions/event.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Descendant } from '../helpers/slate';
|
|
2
|
+
import { CreatedOn } from '../helpers/types';
|
|
2
3
|
import { EventPlayerStatus } from '../models/Evento/Player/types';
|
|
3
|
-
import { EventBasicData,
|
|
4
|
+
import { EventBasicData, EventRepeatPeriod, EventResponseDeadlineOptions, EventSelectionMode, EventStage, EventType } from '../models/Evento/types';
|
|
4
5
|
import { GroupBasicData } from '../models/Group/types';
|
|
5
6
|
export declare namespace EventoFbFunctionsTypes {
|
|
6
7
|
export enum RelationAction {
|
|
@@ -33,7 +34,7 @@ export declare namespace EventoFbFunctionsTypes {
|
|
|
33
34
|
stage: EventStage | null;
|
|
34
35
|
stageTemplateId: string | null;
|
|
35
36
|
images: string[];
|
|
36
|
-
createdOn:
|
|
37
|
+
createdOn: CreatedOn;
|
|
37
38
|
responseDeadline: {
|
|
38
39
|
option: EventResponseDeadlineOptions;
|
|
39
40
|
customAt: number | null;
|
package/functions/group.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreatedOn } from '../helpers/types';
|
|
2
|
+
import { GroupBasicData, GroupData, GroupStatus, GroupTemplateData } from '../models/Group/types';
|
|
2
3
|
export declare namespace GroupFbFunctionsTypes {
|
|
3
4
|
interface PublishParams {
|
|
4
5
|
displayName: string;
|
|
@@ -9,7 +10,7 @@ export declare namespace GroupFbFunctionsTypes {
|
|
|
9
10
|
musicStyle: string;
|
|
10
11
|
photoURL: string;
|
|
11
12
|
metadata?: Record<string, string>;
|
|
12
|
-
createdOn:
|
|
13
|
+
createdOn: CreatedOn;
|
|
13
14
|
}
|
|
14
15
|
interface PublishResult {
|
|
15
16
|
id: string;
|
package/functions/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export declare enum FbFunctionName {
|
|
|
106
106
|
OfferCloseSelection = "offer-closeSelection",
|
|
107
107
|
OfferEdit = "offer-edit",
|
|
108
108
|
OfferOnUpdate = "offer-onUpdate",
|
|
109
|
+
OfferOnCreate = "offer-onCreate",
|
|
109
110
|
OfferPublish = "offer-publish",
|
|
110
111
|
OfferRemove = "offer-remove",
|
|
111
112
|
OfferReopenSelection = "offer-reopenSelection",
|
package/functions/index.js
CHANGED
|
@@ -110,6 +110,7 @@ var FbFunctionName;
|
|
|
110
110
|
FbFunctionName["OfferCloseSelection"] = "offer-closeSelection";
|
|
111
111
|
FbFunctionName["OfferEdit"] = "offer-edit";
|
|
112
112
|
FbFunctionName["OfferOnUpdate"] = "offer-onUpdate";
|
|
113
|
+
FbFunctionName["OfferOnCreate"] = "offer-onCreate";
|
|
113
114
|
FbFunctionName["OfferPublish"] = "offer-publish";
|
|
114
115
|
FbFunctionName["OfferRemove"] = "offer-remove";
|
|
115
116
|
FbFunctionName["OfferReopenSelection"] = "offer-reopenSelection";
|
package/functions/offer.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefaultInstrumentId } from '../helpers/instruments';
|
|
2
2
|
import { Descendant } from '../helpers/slate';
|
|
3
|
+
import { CreatedOn } from '../helpers/types';
|
|
3
4
|
import { OfferType } from '../models/Offer/types';
|
|
4
5
|
export declare namespace OfferFbFunctionsTypes {
|
|
5
6
|
interface PublishParams {
|
|
@@ -18,9 +19,10 @@ export declare namespace OfferFbFunctionsTypes {
|
|
|
18
19
|
event: string | null;
|
|
19
20
|
deadlineAt: number | null;
|
|
20
21
|
timezone: string;
|
|
22
|
+
createdOn: CreatedOn;
|
|
21
23
|
}
|
|
22
24
|
type PublishResult = void;
|
|
23
|
-
type EditParams = Omit<PublishParams, 'instrument' | 'type' | 'group' | 'event'>;
|
|
25
|
+
type EditParams = Omit<PublishParams, 'instrument' | 'type' | 'group' | 'event' | 'createdOn'>;
|
|
24
26
|
type EditResult = void;
|
|
25
27
|
interface SelectApplicantParams {
|
|
26
28
|
offerId: string;
|
package/functions/regions.js
CHANGED
|
@@ -116,6 +116,7 @@ const regionByFunctions = {
|
|
|
116
116
|
[index_1.FbFunctionName.OfferApplicantRemove]: GCloudRegions.EuropeWest6,
|
|
117
117
|
[index_1.FbFunctionName.OfferCloseSelection]: GCloudRegions.EuropeWest6,
|
|
118
118
|
[index_1.FbFunctionName.OfferEdit]: GCloudRegions.EuropeWest6,
|
|
119
|
+
[index_1.FbFunctionName.OfferOnCreate]: GCloudRegions.EuropeWest6,
|
|
119
120
|
[index_1.FbFunctionName.OfferOnUpdate]: GCloudRegions.EuropeWest6,
|
|
120
121
|
[index_1.FbFunctionName.OfferPublish]: GCloudRegions.EuropeWest6,
|
|
121
122
|
[index_1.FbFunctionName.OfferRemove]: GCloudRegions.EuropeWest6,
|
package/helpers/types.d.ts
CHANGED
package/helpers/types.js
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AdminItemStatus = void 0;
|
|
3
|
+
exports.CreatedOn = exports.AdminItemStatus = void 0;
|
|
4
4
|
var AdminItemStatus;
|
|
5
5
|
(function (AdminItemStatus) {
|
|
6
6
|
AdminItemStatus["Pending"] = "pending";
|
|
7
7
|
AdminItemStatus["Accepted"] = "accepted";
|
|
8
8
|
})(AdminItemStatus = exports.AdminItemStatus || (exports.AdminItemStatus = {}));
|
|
9
|
+
var CreatedOn;
|
|
10
|
+
(function (CreatedOn) {
|
|
11
|
+
CreatedOn["Auth"] = "auth";
|
|
12
|
+
CreatedOn["Web"] = "web";
|
|
13
|
+
CreatedOn["App"] = "app";
|
|
14
|
+
CreatedOn["Dashboard"] = "dashboard";
|
|
15
|
+
})(CreatedOn = exports.CreatedOn || (exports.CreatedOn = {}));
|
package/models/Evento/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export default class Evento extends EventoPromoter<EventData> {
|
|
|
34
34
|
get deletedAt(): FirebaseFirestore.Timestamp | null;
|
|
35
35
|
get deletedBy(): string | null;
|
|
36
36
|
get createdAt(): FirebaseFirestore.Timestamp;
|
|
37
|
-
get createdOn(): import("
|
|
37
|
+
get createdOn(): import("../../helpers/types").CreatedOn;
|
|
38
38
|
get rollCalledAt(): FirebaseFirestore.Timestamp | null;
|
|
39
39
|
get rollCalledBy(): string | null;
|
|
40
40
|
get rollCallReminderAt(): FirebaseFirestore.Timestamp | null;
|
package/models/Evento/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DocumentReference, GeoPoint, Timestamp } from '@google-cloud/firestore';
|
|
2
2
|
import { Descendant } from '../../helpers/slate';
|
|
3
|
+
import { CreatedOn } from '../../helpers/types';
|
|
3
4
|
import { StageTemplate } from '../Group/StageTemplate/types';
|
|
4
5
|
import { GroupBasicData } from '../Group/types';
|
|
5
6
|
import { PlayerBasicData } from '../Player/types';
|
|
@@ -12,11 +13,6 @@ export declare enum EventResponseDeadlineOptions {
|
|
|
12
13
|
OneWeekBefore = "OneWeekBefore",
|
|
13
14
|
Custom = "Custom"
|
|
14
15
|
}
|
|
15
|
-
export declare enum EventCreatedOn {
|
|
16
|
-
App = "app",
|
|
17
|
-
Dashboard = "dashboard",
|
|
18
|
-
Auth = "auth"
|
|
19
|
-
}
|
|
20
16
|
export declare enum EventFiles {
|
|
21
17
|
StageThumbnail = "stageThumbnail.png",
|
|
22
18
|
StagePDF = "stage.pdf",
|
|
@@ -124,5 +120,5 @@ export interface EventData extends EventPromoterData {
|
|
|
124
120
|
sites: boolean;
|
|
125
121
|
readonly owner: DocumentReference;
|
|
126
122
|
readonly createdAt: Timestamp;
|
|
127
|
-
readonly createdOn:
|
|
123
|
+
readonly createdOn: CreatedOn;
|
|
128
124
|
}
|
package/models/Evento/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventSelectionMode = exports.EventStatusByTime = exports.EventRepeatPeriod = exports.EventType = exports.EventFiles = exports.
|
|
3
|
+
exports.EventSelectionMode = exports.EventStatusByTime = exports.EventRepeatPeriod = exports.EventType = exports.EventFiles = exports.EventResponseDeadlineOptions = void 0;
|
|
4
4
|
var EventResponseDeadlineOptions;
|
|
5
5
|
(function (EventResponseDeadlineOptions) {
|
|
6
6
|
EventResponseDeadlineOptions["BeforeEvent"] = "BeforeEvent";
|
|
@@ -9,12 +9,6 @@ var EventResponseDeadlineOptions;
|
|
|
9
9
|
EventResponseDeadlineOptions["OneWeekBefore"] = "OneWeekBefore";
|
|
10
10
|
EventResponseDeadlineOptions["Custom"] = "Custom";
|
|
11
11
|
})(EventResponseDeadlineOptions = exports.EventResponseDeadlineOptions || (exports.EventResponseDeadlineOptions = {}));
|
|
12
|
-
var EventCreatedOn;
|
|
13
|
-
(function (EventCreatedOn) {
|
|
14
|
-
EventCreatedOn["App"] = "app";
|
|
15
|
-
EventCreatedOn["Dashboard"] = "dashboard";
|
|
16
|
-
EventCreatedOn["Auth"] = "auth";
|
|
17
|
-
})(EventCreatedOn = exports.EventCreatedOn || (exports.EventCreatedOn = {}));
|
|
18
12
|
var EventFiles;
|
|
19
13
|
(function (EventFiles) {
|
|
20
14
|
EventFiles["StageThumbnail"] = "stageThumbnail.png";
|
package/models/Group/index.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export default class Group extends GroupBasic<GroupData> {
|
|
|
79
79
|
getRepertoireTagName(id: string): string | null;
|
|
80
80
|
get trialEndAt(): Date;
|
|
81
81
|
get glissandooAdminUrl(): string;
|
|
82
|
-
get createdOn(): import("
|
|
82
|
+
get createdOn(): import("../../helpers/types").CreatedOn;
|
|
83
83
|
get instruments(): Partial<Record<import("../../helpers/instruments").DefaultInstrumentId, import("./types").DefaultGroupInstrument>> & Record<`customInstrument-${string}`, import("./types").CustomGroupInstrument>;
|
|
84
84
|
get instrumentsList(): Pick<(import("./types").DefaultGroupInstrument & {
|
|
85
85
|
id: import("../../helpers/instruments").DefaultInstrumentId | `customInstrument-${string}`;
|
package/models/Group/types.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { DocumentReference, GeoPoint, Timestamp } from '@google-cloud/firestore'
|
|
|
2
2
|
import { CustomInstrumentId, DefaultInstrumentId } from '../../helpers/instruments';
|
|
3
3
|
import { MusicStyleType } from '../../helpers/musicStyles';
|
|
4
4
|
import { PlansGroup } from '../../helpers/plans';
|
|
5
|
+
import { CreatedOn } from '../../helpers/types';
|
|
5
6
|
import { EventType } from '../Evento/types';
|
|
6
7
|
import { PlayerBasicData } from '../Player/types';
|
|
7
8
|
export interface GroupOnboardingMessage {
|
|
@@ -10,11 +11,6 @@ export interface GroupOnboardingMessage {
|
|
|
10
11
|
via: string;
|
|
11
12
|
to: string[];
|
|
12
13
|
}
|
|
13
|
-
export declare enum GroupCreatedOn {
|
|
14
|
-
Web = "web",
|
|
15
|
-
App = "app",
|
|
16
|
-
Dashboard = "dashboard"
|
|
17
|
-
}
|
|
18
14
|
export declare enum GroupConfigKey {
|
|
19
15
|
IncludesMembersToEventsWhenJoined = "includesMembersToEventsWhenJoined",
|
|
20
16
|
AllowEditInstruments = "allowEditInstruments",
|
|
@@ -74,7 +70,7 @@ export interface GroupAlgoliaData extends Omit<GroupBasicData, 'location'> {
|
|
|
74
70
|
status: GroupStatus;
|
|
75
71
|
si: number;
|
|
76
72
|
siChange: 'up' | 'down' | 'equal';
|
|
77
|
-
createdOn:
|
|
73
|
+
createdOn: CreatedOn;
|
|
78
74
|
createdAt: number;
|
|
79
75
|
memberForecast: string;
|
|
80
76
|
sites: boolean;
|
|
@@ -172,7 +168,7 @@ export interface GroupData extends GroupBasicData {
|
|
|
172
168
|
visitedDashboardAt: Record<string, Timestamp>;
|
|
173
169
|
onboardingMessages: GroupOnboardingMessage[];
|
|
174
170
|
subscriptionId: string | null;
|
|
175
|
-
readonly createdOn:
|
|
171
|
+
readonly createdOn: CreatedOn;
|
|
176
172
|
readonly owner: DocumentReference;
|
|
177
173
|
readonly createdAt: Timestamp;
|
|
178
174
|
}
|
package/models/Group/types.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GroupRepertoireTagDefault = exports.GroupRepertoireTagReserved = exports.SocialNetwork = exports.GroupStatus = exports.GroupConfigShowAttendanceToMembers = exports.GroupConfigSitesKey = exports.GroupConfigKey =
|
|
4
|
-
var GroupCreatedOn;
|
|
5
|
-
(function (GroupCreatedOn) {
|
|
6
|
-
GroupCreatedOn["Web"] = "web";
|
|
7
|
-
GroupCreatedOn["App"] = "app";
|
|
8
|
-
GroupCreatedOn["Dashboard"] = "dashboard";
|
|
9
|
-
})(GroupCreatedOn = exports.GroupCreatedOn || (exports.GroupCreatedOn = {}));
|
|
3
|
+
exports.GroupRepertoireTagDefault = exports.GroupRepertoireTagReserved = exports.SocialNetwork = exports.GroupStatus = exports.GroupConfigShowAttendanceToMembers = exports.GroupConfigSitesKey = exports.GroupConfigKey = void 0;
|
|
10
4
|
var GroupConfigKey;
|
|
11
5
|
(function (GroupConfigKey) {
|
|
12
6
|
GroupConfigKey["IncludesMembersToEventsWhenJoined"] = "includesMembersToEventsWhenJoined";
|
package/models/Offer/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default class Offer extends ModelWithLang<OfferData> {
|
|
|
7
7
|
constructor(doc: DocumentModel, lang?: LanguagesTypes);
|
|
8
8
|
get createdAt(): FirebaseFirestore.Timestamp;
|
|
9
9
|
get createdBy(): string;
|
|
10
|
+
get createdOn(): import("../../helpers/types").CreatedOn;
|
|
10
11
|
get title(): string;
|
|
11
12
|
get instrument(): DefaultInstrumentId;
|
|
12
13
|
get description(): import("../../helpers/slate").Descendant[];
|
package/models/Offer/index.js
CHANGED
package/models/Offer/types.d.ts
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { GeoPoint, Timestamp } from '@google-cloud/firestore';
|
|
2
2
|
import { DefaultInstrumentId } from '../../helpers/instruments';
|
|
3
3
|
import { Descendant } from '../../helpers/slate';
|
|
4
|
+
import { CreatedOn } from '../../helpers/types';
|
|
4
5
|
import { UserBasicData } from '../User/types';
|
|
5
6
|
export declare enum OfferType {
|
|
6
7
|
Group = "group",
|
|
7
8
|
Event = "event"
|
|
8
9
|
}
|
|
10
|
+
export interface OfferAlgoliaData extends Pick<OfferData, 'country' | 'locality' | 'title' | 'timezone' | 'type' | 'group' | 'event' | 'applicantsIds'> {
|
|
11
|
+
objectID: string;
|
|
12
|
+
_geoloc: {
|
|
13
|
+
lat: number;
|
|
14
|
+
lng: number;
|
|
15
|
+
};
|
|
16
|
+
deadlineAt: number | null;
|
|
17
|
+
createdAt: number;
|
|
18
|
+
selectionClosedAt: number | null;
|
|
19
|
+
}
|
|
9
20
|
export interface OfferApplicantBasicData extends UserBasicData {
|
|
10
21
|
appliedAt: Timestamp;
|
|
11
22
|
viewedAt: Timestamp | null;
|
|
@@ -38,4 +49,5 @@ export interface OfferData {
|
|
|
38
49
|
deletedBy: string | null;
|
|
39
50
|
readonly createdAt: Timestamp;
|
|
40
51
|
readonly createdBy: string;
|
|
52
|
+
readonly createdOn: CreatedOn;
|
|
41
53
|
}
|
package/models/User/index.d.ts
CHANGED
package/models/User/index.js
CHANGED
|
@@ -167,7 +167,7 @@ class User extends basic_1.default {
|
|
|
167
167
|
return (0, objects_1.mapToArray)(this.devices);
|
|
168
168
|
}
|
|
169
169
|
get analyticsEnabled() {
|
|
170
|
-
return this.data.analyticsEnabled
|
|
170
|
+
return (0, lodash_1.isBoolean)(this.data.analyticsEnabled) ? this.data.analyticsEnabled : true;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
exports.default = User;
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ export interface Database {
|
|
|
34
34
|
activeInvitationLink: boolean;
|
|
35
35
|
coverURL: string | null;
|
|
36
36
|
createdAt: string;
|
|
37
|
-
createdOn: Database['public']['Enums']['
|
|
37
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
38
38
|
datetime: string;
|
|
39
39
|
datetimeEnd: string;
|
|
40
40
|
deletedAt: string | null;
|
|
@@ -80,7 +80,7 @@ export interface Database {
|
|
|
80
80
|
activeInvitationLink: boolean;
|
|
81
81
|
coverURL?: string | null;
|
|
82
82
|
createdAt?: string;
|
|
83
|
-
createdOn: Database['public']['Enums']['
|
|
83
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
84
84
|
datetime: string;
|
|
85
85
|
datetimeEnd: string;
|
|
86
86
|
deletedAt?: string | null;
|
|
@@ -126,7 +126,7 @@ export interface Database {
|
|
|
126
126
|
activeInvitationLink?: boolean;
|
|
127
127
|
coverURL?: string | null;
|
|
128
128
|
createdAt?: string;
|
|
129
|
-
createdOn?: Database['public']['Enums']['
|
|
129
|
+
createdOn?: Database['public']['Enums']['created_on'];
|
|
130
130
|
datetime?: string;
|
|
131
131
|
datetimeEnd?: string;
|
|
132
132
|
deletedAt?: string | null;
|
|
@@ -186,7 +186,7 @@ export interface Database {
|
|
|
186
186
|
configSites: Json;
|
|
187
187
|
country: string;
|
|
188
188
|
createdAt: string;
|
|
189
|
-
createdOn: Database['public']['Enums']['
|
|
189
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
190
190
|
customerId: string | null;
|
|
191
191
|
deletedAt: string | null;
|
|
192
192
|
deletedBy: string | null;
|
|
@@ -230,7 +230,7 @@ export interface Database {
|
|
|
230
230
|
configSites?: Json;
|
|
231
231
|
country: string;
|
|
232
232
|
createdAt?: string;
|
|
233
|
-
createdOn: Database['public']['Enums']['
|
|
233
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
234
234
|
customerId?: string | null;
|
|
235
235
|
deletedAt?: string | null;
|
|
236
236
|
deletedBy?: string | null;
|
|
@@ -274,7 +274,7 @@ export interface Database {
|
|
|
274
274
|
configSites?: Json;
|
|
275
275
|
country?: string;
|
|
276
276
|
createdAt?: string;
|
|
277
|
-
createdOn?: Database['public']['Enums']['
|
|
277
|
+
createdOn?: Database['public']['Enums']['created_on'];
|
|
278
278
|
customerId?: string | null;
|
|
279
279
|
deletedAt?: string | null;
|
|
280
280
|
deletedBy?: string | null;
|
|
@@ -396,10 +396,9 @@ export interface Database {
|
|
|
396
396
|
[_ in never]: never;
|
|
397
397
|
};
|
|
398
398
|
Enums: {
|
|
399
|
-
|
|
399
|
+
created_on: 'app' | 'dashboard' | 'auth' | 'web';
|
|
400
400
|
event_selection_mode: 'open' | 'closed';
|
|
401
401
|
event_type: 'practice' | 'performance';
|
|
402
|
-
group_created_on: 'web' | 'app' | 'dashboard';
|
|
403
402
|
group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
|
|
404
403
|
group_plan_period: 'yearly' | 'monthly';
|
|
405
404
|
group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
|
|
@@ -33,7 +33,7 @@ export interface Database {
|
|
|
33
33
|
activeInvitationLink: boolean;
|
|
34
34
|
coverURL: string | null;
|
|
35
35
|
createdAt: string;
|
|
36
|
-
createdOn: Database['public']['Enums']['
|
|
36
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
37
37
|
datetime: string;
|
|
38
38
|
datetimeEnd: string;
|
|
39
39
|
deletedAt: string | null;
|
|
@@ -79,7 +79,7 @@ export interface Database {
|
|
|
79
79
|
activeInvitationLink: boolean;
|
|
80
80
|
coverURL?: string | null;
|
|
81
81
|
createdAt?: string;
|
|
82
|
-
createdOn: Database['public']['Enums']['
|
|
82
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
83
83
|
datetime: string;
|
|
84
84
|
datetimeEnd: string;
|
|
85
85
|
deletedAt?: string | null;
|
|
@@ -125,7 +125,7 @@ export interface Database {
|
|
|
125
125
|
activeInvitationLink?: boolean;
|
|
126
126
|
coverURL?: string | null;
|
|
127
127
|
createdAt?: string;
|
|
128
|
-
createdOn?: Database['public']['Enums']['
|
|
128
|
+
createdOn?: Database['public']['Enums']['created_on'];
|
|
129
129
|
datetime?: string;
|
|
130
130
|
datetimeEnd?: string;
|
|
131
131
|
deletedAt?: string | null;
|
|
@@ -185,7 +185,7 @@ export interface Database {
|
|
|
185
185
|
configSites: Json;
|
|
186
186
|
country: string;
|
|
187
187
|
createdAt: string;
|
|
188
|
-
createdOn: Database['public']['Enums']['
|
|
188
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
189
189
|
customerId: string | null;
|
|
190
190
|
deletedAt: string | null;
|
|
191
191
|
deletedBy: string | null;
|
|
@@ -229,7 +229,7 @@ export interface Database {
|
|
|
229
229
|
configSites?: Json;
|
|
230
230
|
country: string;
|
|
231
231
|
createdAt?: string;
|
|
232
|
-
createdOn: Database['public']['Enums']['
|
|
232
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
233
233
|
customerId?: string | null;
|
|
234
234
|
deletedAt?: string | null;
|
|
235
235
|
deletedBy?: string | null;
|
|
@@ -273,7 +273,7 @@ export interface Database {
|
|
|
273
273
|
configSites?: Json;
|
|
274
274
|
country?: string;
|
|
275
275
|
createdAt?: string;
|
|
276
|
-
createdOn?: Database['public']['Enums']['
|
|
276
|
+
createdOn?: Database['public']['Enums']['created_on'];
|
|
277
277
|
customerId?: string | null;
|
|
278
278
|
deletedAt?: string | null;
|
|
279
279
|
deletedBy?: string | null;
|
|
@@ -395,10 +395,9 @@ export interface Database {
|
|
|
395
395
|
[_ in never]: never;
|
|
396
396
|
};
|
|
397
397
|
Enums: {
|
|
398
|
-
|
|
398
|
+
created_on: 'app' | 'dashboard' | 'auth' | 'web';
|
|
399
399
|
event_selection_mode: 'open' | 'closed';
|
|
400
400
|
event_type: 'practice' | 'performance';
|
|
401
|
-
group_created_on: 'web' | 'app' | 'dashboard';
|
|
402
401
|
group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
|
|
403
402
|
group_plan_period: 'yearly' | 'monthly';
|
|
404
403
|
group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
|