@glissandoo/lib 1.123.0-dev.210.1 → 1.123.0-dev.214.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/calendarFeed.d.ts +29 -0
- package/functions/calendarFeed.js +2 -0
- package/functions/index.d.ts +6 -0
- package/functions/index.js +6 -0
- package/functions/regions.js +6 -0
- package/lang/ca.json +3 -0
- package/lang/de.json +3 -0
- package/lang/en.json +3 -0
- package/lang/es.json +3 -0
- package/lang/eu.json +3 -0
- package/lang/fr.json +3 -0
- package/lang/gl.json +3 -0
- package/lang/it.json +3 -0
- package/lang/nl.json +3 -0
- package/lang/pt.json +3 -0
- package/package.json +1 -1
- package/types/supabase/generated.d.ts +168 -0
- package/types/supabase/generated.ts +163 -0
- package/types/supabase/index.d.ts +4 -0
- package/types/supabase/index.ts +4 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare namespace CalendarFeedFbFunctionsTypes {
|
|
2
|
+
interface Preferences {
|
|
3
|
+
includeTentative: boolean;
|
|
4
|
+
includePending: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface Status extends Preferences {
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
createdAt: string | null;
|
|
9
|
+
updatedAt: string | null;
|
|
10
|
+
revokedAt: string | null;
|
|
11
|
+
}
|
|
12
|
+
type EnableParams = void;
|
|
13
|
+
interface EnableResult extends Status {
|
|
14
|
+
token: string;
|
|
15
|
+
httpsUrl: string;
|
|
16
|
+
webcalUrl: string;
|
|
17
|
+
}
|
|
18
|
+
type GetStatusParams = void;
|
|
19
|
+
type GetStatusResult = Status;
|
|
20
|
+
interface UpdatePreferencesParams {
|
|
21
|
+
includeTentative?: boolean;
|
|
22
|
+
includePending?: boolean;
|
|
23
|
+
}
|
|
24
|
+
type UpdatePreferencesResult = Status;
|
|
25
|
+
type RegenerateParams = void;
|
|
26
|
+
type RegenerateResult = EnableResult;
|
|
27
|
+
type DisableParams = void;
|
|
28
|
+
type DisableResult = Status;
|
|
29
|
+
}
|
package/functions/index.d.ts
CHANGED
|
@@ -3,6 +3,12 @@ export declare enum FbFunctionName {
|
|
|
3
3
|
AuthLogin = "authLogin",
|
|
4
4
|
AuthLogout = "authLogout",
|
|
5
5
|
AuthStatus = "authStatuss",
|
|
6
|
+
Calendar = "calendar",
|
|
7
|
+
CalendarFeedDisable = "calendarFeed-disable",
|
|
8
|
+
CalendarFeedEnable = "calendarFeed-enable",
|
|
9
|
+
CalendarFeedGetStatus = "calendarFeed-getStatus",
|
|
10
|
+
CalendarFeedRegenerate = "calendarFeed-regenerate",
|
|
11
|
+
CalendarFeedUpdatePreferences = "calendarFeed-updatePreferences",
|
|
6
12
|
CommunicationCommentPublish = "communicationComment-publish",
|
|
7
13
|
CommunicationEdit = "communication-edit",
|
|
8
14
|
CommunicationPublish = "communication-publish",
|
package/functions/index.js
CHANGED
|
@@ -7,6 +7,12 @@ var FbFunctionName;
|
|
|
7
7
|
FbFunctionName["AuthLogin"] = "authLogin";
|
|
8
8
|
FbFunctionName["AuthLogout"] = "authLogout";
|
|
9
9
|
FbFunctionName["AuthStatus"] = "authStatuss";
|
|
10
|
+
FbFunctionName["Calendar"] = "calendar";
|
|
11
|
+
FbFunctionName["CalendarFeedDisable"] = "calendarFeed-disable";
|
|
12
|
+
FbFunctionName["CalendarFeedEnable"] = "calendarFeed-enable";
|
|
13
|
+
FbFunctionName["CalendarFeedGetStatus"] = "calendarFeed-getStatus";
|
|
14
|
+
FbFunctionName["CalendarFeedRegenerate"] = "calendarFeed-regenerate";
|
|
15
|
+
FbFunctionName["CalendarFeedUpdatePreferences"] = "calendarFeed-updatePreferences";
|
|
10
16
|
FbFunctionName["CommunicationCommentPublish"] = "communicationComment-publish";
|
|
11
17
|
FbFunctionName["CommunicationEdit"] = "communication-edit";
|
|
12
18
|
FbFunctionName["CommunicationPublish"] = "communication-publish";
|
package/functions/regions.js
CHANGED
|
@@ -14,6 +14,12 @@ const regionByFunctions = {
|
|
|
14
14
|
[index_1.FbFunctionName.AuthLogin]: GCloudRegions.EuropeWest6,
|
|
15
15
|
[index_1.FbFunctionName.AuthLogout]: GCloudRegions.EuropeWest6,
|
|
16
16
|
[index_1.FbFunctionName.AuthStatus]: GCloudRegions.EuropeWest6,
|
|
17
|
+
[index_1.FbFunctionName.Calendar]: GCloudRegions.EuropeWest6,
|
|
18
|
+
[index_1.FbFunctionName.CalendarFeedDisable]: GCloudRegions.EuropeWest6,
|
|
19
|
+
[index_1.FbFunctionName.CalendarFeedEnable]: GCloudRegions.EuropeWest6,
|
|
20
|
+
[index_1.FbFunctionName.CalendarFeedGetStatus]: GCloudRegions.EuropeWest6,
|
|
21
|
+
[index_1.FbFunctionName.CalendarFeedRegenerate]: GCloudRegions.EuropeWest6,
|
|
22
|
+
[index_1.FbFunctionName.CalendarFeedUpdatePreferences]: GCloudRegions.EuropeWest6,
|
|
17
23
|
[index_1.FbFunctionName.CommunicationCommentPublish]: GCloudRegions.EuropeWest6,
|
|
18
24
|
[index_1.FbFunctionName.CommunicationEdit]: GCloudRegions.UsCentral1,
|
|
19
25
|
[index_1.FbFunctionName.CommunicationPublish]: GCloudRegions.UsCentral1,
|
package/lang/ca.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Nova insígnia aconseguida",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Impressionant! Has pujat de nivell per assistir consecutivament a {string:extra.count} assajos.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Nou nivell en 'Ratxa d’assajos'",
|
|
18
|
+
"calendarFeed.description.group": "Grup",
|
|
19
|
+
"calendarFeed.description.open": "Obrir a Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Tipus",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} ha publicat alguna cosa nova. Dona-li una ullada!",
|
|
19
22
|
"communication.create.title": "📝 Nova publicació",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} ha deixat un comentari en una publicació",
|
package/lang/de.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Neues Abzeichen erhalten",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Beeindruckend! Du bist im Level aufgestiegen, da du {string:extra.count} Proben hintereinander hattest.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Neues Level in „Probenserie“",
|
|
18
|
+
"calendarFeed.description.group": "Gruppe",
|
|
19
|
+
"calendarFeed.description.open": "In Glissandoo öffnen",
|
|
20
|
+
"calendarFeed.description.type": "Typ",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} hat etwas Neues veröffentlicht. Schau es dir an!",
|
|
19
22
|
"communication.create.title": "📝 Neuer Beitrag",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} hat einen Kommentar zu einem Beitrag hinterlassen",
|
package/lang/en.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 New badge earned",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Impressive! You've leveled up by attending {string:extra.count} consecutive rehearsals.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 New level in 'Rehearsal Streak'",
|
|
18
|
+
"calendarFeed.description.group": "Group",
|
|
19
|
+
"calendarFeed.description.open": "Open in Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Type",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} has posted something new. Check it out!",
|
|
19
22
|
"communication.create.title": "📝 New post",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} left a comment on a post",
|
package/lang/es.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Nueva insignia conseguida",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "¡Impresionante! Has subido de nivel por asistir seguidamente a {string:extra.count} ensayos.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Nuevo nivel en 'Racha de ensayos'",
|
|
18
|
+
"calendarFeed.description.group": "Grupo",
|
|
19
|
+
"calendarFeed.description.open": "Abrir en Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Tipo",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} ha publicado algo nuevo. ¡Échale un vistazo!",
|
|
19
22
|
"communication.create.title": "📝 Nuevo post",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} ha dejado un comentario en una publicación",
|
package/lang/eu.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Intsignia berria eskuratu duzu",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Txalotzekoa! {string:extra.count} entsegu jarraian parte hartuz mailaz igo zara.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 'Entsegu Segida' maila berria",
|
|
18
|
+
"calendarFeed.description.group": "Taldea",
|
|
19
|
+
"calendarFeed.description.open": "Ireki Glissandoon",
|
|
20
|
+
"calendarFeed.description.type": "Mota",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} taldeak argitalpen berri bat partekatu du. Begiratu!",
|
|
19
22
|
"communication.create.title": "📝 Argitalpen berria",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} erabiltzaileak iruzkin bat utzi du argitalpen batean",
|
package/lang/fr.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Nouveau badge gagné",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Impressionnant ! Vous avez atteint un nouveau niveau en assistant à {string:extra.count} répétitions d'affilée.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Nouveau niveau : 'Série de répétitions'",
|
|
18
|
+
"calendarFeed.description.group": "Groupe",
|
|
19
|
+
"calendarFeed.description.open": "Ouvrir dans Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Type",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} a publié une nouvelle annonce. Allez voir !",
|
|
19
22
|
"communication.create.title": "📝 Nouvelle publication",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} a laissé un commentaire sur une publication",
|
package/lang/gl.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Nova insignia conseguida",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "¡Impresionante! Subiches de nivel por asistir consecutivamente a {string:extra.count} ensaios.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Novo nivel en 'Racha de ensaios'",
|
|
18
|
+
"calendarFeed.description.group": "Grupo",
|
|
19
|
+
"calendarFeed.description.open": "Abrir en Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Tipo",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} publicou algo novo. ¡Bótalle un ollo!",
|
|
19
22
|
"communication.create.title": "📝 Nova publicación",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} deixou un comentario nunha publicación",
|
package/lang/it.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Nuovo distintivo guadagnato",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Impressionante! Sei salito di livello partecipando a {string:extra.count} prove consecutive.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Nuovo livello in 'Serie di prove'",
|
|
18
|
+
"calendarFeed.description.group": "Gruppo",
|
|
19
|
+
"calendarFeed.description.open": "Apri in Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Tipo",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} ha pubblicato qualcosa di nuovo. Dai un'occhiata!",
|
|
19
22
|
"communication.create.title": "📝 Nuovo post",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} ha lasciato un commento su un post",
|
package/lang/nl.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Nieuwe badge verdiend",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Indrukwekkend! Je bent een niveau gestegen door {string:extra.count} opeenvolgende repetities bij te wonen.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Nieuw niveau in 'Repetitiereeks'",
|
|
18
|
+
"calendarFeed.description.group": "Groep",
|
|
19
|
+
"calendarFeed.description.open": "Openen in Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Type",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} heeft iets nieuws geplaatst. Bekijk het!",
|
|
19
22
|
"communication.create.title": "📝 Nieuwe post",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} heeft een reactie achtergelaten op een bericht",
|
package/lang/pt.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"badgeStrikePractices.firstLevel.title": "🥇 Novo distintivo conquistado",
|
|
16
16
|
"badgeStrikePractices.upLevel.text": "Impressionante! Você subiu de nível por participar consecutivamente de {string:extra.count} ensaios.",
|
|
17
17
|
"badgeStrikePractices.upLevel.title": "🥇 Novo nível em 'Sequência de Ensaios'",
|
|
18
|
+
"calendarFeed.description.group": "Grupo",
|
|
19
|
+
"calendarFeed.description.open": "Abrir no Glissandoo",
|
|
20
|
+
"calendarFeed.description.type": "Tipo",
|
|
18
21
|
"communication.create.text": "{string:group.0.displayName} publicou algo novo. Confira!",
|
|
19
22
|
"communication.create.title": "📝 Nova publicação",
|
|
20
23
|
"communication.newComment.text": "{string:user.0.displayName} deixou um comentário em uma publicação",
|
package/package.json
CHANGED
|
@@ -29,6 +29,121 @@ export type Database = {
|
|
|
29
29
|
};
|
|
30
30
|
public: {
|
|
31
31
|
Tables: {
|
|
32
|
+
calendar_event_cancellation: {
|
|
33
|
+
Row: {
|
|
34
|
+
all_day: boolean;
|
|
35
|
+
cancelled_at: string;
|
|
36
|
+
description: string | null;
|
|
37
|
+
display_name: string | null;
|
|
38
|
+
ends_at: string;
|
|
39
|
+
event_id: string;
|
|
40
|
+
event_type: string;
|
|
41
|
+
expires_at: string;
|
|
42
|
+
group_name: string;
|
|
43
|
+
last_modified: string;
|
|
44
|
+
latitude: number | null;
|
|
45
|
+
location: string | null;
|
|
46
|
+
longitude: number | null;
|
|
47
|
+
sequence: number;
|
|
48
|
+
starts_at: string;
|
|
49
|
+
timezone: string;
|
|
50
|
+
url: string | null;
|
|
51
|
+
user_id: string;
|
|
52
|
+
};
|
|
53
|
+
Insert: {
|
|
54
|
+
all_day?: boolean;
|
|
55
|
+
cancelled_at?: string;
|
|
56
|
+
description?: string | null;
|
|
57
|
+
display_name?: string | null;
|
|
58
|
+
ends_at: string;
|
|
59
|
+
event_id: string;
|
|
60
|
+
event_type: string;
|
|
61
|
+
expires_at?: string;
|
|
62
|
+
group_name: string;
|
|
63
|
+
last_modified: string;
|
|
64
|
+
latitude?: number | null;
|
|
65
|
+
location?: string | null;
|
|
66
|
+
longitude?: number | null;
|
|
67
|
+
sequence: number;
|
|
68
|
+
starts_at: string;
|
|
69
|
+
timezone: string;
|
|
70
|
+
url?: string | null;
|
|
71
|
+
user_id: string;
|
|
72
|
+
};
|
|
73
|
+
Update: {
|
|
74
|
+
all_day?: boolean;
|
|
75
|
+
cancelled_at?: string;
|
|
76
|
+
description?: string | null;
|
|
77
|
+
display_name?: string | null;
|
|
78
|
+
ends_at?: string;
|
|
79
|
+
event_id?: string;
|
|
80
|
+
event_type?: string;
|
|
81
|
+
expires_at?: string;
|
|
82
|
+
group_name?: string;
|
|
83
|
+
last_modified?: string;
|
|
84
|
+
latitude?: number | null;
|
|
85
|
+
location?: string | null;
|
|
86
|
+
longitude?: number | null;
|
|
87
|
+
sequence?: number;
|
|
88
|
+
starts_at?: string;
|
|
89
|
+
timezone?: string;
|
|
90
|
+
url?: string | null;
|
|
91
|
+
user_id?: string;
|
|
92
|
+
};
|
|
93
|
+
Relationships: [
|
|
94
|
+
{
|
|
95
|
+
foreignKeyName: 'calendar_event_cancellation_user_id_fkey';
|
|
96
|
+
columns: ['user_id'];
|
|
97
|
+
isOneToOne: false;
|
|
98
|
+
referencedRelation: 'calendar_feed';
|
|
99
|
+
referencedColumns: ['user_id'];
|
|
100
|
+
}
|
|
101
|
+
];
|
|
102
|
+
};
|
|
103
|
+
calendar_feed: {
|
|
104
|
+
Row: {
|
|
105
|
+
content_revision: number;
|
|
106
|
+
created_at: string;
|
|
107
|
+
enabled: boolean;
|
|
108
|
+
include_pending: boolean;
|
|
109
|
+
include_tentative: boolean;
|
|
110
|
+
revoked_at: string | null;
|
|
111
|
+
token_hash: string;
|
|
112
|
+
updated_at: string;
|
|
113
|
+
user_id: string;
|
|
114
|
+
};
|
|
115
|
+
Insert: {
|
|
116
|
+
content_revision?: number;
|
|
117
|
+
created_at?: string;
|
|
118
|
+
enabled?: boolean;
|
|
119
|
+
include_pending?: boolean;
|
|
120
|
+
include_tentative?: boolean;
|
|
121
|
+
revoked_at?: string | null;
|
|
122
|
+
token_hash: string;
|
|
123
|
+
updated_at?: string;
|
|
124
|
+
user_id: string;
|
|
125
|
+
};
|
|
126
|
+
Update: {
|
|
127
|
+
content_revision?: number;
|
|
128
|
+
created_at?: string;
|
|
129
|
+
enabled?: boolean;
|
|
130
|
+
include_pending?: boolean;
|
|
131
|
+
include_tentative?: boolean;
|
|
132
|
+
revoked_at?: string | null;
|
|
133
|
+
token_hash?: string;
|
|
134
|
+
updated_at?: string;
|
|
135
|
+
user_id?: string;
|
|
136
|
+
};
|
|
137
|
+
Relationships: [
|
|
138
|
+
{
|
|
139
|
+
foreignKeyName: 'calendar_feed_user_id_fkey';
|
|
140
|
+
columns: ['user_id'];
|
|
141
|
+
isOneToOne: true;
|
|
142
|
+
referencedRelation: 'user';
|
|
143
|
+
referencedColumns: ['userId'];
|
|
144
|
+
}
|
|
145
|
+
];
|
|
146
|
+
};
|
|
32
147
|
comm: {
|
|
33
148
|
Row: {
|
|
34
149
|
block_answers: boolean;
|
|
@@ -907,6 +1022,7 @@ export type Database = {
|
|
|
907
1022
|
event: {
|
|
908
1023
|
Row: {
|
|
909
1024
|
activeInvitationLink: boolean;
|
|
1025
|
+
calendarSequence: number;
|
|
910
1026
|
coverURL: string | null;
|
|
911
1027
|
createdAt: string;
|
|
912
1028
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -953,6 +1069,7 @@ export type Database = {
|
|
|
953
1069
|
};
|
|
954
1070
|
Insert: {
|
|
955
1071
|
activeInvitationLink: boolean;
|
|
1072
|
+
calendarSequence?: number;
|
|
956
1073
|
coverURL?: string | null;
|
|
957
1074
|
createdAt?: string;
|
|
958
1075
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -999,6 +1116,7 @@ export type Database = {
|
|
|
999
1116
|
};
|
|
1000
1117
|
Update: {
|
|
1001
1118
|
activeInvitationLink?: boolean;
|
|
1119
|
+
calendarSequence?: number;
|
|
1002
1120
|
coverURL?: string | null;
|
|
1003
1121
|
createdAt?: string;
|
|
1004
1122
|
createdOn?: Database['public']['Enums']['created_on'];
|
|
@@ -2953,6 +3071,17 @@ export type Database = {
|
|
|
2953
3071
|
};
|
|
2954
3072
|
};
|
|
2955
3073
|
Functions: {
|
|
3074
|
+
backfillEventDatetimeEnds: {
|
|
3075
|
+
Args: {
|
|
3076
|
+
p_apply?: boolean;
|
|
3077
|
+
p_events: Json;
|
|
3078
|
+
};
|
|
3079
|
+
Returns: {
|
|
3080
|
+
changed: number;
|
|
3081
|
+
matched: number;
|
|
3082
|
+
mismatched: number;
|
|
3083
|
+
}[];
|
|
3084
|
+
};
|
|
2956
3085
|
catalogComposerLocationMatches: {
|
|
2957
3086
|
Args: {
|
|
2958
3087
|
composerId: string;
|
|
@@ -3193,12 +3322,51 @@ export type Database = {
|
|
|
3193
3322
|
repertoire_themes: Json;
|
|
3194
3323
|
}[];
|
|
3195
3324
|
};
|
|
3325
|
+
getCalendarFeedEvents: {
|
|
3326
|
+
Args: {
|
|
3327
|
+
p_include_pending: boolean;
|
|
3328
|
+
p_include_tentative: boolean;
|
|
3329
|
+
p_range_end: string;
|
|
3330
|
+
p_range_start: string;
|
|
3331
|
+
p_user_id: string;
|
|
3332
|
+
};
|
|
3333
|
+
Returns: {
|
|
3334
|
+
allDay: boolean;
|
|
3335
|
+
description: string;
|
|
3336
|
+
endsAt: string;
|
|
3337
|
+
eventId: string;
|
|
3338
|
+
eventType: string;
|
|
3339
|
+
groupName: string;
|
|
3340
|
+
language: string;
|
|
3341
|
+
lastModified: string;
|
|
3342
|
+
latitude: number;
|
|
3343
|
+
location: string;
|
|
3344
|
+
longitude: number;
|
|
3345
|
+
participationStatus: string;
|
|
3346
|
+
sequence: number;
|
|
3347
|
+
startsAt: string;
|
|
3348
|
+
status: string;
|
|
3349
|
+
summary: string;
|
|
3350
|
+
timezone: string;
|
|
3351
|
+
url: string;
|
|
3352
|
+
}[];
|
|
3353
|
+
};
|
|
3196
3354
|
immutable_unaccent: {
|
|
3197
3355
|
Args: {
|
|
3198
3356
|
'': string;
|
|
3199
3357
|
};
|
|
3200
3358
|
Returns: string;
|
|
3201
3359
|
};
|
|
3360
|
+
resolveCalendarFeed: {
|
|
3361
|
+
Args: {
|
|
3362
|
+
p_token_hash: string;
|
|
3363
|
+
};
|
|
3364
|
+
Returns: {
|
|
3365
|
+
includePending: boolean;
|
|
3366
|
+
includeTentative: boolean;
|
|
3367
|
+
userId: string;
|
|
3368
|
+
}[];
|
|
3369
|
+
};
|
|
3202
3370
|
set_composer_performance_attendance: {
|
|
3203
3371
|
Args: {
|
|
3204
3372
|
p_companions: number;
|
|
@@ -28,6 +28,121 @@ export type Database = {
|
|
|
28
28
|
};
|
|
29
29
|
public: {
|
|
30
30
|
Tables: {
|
|
31
|
+
calendar_event_cancellation: {
|
|
32
|
+
Row: {
|
|
33
|
+
all_day: boolean;
|
|
34
|
+
cancelled_at: string;
|
|
35
|
+
description: string | null;
|
|
36
|
+
display_name: string | null;
|
|
37
|
+
ends_at: string;
|
|
38
|
+
event_id: string;
|
|
39
|
+
event_type: string;
|
|
40
|
+
expires_at: string;
|
|
41
|
+
group_name: string;
|
|
42
|
+
last_modified: string;
|
|
43
|
+
latitude: number | null;
|
|
44
|
+
location: string | null;
|
|
45
|
+
longitude: number | null;
|
|
46
|
+
sequence: number;
|
|
47
|
+
starts_at: string;
|
|
48
|
+
timezone: string;
|
|
49
|
+
url: string | null;
|
|
50
|
+
user_id: string;
|
|
51
|
+
};
|
|
52
|
+
Insert: {
|
|
53
|
+
all_day?: boolean;
|
|
54
|
+
cancelled_at?: string;
|
|
55
|
+
description?: string | null;
|
|
56
|
+
display_name?: string | null;
|
|
57
|
+
ends_at: string;
|
|
58
|
+
event_id: string;
|
|
59
|
+
event_type: string;
|
|
60
|
+
expires_at?: string;
|
|
61
|
+
group_name: string;
|
|
62
|
+
last_modified: string;
|
|
63
|
+
latitude?: number | null;
|
|
64
|
+
location?: string | null;
|
|
65
|
+
longitude?: number | null;
|
|
66
|
+
sequence: number;
|
|
67
|
+
starts_at: string;
|
|
68
|
+
timezone: string;
|
|
69
|
+
url?: string | null;
|
|
70
|
+
user_id: string;
|
|
71
|
+
};
|
|
72
|
+
Update: {
|
|
73
|
+
all_day?: boolean;
|
|
74
|
+
cancelled_at?: string;
|
|
75
|
+
description?: string | null;
|
|
76
|
+
display_name?: string | null;
|
|
77
|
+
ends_at?: string;
|
|
78
|
+
event_id?: string;
|
|
79
|
+
event_type?: string;
|
|
80
|
+
expires_at?: string;
|
|
81
|
+
group_name?: string;
|
|
82
|
+
last_modified?: string;
|
|
83
|
+
latitude?: number | null;
|
|
84
|
+
location?: string | null;
|
|
85
|
+
longitude?: number | null;
|
|
86
|
+
sequence?: number;
|
|
87
|
+
starts_at?: string;
|
|
88
|
+
timezone?: string;
|
|
89
|
+
url?: string | null;
|
|
90
|
+
user_id?: string;
|
|
91
|
+
};
|
|
92
|
+
Relationships: [
|
|
93
|
+
{
|
|
94
|
+
foreignKeyName: 'calendar_event_cancellation_user_id_fkey';
|
|
95
|
+
columns: ['user_id'];
|
|
96
|
+
isOneToOne: false;
|
|
97
|
+
referencedRelation: 'calendar_feed';
|
|
98
|
+
referencedColumns: ['user_id'];
|
|
99
|
+
},
|
|
100
|
+
];
|
|
101
|
+
};
|
|
102
|
+
calendar_feed: {
|
|
103
|
+
Row: {
|
|
104
|
+
content_revision: number;
|
|
105
|
+
created_at: string;
|
|
106
|
+
enabled: boolean;
|
|
107
|
+
include_pending: boolean;
|
|
108
|
+
include_tentative: boolean;
|
|
109
|
+
revoked_at: string | null;
|
|
110
|
+
token_hash: string;
|
|
111
|
+
updated_at: string;
|
|
112
|
+
user_id: string;
|
|
113
|
+
};
|
|
114
|
+
Insert: {
|
|
115
|
+
content_revision?: number;
|
|
116
|
+
created_at?: string;
|
|
117
|
+
enabled?: boolean;
|
|
118
|
+
include_pending?: boolean;
|
|
119
|
+
include_tentative?: boolean;
|
|
120
|
+
revoked_at?: string | null;
|
|
121
|
+
token_hash: string;
|
|
122
|
+
updated_at?: string;
|
|
123
|
+
user_id: string;
|
|
124
|
+
};
|
|
125
|
+
Update: {
|
|
126
|
+
content_revision?: number;
|
|
127
|
+
created_at?: string;
|
|
128
|
+
enabled?: boolean;
|
|
129
|
+
include_pending?: boolean;
|
|
130
|
+
include_tentative?: boolean;
|
|
131
|
+
revoked_at?: string | null;
|
|
132
|
+
token_hash?: string;
|
|
133
|
+
updated_at?: string;
|
|
134
|
+
user_id?: string;
|
|
135
|
+
};
|
|
136
|
+
Relationships: [
|
|
137
|
+
{
|
|
138
|
+
foreignKeyName: 'calendar_feed_user_id_fkey';
|
|
139
|
+
columns: ['user_id'];
|
|
140
|
+
isOneToOne: true;
|
|
141
|
+
referencedRelation: 'user';
|
|
142
|
+
referencedColumns: ['userId'];
|
|
143
|
+
},
|
|
144
|
+
];
|
|
145
|
+
};
|
|
31
146
|
comm: {
|
|
32
147
|
Row: {
|
|
33
148
|
block_answers: boolean;
|
|
@@ -906,6 +1021,7 @@ export type Database = {
|
|
|
906
1021
|
event: {
|
|
907
1022
|
Row: {
|
|
908
1023
|
activeInvitationLink: boolean;
|
|
1024
|
+
calendarSequence: number;
|
|
909
1025
|
coverURL: string | null;
|
|
910
1026
|
createdAt: string;
|
|
911
1027
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -952,6 +1068,7 @@ export type Database = {
|
|
|
952
1068
|
};
|
|
953
1069
|
Insert: {
|
|
954
1070
|
activeInvitationLink: boolean;
|
|
1071
|
+
calendarSequence?: number;
|
|
955
1072
|
coverURL?: string | null;
|
|
956
1073
|
createdAt?: string;
|
|
957
1074
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -998,6 +1115,7 @@ export type Database = {
|
|
|
998
1115
|
};
|
|
999
1116
|
Update: {
|
|
1000
1117
|
activeInvitationLink?: boolean;
|
|
1118
|
+
calendarSequence?: number;
|
|
1001
1119
|
coverURL?: string | null;
|
|
1002
1120
|
createdAt?: string;
|
|
1003
1121
|
createdOn?: Database['public']['Enums']['created_on'];
|
|
@@ -2964,6 +3082,14 @@ export type Database = {
|
|
|
2964
3082
|
};
|
|
2965
3083
|
};
|
|
2966
3084
|
Functions: {
|
|
3085
|
+
backfillEventDatetimeEnds: {
|
|
3086
|
+
Args: { p_apply?: boolean; p_events: Json };
|
|
3087
|
+
Returns: {
|
|
3088
|
+
changed: number;
|
|
3089
|
+
matched: number;
|
|
3090
|
+
mismatched: number;
|
|
3091
|
+
}[];
|
|
3092
|
+
};
|
|
2967
3093
|
catalogComposerLocationMatches: {
|
|
2968
3094
|
Args: {
|
|
2969
3095
|
composerId: string;
|
|
@@ -3166,7 +3292,44 @@ export type Database = {
|
|
|
3166
3292
|
repertoire_themes: Json;
|
|
3167
3293
|
}[];
|
|
3168
3294
|
};
|
|
3295
|
+
getCalendarFeedEvents: {
|
|
3296
|
+
Args: {
|
|
3297
|
+
p_include_pending: boolean;
|
|
3298
|
+
p_include_tentative: boolean;
|
|
3299
|
+
p_range_end: string;
|
|
3300
|
+
p_range_start: string;
|
|
3301
|
+
p_user_id: string;
|
|
3302
|
+
};
|
|
3303
|
+
Returns: {
|
|
3304
|
+
allDay: boolean;
|
|
3305
|
+
description: string;
|
|
3306
|
+
endsAt: string;
|
|
3307
|
+
eventId: string;
|
|
3308
|
+
eventType: string;
|
|
3309
|
+
groupName: string;
|
|
3310
|
+
language: string;
|
|
3311
|
+
lastModified: string;
|
|
3312
|
+
latitude: number;
|
|
3313
|
+
location: string;
|
|
3314
|
+
longitude: number;
|
|
3315
|
+
participationStatus: string;
|
|
3316
|
+
sequence: number;
|
|
3317
|
+
startsAt: string;
|
|
3318
|
+
status: string;
|
|
3319
|
+
summary: string;
|
|
3320
|
+
timezone: string;
|
|
3321
|
+
url: string;
|
|
3322
|
+
}[];
|
|
3323
|
+
};
|
|
3169
3324
|
immutable_unaccent: { Args: { '': string }; Returns: string };
|
|
3325
|
+
resolveCalendarFeed: {
|
|
3326
|
+
Args: { p_token_hash: string };
|
|
3327
|
+
Returns: {
|
|
3328
|
+
includePending: boolean;
|
|
3329
|
+
includeTentative: boolean;
|
|
3330
|
+
userId: string;
|
|
3331
|
+
}[];
|
|
3332
|
+
};
|
|
3170
3333
|
set_composer_performance_attendance: {
|
|
3171
3334
|
Args: {
|
|
3172
3335
|
p_companions: number;
|
|
@@ -61,6 +61,8 @@ type SimplifyTableRecord<T extends Record<string, {
|
|
|
61
61
|
type DatabaseMerged = MergeDeep<DatabaseGenerated, {
|
|
62
62
|
public: {
|
|
63
63
|
Tables: {
|
|
64
|
+
calendar_event_cancellation: DatabaseGenerated['public']['Tables']['calendar_event_cancellation'];
|
|
65
|
+
calendar_feed: DatabaseGenerated['public']['Tables']['calendar_feed'];
|
|
64
66
|
group: Overwrite<GroupOverwrite, 'configSites' | 'socialNetworks'>;
|
|
65
67
|
event: Overwrite<EventOverwrite, 'repeat' | 'stage'>;
|
|
66
68
|
offer: Overwrite<OfferOverwrite, 'groupInfo'>;
|
|
@@ -100,8 +102,10 @@ type DatabaseMerged = MergeDeep<DatabaseGenerated, {
|
|
|
100
102
|
Functions: {
|
|
101
103
|
catalogCompositionBrowse: CatalogCompositionBrowseFunction;
|
|
102
104
|
catalogCompositionFacets: CatalogCompositionFacetsFunction;
|
|
105
|
+
getCalendarFeedEvents: DatabaseGenerated['public']['Functions']['getCalendarFeedEvents'];
|
|
103
106
|
get_composer_balance: ComposerBalanceFunction;
|
|
104
107
|
get_composer_explore_metrics: ComposerExploreMetricsFunction;
|
|
108
|
+
resolveCalendarFeed: DatabaseGenerated['public']['Functions']['resolveCalendarFeed'];
|
|
105
109
|
};
|
|
106
110
|
};
|
|
107
111
|
}>;
|
package/types/supabase/index.ts
CHANGED
|
@@ -63,6 +63,8 @@ type DatabaseMerged = MergeDeep<
|
|
|
63
63
|
{
|
|
64
64
|
public: {
|
|
65
65
|
Tables: {
|
|
66
|
+
calendar_event_cancellation: DatabaseGenerated['public']['Tables']['calendar_event_cancellation'];
|
|
67
|
+
calendar_feed: DatabaseGenerated['public']['Tables']['calendar_feed'];
|
|
66
68
|
group: Overwrite<GroupOverwrite, 'configSites' | 'socialNetworks'>;
|
|
67
69
|
event: Overwrite<EventOverwrite, 'repeat' | 'stage'>;
|
|
68
70
|
offer: Overwrite<OfferOverwrite, 'groupInfo'>;
|
|
@@ -164,8 +166,10 @@ type DatabaseMerged = MergeDeep<
|
|
|
164
166
|
Functions: {
|
|
165
167
|
catalogCompositionBrowse: CatalogCompositionBrowseFunction;
|
|
166
168
|
catalogCompositionFacets: CatalogCompositionFacetsFunction;
|
|
169
|
+
getCalendarFeedEvents: DatabaseGenerated['public']['Functions']['getCalendarFeedEvents'];
|
|
167
170
|
get_composer_balance: ComposerBalanceFunction;
|
|
168
171
|
get_composer_explore_metrics: ComposerExploreMetricsFunction;
|
|
172
|
+
resolveCalendarFeed: DatabaseGenerated['public']['Functions']['resolveCalendarFeed'];
|
|
169
173
|
};
|
|
170
174
|
};
|
|
171
175
|
}
|