@glissandoo/lib 1.123.0-dev.210.1 → 1.123.0-dev.212.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 +27 -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 +151 -0
- package/types/supabase/generated.ts +149 -0
- package/types/supabase/index.d.ts +4 -0
- package/types/supabase/index.ts +4 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare namespace CalendarFeedFbFunctionsTypes {
|
|
2
|
+
interface Preferences {
|
|
3
|
+
includeTentative: boolean;
|
|
4
|
+
}
|
|
5
|
+
interface Status extends Preferences {
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
createdAt: string | null;
|
|
8
|
+
updatedAt: string | null;
|
|
9
|
+
revokedAt: string | null;
|
|
10
|
+
}
|
|
11
|
+
type EnableParams = void;
|
|
12
|
+
interface EnableResult extends Status {
|
|
13
|
+
token: string;
|
|
14
|
+
httpsUrl: string;
|
|
15
|
+
webcalUrl: string;
|
|
16
|
+
}
|
|
17
|
+
type GetStatusParams = void;
|
|
18
|
+
type GetStatusResult = Status;
|
|
19
|
+
interface UpdatePreferencesParams {
|
|
20
|
+
includeTentative?: boolean;
|
|
21
|
+
}
|
|
22
|
+
type UpdatePreferencesResult = Status;
|
|
23
|
+
type RegenerateParams = void;
|
|
24
|
+
type RegenerateResult = EnableResult;
|
|
25
|
+
type DisableParams = void;
|
|
26
|
+
type DisableResult = Status;
|
|
27
|
+
}
|
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,118 @@ 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_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_tentative?: boolean;
|
|
119
|
+
revoked_at?: string | null;
|
|
120
|
+
token_hash: string;
|
|
121
|
+
updated_at?: string;
|
|
122
|
+
user_id: string;
|
|
123
|
+
};
|
|
124
|
+
Update: {
|
|
125
|
+
content_revision?: number;
|
|
126
|
+
created_at?: string;
|
|
127
|
+
enabled?: boolean;
|
|
128
|
+
include_tentative?: boolean;
|
|
129
|
+
revoked_at?: string | null;
|
|
130
|
+
token_hash?: string;
|
|
131
|
+
updated_at?: string;
|
|
132
|
+
user_id?: string;
|
|
133
|
+
};
|
|
134
|
+
Relationships: [
|
|
135
|
+
{
|
|
136
|
+
foreignKeyName: 'calendar_feed_user_id_fkey';
|
|
137
|
+
columns: ['user_id'];
|
|
138
|
+
isOneToOne: true;
|
|
139
|
+
referencedRelation: 'user';
|
|
140
|
+
referencedColumns: ['userId'];
|
|
141
|
+
}
|
|
142
|
+
];
|
|
143
|
+
};
|
|
32
144
|
comm: {
|
|
33
145
|
Row: {
|
|
34
146
|
block_answers: boolean;
|
|
@@ -907,6 +1019,7 @@ export type Database = {
|
|
|
907
1019
|
event: {
|
|
908
1020
|
Row: {
|
|
909
1021
|
activeInvitationLink: boolean;
|
|
1022
|
+
calendarSequence: number;
|
|
910
1023
|
coverURL: string | null;
|
|
911
1024
|
createdAt: string;
|
|
912
1025
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -953,6 +1066,7 @@ export type Database = {
|
|
|
953
1066
|
};
|
|
954
1067
|
Insert: {
|
|
955
1068
|
activeInvitationLink: boolean;
|
|
1069
|
+
calendarSequence?: number;
|
|
956
1070
|
coverURL?: string | null;
|
|
957
1071
|
createdAt?: string;
|
|
958
1072
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -999,6 +1113,7 @@ export type Database = {
|
|
|
999
1113
|
};
|
|
1000
1114
|
Update: {
|
|
1001
1115
|
activeInvitationLink?: boolean;
|
|
1116
|
+
calendarSequence?: number;
|
|
1002
1117
|
coverURL?: string | null;
|
|
1003
1118
|
createdAt?: string;
|
|
1004
1119
|
createdOn?: Database['public']['Enums']['created_on'];
|
|
@@ -3193,12 +3308,48 @@ export type Database = {
|
|
|
3193
3308
|
repertoire_themes: Json;
|
|
3194
3309
|
}[];
|
|
3195
3310
|
};
|
|
3311
|
+
getCalendarFeedEvents: {
|
|
3312
|
+
Args: {
|
|
3313
|
+
p_include_tentative: boolean;
|
|
3314
|
+
p_range_end: string;
|
|
3315
|
+
p_range_start: string;
|
|
3316
|
+
p_user_id: string;
|
|
3317
|
+
};
|
|
3318
|
+
Returns: {
|
|
3319
|
+
allDay: boolean;
|
|
3320
|
+
description: string;
|
|
3321
|
+
endsAt: string;
|
|
3322
|
+
eventId: string;
|
|
3323
|
+
eventType: string;
|
|
3324
|
+
groupName: string;
|
|
3325
|
+
language: string;
|
|
3326
|
+
lastModified: string;
|
|
3327
|
+
latitude: number;
|
|
3328
|
+
location: string;
|
|
3329
|
+
longitude: number;
|
|
3330
|
+
sequence: number;
|
|
3331
|
+
startsAt: string;
|
|
3332
|
+
status: string;
|
|
3333
|
+
summary: string;
|
|
3334
|
+
timezone: string;
|
|
3335
|
+
url: string;
|
|
3336
|
+
}[];
|
|
3337
|
+
};
|
|
3196
3338
|
immutable_unaccent: {
|
|
3197
3339
|
Args: {
|
|
3198
3340
|
'': string;
|
|
3199
3341
|
};
|
|
3200
3342
|
Returns: string;
|
|
3201
3343
|
};
|
|
3344
|
+
resolveCalendarFeed: {
|
|
3345
|
+
Args: {
|
|
3346
|
+
p_token_hash: string;
|
|
3347
|
+
};
|
|
3348
|
+
Returns: {
|
|
3349
|
+
includeTentative: boolean;
|
|
3350
|
+
userId: string;
|
|
3351
|
+
}[];
|
|
3352
|
+
};
|
|
3202
3353
|
set_composer_performance_attendance: {
|
|
3203
3354
|
Args: {
|
|
3204
3355
|
p_companions: number;
|
|
@@ -28,6 +28,118 @@ 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_tentative: boolean;
|
|
108
|
+
revoked_at: string | null;
|
|
109
|
+
token_hash: string;
|
|
110
|
+
updated_at: string;
|
|
111
|
+
user_id: string;
|
|
112
|
+
};
|
|
113
|
+
Insert: {
|
|
114
|
+
content_revision?: number;
|
|
115
|
+
created_at?: string;
|
|
116
|
+
enabled?: boolean;
|
|
117
|
+
include_tentative?: boolean;
|
|
118
|
+
revoked_at?: string | null;
|
|
119
|
+
token_hash: string;
|
|
120
|
+
updated_at?: string;
|
|
121
|
+
user_id: string;
|
|
122
|
+
};
|
|
123
|
+
Update: {
|
|
124
|
+
content_revision?: number;
|
|
125
|
+
created_at?: string;
|
|
126
|
+
enabled?: boolean;
|
|
127
|
+
include_tentative?: boolean;
|
|
128
|
+
revoked_at?: string | null;
|
|
129
|
+
token_hash?: string;
|
|
130
|
+
updated_at?: string;
|
|
131
|
+
user_id?: string;
|
|
132
|
+
};
|
|
133
|
+
Relationships: [
|
|
134
|
+
{
|
|
135
|
+
foreignKeyName: 'calendar_feed_user_id_fkey';
|
|
136
|
+
columns: ['user_id'];
|
|
137
|
+
isOneToOne: true;
|
|
138
|
+
referencedRelation: 'user';
|
|
139
|
+
referencedColumns: ['userId'];
|
|
140
|
+
},
|
|
141
|
+
];
|
|
142
|
+
};
|
|
31
143
|
comm: {
|
|
32
144
|
Row: {
|
|
33
145
|
block_answers: boolean;
|
|
@@ -906,6 +1018,7 @@ export type Database = {
|
|
|
906
1018
|
event: {
|
|
907
1019
|
Row: {
|
|
908
1020
|
activeInvitationLink: boolean;
|
|
1021
|
+
calendarSequence: number;
|
|
909
1022
|
coverURL: string | null;
|
|
910
1023
|
createdAt: string;
|
|
911
1024
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -952,6 +1065,7 @@ export type Database = {
|
|
|
952
1065
|
};
|
|
953
1066
|
Insert: {
|
|
954
1067
|
activeInvitationLink: boolean;
|
|
1068
|
+
calendarSequence?: number;
|
|
955
1069
|
coverURL?: string | null;
|
|
956
1070
|
createdAt?: string;
|
|
957
1071
|
createdOn: Database['public']['Enums']['created_on'];
|
|
@@ -998,6 +1112,7 @@ export type Database = {
|
|
|
998
1112
|
};
|
|
999
1113
|
Update: {
|
|
1000
1114
|
activeInvitationLink?: boolean;
|
|
1115
|
+
calendarSequence?: number;
|
|
1001
1116
|
coverURL?: string | null;
|
|
1002
1117
|
createdAt?: string;
|
|
1003
1118
|
createdOn?: Database['public']['Enums']['created_on'];
|
|
@@ -3166,7 +3281,41 @@ export type Database = {
|
|
|
3166
3281
|
repertoire_themes: Json;
|
|
3167
3282
|
}[];
|
|
3168
3283
|
};
|
|
3284
|
+
getCalendarFeedEvents: {
|
|
3285
|
+
Args: {
|
|
3286
|
+
p_include_tentative: boolean;
|
|
3287
|
+
p_range_end: string;
|
|
3288
|
+
p_range_start: string;
|
|
3289
|
+
p_user_id: string;
|
|
3290
|
+
};
|
|
3291
|
+
Returns: {
|
|
3292
|
+
allDay: boolean;
|
|
3293
|
+
description: string;
|
|
3294
|
+
endsAt: string;
|
|
3295
|
+
eventId: string;
|
|
3296
|
+
eventType: string;
|
|
3297
|
+
groupName: string;
|
|
3298
|
+
language: string;
|
|
3299
|
+
lastModified: string;
|
|
3300
|
+
latitude: number;
|
|
3301
|
+
location: string;
|
|
3302
|
+
longitude: number;
|
|
3303
|
+
sequence: number;
|
|
3304
|
+
startsAt: string;
|
|
3305
|
+
status: string;
|
|
3306
|
+
summary: string;
|
|
3307
|
+
timezone: string;
|
|
3308
|
+
url: string;
|
|
3309
|
+
}[];
|
|
3310
|
+
};
|
|
3169
3311
|
immutable_unaccent: { Args: { '': string }; Returns: string };
|
|
3312
|
+
resolveCalendarFeed: {
|
|
3313
|
+
Args: { p_token_hash: string };
|
|
3314
|
+
Returns: {
|
|
3315
|
+
includeTentative: boolean;
|
|
3316
|
+
userId: string;
|
|
3317
|
+
}[];
|
|
3318
|
+
};
|
|
3170
3319
|
set_composer_performance_attendance: {
|
|
3171
3320
|
Args: {
|
|
3172
3321
|
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
|
}
|