@glissandoo/lib 1.104.23 → 1.104.25

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.
@@ -38,7 +38,6 @@ export default class GroupRepertory extends Theme<GroupRepertoryData> {
38
38
  get ownerId(): string;
39
39
  get lastEventDatetime(): FirebaseFirestore.Timestamp | null;
40
40
  get claims(): Partial<Record<InstrumentId, Record<string, import("./types").GroupRepertoryClaimType>>>;
41
- get fileLastViewedAt(): Record<string, Record<string, FirebaseFirestore.Timestamp>>;
42
41
  get claimsList(): {
43
42
  createdAt: FirebaseFirestore.Timestamp;
44
43
  notifiedAt: FirebaseFirestore.Timestamp | null;
@@ -98,9 +98,6 @@ class GroupRepertory extends basic_1.default {
98
98
  get claims() {
99
99
  return this.data.claims || {};
100
100
  }
101
- get fileLastViewedAt() {
102
- return this.data.fileLastViewedAt || {};
103
- }
104
101
  get claimsList() {
105
102
  return (0, ts_extras_1.objectEntries)(this.claims)
106
103
  .map(([iId, users]) => (0, ts_extras_1.objectEntries)(users || {}).map(([userId, claim]) => ({
@@ -3,6 +3,19 @@ import { InstrumentId } from '../../../helpers/instruments';
3
3
  import { EventTinyData } from '../../Evento/types';
4
4
  import { ThemeBasicData } from '../../Repertory/types';
5
5
  import { FileSectionId } from './File/Section/types';
6
+ export declare enum RepertoireHistoryAction {
7
+ Created = "created",
8
+ Deleted = "deleted",
9
+ PlayerPlay = "player_play",
10
+ PlayerView = "player_view",
11
+ PlayerDownload = "player_download",
12
+ PlayerClaim = "player_claim",
13
+ RemovedClaim = "removed_claim",
14
+ EditTitle = "edit_title",
15
+ EditTags = "edit_tags",
16
+ EditVisibility = "edit_visibility",
17
+ EditCompositor = "edit_compositor"
18
+ }
6
19
  export declare enum GroupRepertoireVisibility {
7
20
  Always = "always",
8
21
  ByEvent = "byEvent"
@@ -69,7 +82,6 @@ export interface GroupRepertoryData extends ThemeBasicData {
69
82
  visibility: GroupRepertoireVisibility;
70
83
  lastEventDatetime: Timestamp | null;
71
84
  claims: Partial<Record<InstrumentId, Record<UserId, GroupRepertoryClaimType>>>;
72
- fileLastViewedAt: Record<string, Record<string, Timestamp>>;
73
85
  clonedFrom: DocumentReference | null;
74
86
  readonly owner: DocumentReference;
75
87
  readonly createdAt: Timestamp;
@@ -1,6 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GroupRepertoireVisibility = void 0;
3
+ exports.GroupRepertoireVisibility = exports.RepertoireHistoryAction = void 0;
4
+ var RepertoireHistoryAction;
5
+ (function (RepertoireHistoryAction) {
6
+ RepertoireHistoryAction["Created"] = "created";
7
+ RepertoireHistoryAction["Deleted"] = "deleted";
8
+ RepertoireHistoryAction["PlayerPlay"] = "player_play";
9
+ RepertoireHistoryAction["PlayerView"] = "player_view";
10
+ RepertoireHistoryAction["PlayerDownload"] = "player_download";
11
+ RepertoireHistoryAction["PlayerClaim"] = "player_claim";
12
+ RepertoireHistoryAction["RemovedClaim"] = "removed_claim";
13
+ RepertoireHistoryAction["EditTitle"] = "edit_title";
14
+ RepertoireHistoryAction["EditTags"] = "edit_tags";
15
+ RepertoireHistoryAction["EditVisibility"] = "edit_visibility";
16
+ RepertoireHistoryAction["EditCompositor"] = "edit_compositor";
17
+ })(RepertoireHistoryAction = exports.RepertoireHistoryAction || (exports.RepertoireHistoryAction = {}));
4
18
  var GroupRepertoireVisibility;
5
19
  (function (GroupRepertoireVisibility) {
6
20
  GroupRepertoireVisibility["Always"] = "always";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.104.23",
3
+ "version": "1.104.25",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",