@glissandoo/lib 1.26.0 → 1.27.0
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Descendant } from '../helpers/slate';
|
|
2
2
|
import { EventPlayerStatus } from '../models/Evento/Player/types';
|
|
3
|
-
import { EventRepeatPeriod, EventStage, EventType } from '../models/Evento/types';
|
|
3
|
+
import { EventCreatedOn, EventRepeatPeriod, EventStage, EventType } from '../models/Evento/types';
|
|
4
4
|
export declare namespace EventoFbFunctionsTypes {
|
|
5
5
|
export enum RelationAction {
|
|
6
6
|
Single = "single",
|
|
@@ -32,6 +32,7 @@ export declare namespace EventoFbFunctionsTypes {
|
|
|
32
32
|
stage: EventStage | null;
|
|
33
33
|
stageTemplateId: string | null;
|
|
34
34
|
images: string[];
|
|
35
|
+
createdOn: EventCreatedOn;
|
|
35
36
|
}
|
|
36
37
|
export type PublishResult = string[];
|
|
37
38
|
interface EditParamsBase {
|
package/models/Evento/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export default class Evento extends EventoPromoter<EventData> {
|
|
|
25
25
|
get shortDynamicLink(): string | null;
|
|
26
26
|
get deletedAt(): FirebaseFirestore.Timestamp | null;
|
|
27
27
|
get createdAt(): FirebaseFirestore.Timestamp;
|
|
28
|
+
get createdOn(): import("./types").EventCreatedOn;
|
|
28
29
|
get rollCalledAt(): FirebaseFirestore.Timestamp | null;
|
|
29
30
|
get rollCallReminderAt(): FirebaseFirestore.Timestamp | null;
|
|
30
31
|
get notifyAt(): FirebaseFirestore.Timestamp;
|
package/models/Evento/index.js
CHANGED
package/models/Evento/types.d.ts
CHANGED
|
@@ -5,6 +5,11 @@ import { GroupBasicData } from '../Group/types';
|
|
|
5
5
|
import { PlayerBasicData } from '../Player/types';
|
|
6
6
|
import { ThemeBasicData } from '../Repertory/types';
|
|
7
7
|
import { EventPlayerReason, EventPlayerStatus } from './Player/types';
|
|
8
|
+
export declare enum EventCreatedOn {
|
|
9
|
+
App = "app",
|
|
10
|
+
Web = "web",
|
|
11
|
+
Auth = "auth"
|
|
12
|
+
}
|
|
8
13
|
export declare enum EventFiles {
|
|
9
14
|
StageThumbnail = "stageThumbnail.png",
|
|
10
15
|
StagePDF = "stage.pdf",
|
|
@@ -92,4 +97,5 @@ export interface EventData extends EventPromoterData {
|
|
|
92
97
|
timezone: string;
|
|
93
98
|
readonly owner: DocumentReference;
|
|
94
99
|
readonly createdAt: Timestamp;
|
|
100
|
+
readonly createdOn: EventCreatedOn;
|
|
95
101
|
}
|
package/models/Evento/types.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventStatusByTime = exports.EventRepeatPeriod = exports.EventType = exports.EventFiles = void 0;
|
|
3
|
+
exports.EventStatusByTime = exports.EventRepeatPeriod = exports.EventType = exports.EventFiles = exports.EventCreatedOn = void 0;
|
|
4
|
+
var EventCreatedOn;
|
|
5
|
+
(function (EventCreatedOn) {
|
|
6
|
+
EventCreatedOn["App"] = "app";
|
|
7
|
+
EventCreatedOn["Web"] = "web";
|
|
8
|
+
EventCreatedOn["Auth"] = "auth";
|
|
9
|
+
})(EventCreatedOn = exports.EventCreatedOn || (exports.EventCreatedOn = {}));
|
|
4
10
|
var EventFiles;
|
|
5
11
|
(function (EventFiles) {
|
|
6
12
|
EventFiles["StageThumbnail"] = "stageThumbnail.png";
|