@glissandoo/lib 1.104.25 → 1.104.27
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/models/Group/Repertory/types.d.ts +3 -1
- package/models/Group/Repertory/types.js +2 -0
- package/models/Group/types.d.ts +16 -0
- package/models/Group/types.js +18 -1
- package/package.json +1 -1
- package/types/supabase/generated.d.ts +63 -0
- package/types/supabase/generated.ts +63 -0
- package/types/supabase/index.d.ts +4 -0
- package/types/supabase/index.ts +7 -0
- package/types/supabase/overwrites/group_history.d.ts +9 -0
- package/types/supabase/overwrites/group_history.js +2 -0
- package/types/supabase/overwrites/group_history.ts +9 -0
- package/types/supabase/overwrites/repertoire_history.d.ts +10 -0
- package/types/supabase/overwrites/repertoire_history.js +2 -0
- package/types/supabase/overwrites/repertoire_history.ts +10 -0
|
@@ -9,12 +9,14 @@ export declare enum RepertoireHistoryAction {
|
|
|
9
9
|
PlayerPlay = "player_play",
|
|
10
10
|
PlayerView = "player_view",
|
|
11
11
|
PlayerDownload = "player_download",
|
|
12
|
+
PlayerDownloadAll = "player_download_all",
|
|
12
13
|
PlayerClaim = "player_claim",
|
|
13
14
|
RemovedClaim = "removed_claim",
|
|
14
15
|
EditTitle = "edit_title",
|
|
15
16
|
EditTags = "edit_tags",
|
|
16
17
|
EditVisibility = "edit_visibility",
|
|
17
|
-
EditCompositor = "edit_compositor"
|
|
18
|
+
EditCompositor = "edit_compositor",
|
|
19
|
+
EditFile = "edit_file"
|
|
18
20
|
}
|
|
19
21
|
export declare enum GroupRepertoireVisibility {
|
|
20
22
|
Always = "always",
|
|
@@ -8,12 +8,14 @@ var RepertoireHistoryAction;
|
|
|
8
8
|
RepertoireHistoryAction["PlayerPlay"] = "player_play";
|
|
9
9
|
RepertoireHistoryAction["PlayerView"] = "player_view";
|
|
10
10
|
RepertoireHistoryAction["PlayerDownload"] = "player_download";
|
|
11
|
+
RepertoireHistoryAction["PlayerDownloadAll"] = "player_download_all";
|
|
11
12
|
RepertoireHistoryAction["PlayerClaim"] = "player_claim";
|
|
12
13
|
RepertoireHistoryAction["RemovedClaim"] = "removed_claim";
|
|
13
14
|
RepertoireHistoryAction["EditTitle"] = "edit_title";
|
|
14
15
|
RepertoireHistoryAction["EditTags"] = "edit_tags";
|
|
15
16
|
RepertoireHistoryAction["EditVisibility"] = "edit_visibility";
|
|
16
17
|
RepertoireHistoryAction["EditCompositor"] = "edit_compositor";
|
|
18
|
+
RepertoireHistoryAction["EditFile"] = "edit_file";
|
|
17
19
|
})(RepertoireHistoryAction = exports.RepertoireHistoryAction || (exports.RepertoireHistoryAction = {}));
|
|
18
20
|
var GroupRepertoireVisibility;
|
|
19
21
|
(function (GroupRepertoireVisibility) {
|
package/models/Group/types.d.ts
CHANGED
|
@@ -6,6 +6,22 @@ import { CreatedOn } from '../../helpers/types';
|
|
|
6
6
|
import { EventPlayerStatus } from '../Evento/Player/types';
|
|
7
7
|
import { EventType } from '../Evento/types';
|
|
8
8
|
import { PlayerBasicData } from '../Player/types';
|
|
9
|
+
export declare enum GroupHistoryAction {
|
|
10
|
+
Created = "created",
|
|
11
|
+
Deleted = "deleted",
|
|
12
|
+
MemberJoin = "member_join",
|
|
13
|
+
MemberLeave = "member_leave",
|
|
14
|
+
MemberRemove = "member_remove",
|
|
15
|
+
MemberInstrumentChange = "member_instrument_change",
|
|
16
|
+
MemberPermissionsChange = "member_permissions_change",
|
|
17
|
+
TemplateCreated = "template_created",
|
|
18
|
+
TemplateDeleted = "template_deleted",
|
|
19
|
+
TemplateEdited = "template_edited",
|
|
20
|
+
EditInstruments = "edit_instruments",
|
|
21
|
+
EditName = "edit_name",
|
|
22
|
+
EditLocation = "edit_location",
|
|
23
|
+
EditMusicStyle = "edit_music_style"
|
|
24
|
+
}
|
|
9
25
|
export declare enum GroupCustomFieldType {
|
|
10
26
|
TEXT = "text",
|
|
11
27
|
NUMBER = "number",
|
package/models/Group/types.js
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
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 = exports.AdminPermissions = exports.GroupCustomFieldType = void 0;
|
|
3
|
+
exports.GroupRepertoireTagDefault = exports.GroupRepertoireTagReserved = exports.SocialNetwork = exports.GroupStatus = exports.GroupConfigShowAttendanceToMembers = exports.GroupConfigSitesKey = exports.GroupConfigKey = exports.AdminPermissions = exports.GroupCustomFieldType = exports.GroupHistoryAction = void 0;
|
|
4
|
+
var GroupHistoryAction;
|
|
5
|
+
(function (GroupHistoryAction) {
|
|
6
|
+
GroupHistoryAction["Created"] = "created";
|
|
7
|
+
GroupHistoryAction["Deleted"] = "deleted";
|
|
8
|
+
GroupHistoryAction["MemberJoin"] = "member_join";
|
|
9
|
+
GroupHistoryAction["MemberLeave"] = "member_leave";
|
|
10
|
+
GroupHistoryAction["MemberRemove"] = "member_remove";
|
|
11
|
+
GroupHistoryAction["MemberInstrumentChange"] = "member_instrument_change";
|
|
12
|
+
GroupHistoryAction["MemberPermissionsChange"] = "member_permissions_change";
|
|
13
|
+
GroupHistoryAction["TemplateCreated"] = "template_created";
|
|
14
|
+
GroupHistoryAction["TemplateDeleted"] = "template_deleted";
|
|
15
|
+
GroupHistoryAction["TemplateEdited"] = "template_edited";
|
|
16
|
+
GroupHistoryAction["EditInstruments"] = "edit_instruments";
|
|
17
|
+
GroupHistoryAction["EditName"] = "edit_name";
|
|
18
|
+
GroupHistoryAction["EditLocation"] = "edit_location";
|
|
19
|
+
GroupHistoryAction["EditMusicStyle"] = "edit_music_style";
|
|
20
|
+
})(GroupHistoryAction = exports.GroupHistoryAction || (exports.GroupHistoryAction = {}));
|
|
4
21
|
// types/CustomFields.ts
|
|
5
22
|
var GroupCustomFieldType;
|
|
6
23
|
(function (GroupCustomFieldType) {
|
package/package.json
CHANGED
|
@@ -189,6 +189,69 @@ export type Database = {
|
|
|
189
189
|
};
|
|
190
190
|
Relationships: [];
|
|
191
191
|
};
|
|
192
|
+
repertoire_history: {
|
|
193
|
+
Row: {
|
|
194
|
+
action: string;
|
|
195
|
+
created_at: string;
|
|
196
|
+
theme_id: string;
|
|
197
|
+
group_id: string;
|
|
198
|
+
id: number;
|
|
199
|
+
prev_value: Json | null;
|
|
200
|
+
user_id: string;
|
|
201
|
+
value: Json | null;
|
|
202
|
+
};
|
|
203
|
+
Insert: {
|
|
204
|
+
action: string;
|
|
205
|
+
created_at: string;
|
|
206
|
+
theme_id: string;
|
|
207
|
+
group_id: string;
|
|
208
|
+
id?: number;
|
|
209
|
+
prev_value?: Json | null;
|
|
210
|
+
user_id: string;
|
|
211
|
+
value?: Json | null;
|
|
212
|
+
};
|
|
213
|
+
Update: {
|
|
214
|
+
action?: string;
|
|
215
|
+
created_at?: string;
|
|
216
|
+
theme_id?: string;
|
|
217
|
+
group_id?: string;
|
|
218
|
+
id?: number;
|
|
219
|
+
prev_value?: Json | null;
|
|
220
|
+
user_id?: string;
|
|
221
|
+
value?: Json | null;
|
|
222
|
+
};
|
|
223
|
+
Relationships: [];
|
|
224
|
+
};
|
|
225
|
+
group_history: {
|
|
226
|
+
Row: {
|
|
227
|
+
action: string;
|
|
228
|
+
created_at: string;
|
|
229
|
+
group_id: string;
|
|
230
|
+
id: number;
|
|
231
|
+
prev_value: Json | null;
|
|
232
|
+
user_id: string;
|
|
233
|
+
value: Json | null;
|
|
234
|
+
};
|
|
235
|
+
Insert: {
|
|
236
|
+
action: string;
|
|
237
|
+
created_at: string;
|
|
238
|
+
group_id: string;
|
|
239
|
+
id?: number;
|
|
240
|
+
prev_value?: Json | null;
|
|
241
|
+
user_id: string;
|
|
242
|
+
value?: Json | null;
|
|
243
|
+
};
|
|
244
|
+
Update: {
|
|
245
|
+
action?: string;
|
|
246
|
+
created_at?: string;
|
|
247
|
+
group_id?: string;
|
|
248
|
+
id?: number;
|
|
249
|
+
prev_value?: Json | null;
|
|
250
|
+
user_id?: string;
|
|
251
|
+
value?: Json | null;
|
|
252
|
+
};
|
|
253
|
+
Relationships: [];
|
|
254
|
+
};
|
|
192
255
|
group: {
|
|
193
256
|
Row: {
|
|
194
257
|
activeInvitationLink: boolean;
|
|
@@ -190,6 +190,69 @@ export type Database = {
|
|
|
190
190
|
};
|
|
191
191
|
Relationships: [];
|
|
192
192
|
};
|
|
193
|
+
repertoire_history: {
|
|
194
|
+
Row: {
|
|
195
|
+
action: string;
|
|
196
|
+
created_at: string;
|
|
197
|
+
theme_id: string;
|
|
198
|
+
group_id: string;
|
|
199
|
+
id: number;
|
|
200
|
+
prev_value: Json | null;
|
|
201
|
+
user_id: string;
|
|
202
|
+
value: Json | null;
|
|
203
|
+
};
|
|
204
|
+
Insert: {
|
|
205
|
+
action: string;
|
|
206
|
+
created_at: string;
|
|
207
|
+
theme_id: string;
|
|
208
|
+
group_id: string;
|
|
209
|
+
id?: number;
|
|
210
|
+
prev_value?: Json | null;
|
|
211
|
+
user_id: string;
|
|
212
|
+
value?: Json | null;
|
|
213
|
+
};
|
|
214
|
+
Update: {
|
|
215
|
+
action?: string;
|
|
216
|
+
created_at?: string;
|
|
217
|
+
theme_id?: string;
|
|
218
|
+
group_id?: string;
|
|
219
|
+
id?: number;
|
|
220
|
+
prev_value?: Json | null;
|
|
221
|
+
user_id?: string;
|
|
222
|
+
value?: Json | null;
|
|
223
|
+
};
|
|
224
|
+
Relationships: [];
|
|
225
|
+
};
|
|
226
|
+
group_history: {
|
|
227
|
+
Row: {
|
|
228
|
+
action: string;
|
|
229
|
+
created_at: string;
|
|
230
|
+
group_id: string;
|
|
231
|
+
id: number;
|
|
232
|
+
prev_value: Json | null;
|
|
233
|
+
user_id: string;
|
|
234
|
+
value: Json | null;
|
|
235
|
+
};
|
|
236
|
+
Insert: {
|
|
237
|
+
action: string;
|
|
238
|
+
created_at: string;
|
|
239
|
+
group_id: string;
|
|
240
|
+
id?: number;
|
|
241
|
+
prev_value?: Json | null;
|
|
242
|
+
user_id: string;
|
|
243
|
+
value?: Json | null;
|
|
244
|
+
};
|
|
245
|
+
Update: {
|
|
246
|
+
action?: string;
|
|
247
|
+
created_at?: string;
|
|
248
|
+
group_id?: string;
|
|
249
|
+
id?: number;
|
|
250
|
+
prev_value?: Json | null;
|
|
251
|
+
user_id?: string;
|
|
252
|
+
value?: Json | null;
|
|
253
|
+
};
|
|
254
|
+
Relationships: [];
|
|
255
|
+
};
|
|
193
256
|
group: {
|
|
194
257
|
Row: {
|
|
195
258
|
activeInvitationLink: boolean;
|
|
@@ -4,7 +4,9 @@ import { Overwrite } from './overwrites';
|
|
|
4
4
|
import { EventOverwrite } from './overwrites/event';
|
|
5
5
|
import { EventHistory } from './overwrites/event_history';
|
|
6
6
|
import { GroupOverwrite } from './overwrites/group';
|
|
7
|
+
import { GroupHistory } from './overwrites/group_history';
|
|
7
8
|
import { OfferOverwrite } from './overwrites/offer';
|
|
9
|
+
import { RepertoireHistory } from './overwrites/repertoire_history';
|
|
8
10
|
export type Database = MergeDeep<DatabaseGenerated, {
|
|
9
11
|
public: {
|
|
10
12
|
Tables: {
|
|
@@ -12,6 +14,8 @@ export type Database = MergeDeep<DatabaseGenerated, {
|
|
|
12
14
|
event: Overwrite<EventOverwrite, 'repeat' | 'stage'>;
|
|
13
15
|
offer: Overwrite<OfferOverwrite>;
|
|
14
16
|
event_history: Overwrite<Omit<EventHistory, 'id'>, 'prev_value' | 'value'>;
|
|
17
|
+
repertoire_history: Overwrite<Omit<RepertoireHistory, 'id'>, 'prev_value' | 'value'>;
|
|
18
|
+
group_history: Overwrite<Omit<GroupHistory, 'id'>, 'prev_value' | 'value'>;
|
|
15
19
|
};
|
|
16
20
|
};
|
|
17
21
|
}>;
|
package/types/supabase/index.ts
CHANGED
|
@@ -4,7 +4,9 @@ import { Overwrite } from './overwrites';
|
|
|
4
4
|
import { EventOverwrite } from './overwrites/event';
|
|
5
5
|
import { EventHistory } from './overwrites/event_history';
|
|
6
6
|
import { GroupOverwrite } from './overwrites/group';
|
|
7
|
+
import { GroupHistory } from './overwrites/group_history';
|
|
7
8
|
import { OfferOverwrite } from './overwrites/offer';
|
|
9
|
+
import { RepertoireHistory } from './overwrites/repertoire_history';
|
|
8
10
|
|
|
9
11
|
export type Database = MergeDeep<
|
|
10
12
|
DatabaseGenerated,
|
|
@@ -15,6 +17,11 @@ export type Database = MergeDeep<
|
|
|
15
17
|
event: Overwrite<EventOverwrite, 'repeat' | 'stage'>;
|
|
16
18
|
offer: Overwrite<OfferOverwrite>;
|
|
17
19
|
event_history: Overwrite<Omit<EventHistory, 'id'>, 'prev_value' | 'value'>;
|
|
20
|
+
repertoire_history: Overwrite<
|
|
21
|
+
Omit<RepertoireHistory, 'id'>,
|
|
22
|
+
'prev_value' | 'value'
|
|
23
|
+
>;
|
|
24
|
+
group_history: Overwrite<Omit<GroupHistory, 'id'>, 'prev_value' | 'value'>;
|
|
18
25
|
};
|
|
19
26
|
};
|
|
20
27
|
}
|