@glissandoo/lib 1.9.1 → 1.9.2

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.
@@ -2,6 +2,11 @@ import { Descendant } from '../helpers/slate';
2
2
  import { EventPlayerStatus } from '../models/Evento/Player/types';
3
3
  import { EventRepeatPeriod, EventStage, EventType } from '../models/Evento/types';
4
4
  export declare namespace EventoFbFunctionsTypes {
5
+ export enum RelationAction {
6
+ Single = "single",
7
+ Future = "future",
8
+ All = "all"
9
+ }
5
10
  export interface PublishParams {
6
11
  type: EventType;
7
12
  displayName: string | null;
@@ -31,7 +36,7 @@ export declare namespace EventoFbFunctionsTypes {
31
36
  export type PublishResult = string[];
32
37
  interface EditParamsBase {
33
38
  eventId: string;
34
- updateRelations: boolean;
39
+ relations: RelationAction;
35
40
  notify: boolean;
36
41
  }
37
42
  export enum EditScope {
@@ -89,7 +94,7 @@ export declare namespace EventoFbFunctionsTypes {
89
94
  export type EditResult = void;
90
95
  export interface EditDatetimeParams {
91
96
  eventId: string;
92
- updateRelations: boolean;
97
+ relations: RelationAction;
93
98
  notify: boolean;
94
99
  datetime: number;
95
100
  datetimeEnd: number;
@@ -98,7 +103,7 @@ export declare namespace EventoFbFunctionsTypes {
98
103
  export type EditDatetimeResult = void;
99
104
  export interface RemoveParams {
100
105
  eventId: string;
101
- removeRelations: boolean;
106
+ relations: RelationAction;
102
107
  notify: boolean;
103
108
  }
104
109
  export type RemoveResult = void;
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventoFbFunctionsTypes = void 0;
4
4
  var EventoFbFunctionsTypes;
5
5
  (function (EventoFbFunctionsTypes) {
6
+ let RelationAction;
7
+ (function (RelationAction) {
8
+ RelationAction["Single"] = "single";
9
+ RelationAction["Future"] = "future";
10
+ RelationAction["All"] = "all";
11
+ })(RelationAction = EventoFbFunctionsTypes.RelationAction || (EventoFbFunctionsTypes.RelationAction = {}));
6
12
  let EditScope;
7
13
  (function (EditScope) {
8
14
  EditScope["Title"] = "title";
@@ -1,4 +1,5 @@
1
1
  import { EventPlayerReason } from '../models/Evento/Player/types';
2
+ import { EventoFbFunctionsTypes } from './event';
2
3
  export declare namespace EventoPlayerFbFunctionsTypes {
3
4
  enum SwitchAssistanceActions {
4
5
  Confirm = "confirm",
@@ -20,7 +21,7 @@ export declare namespace EventoPlayerFbFunctionsTypes {
20
21
  eventId: string;
21
22
  userIds: string[];
22
23
  templateId: string | null;
23
- updateRelations: boolean;
24
+ relations: EventoFbFunctionsTypes.RelationAction;
24
25
  notify: boolean;
25
26
  }
26
27
  type EditResult = void;
@@ -1,9 +1,10 @@
1
1
  import { InstrumentId } from '../helpers/instruments';
2
+ import { EventoFbFunctionsTypes } from './event';
2
3
  export declare namespace EventoRepertoryFbFunctionsTypes {
3
4
  interface EditParams {
4
5
  eventId: string;
5
6
  themeIds: string[];
6
- updateRelations: boolean;
7
+ relations: EventoFbFunctionsTypes.RelationAction;
7
8
  notify: boolean;
8
9
  }
9
10
  type EditResult = void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",