@seatmap-fyi/map-domain 0.1.0-alpha.1 → 0.1.0-alpha.29
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/dist/catalog.d.ts +10 -3
- package/dist/catalog.js +66 -10
- package/dist/categories.d.ts +26 -0
- package/dist/categories.js +168 -0
- package/dist/editor-state.d.ts +49 -0
- package/dist/editor-state.js +266 -0
- package/dist/floors.d.ts +19 -0
- package/dist/floors.js +68 -0
- package/dist/geometry/boundary.d.ts +1 -1
- package/dist/geometry/boundary.js +10 -12
- package/dist/geometry/curve-warnings.d.ts +1 -1
- package/dist/geometry/curve-warnings.js +3 -5
- package/dist/geometry/decoration-bounds.d.ts +4 -0
- package/dist/geometry/decoration-bounds.js +42 -0
- package/dist/geometry/ellipse.js +4 -12
- package/dist/geometry/geometry.d.ts +12 -3
- package/dist/geometry/geometry.js +35 -26
- package/dist/geometry/polygon-curves.d.ts +12 -0
- package/dist/geometry/polygon-curves.js +132 -0
- package/dist/geometry/primitives.d.ts +1 -1
- package/dist/geometry/primitives.js +2 -3
- package/dist/geometry/seat-shape.d.ts +24 -0
- package/dist/geometry/seat-shape.js +101 -0
- package/dist/geometry/seating-layout.d.ts +14 -3
- package/dist/geometry/seating-layout.js +91 -19
- package/dist/geometry/units.d.ts +1 -0
- package/dist/geometry/units.js +2 -0
- package/dist/geometry/venue-outline.d.ts +2 -2
- package/dist/geometry/venue-outline.js +8 -21
- package/dist/identity.d.ts +4 -1
- package/dist/identity.js +36 -10
- package/dist/issues.d.ts +9 -2
- package/dist/issues.js +8 -6
- package/dist/labels.d.ts +12 -1
- package/dist/labels.js +76 -11
- package/dist/layers.d.ts +26 -0
- package/dist/layers.js +86 -0
- package/dist/media.d.ts +27 -0
- package/dist/media.js +89 -0
- package/dist/physical-document.interface.d.ts +518 -0
- package/dist/{types.js → physical-document.interface.js} +71 -0
- package/dist/preview.d.ts +15 -0
- package/dist/preview.js +199 -0
- package/dist/reference.js +1 -1
- package/dist/row-segments.d.ts +30 -0
- package/dist/row-segments.js +112 -0
- package/dist/schema.d.ts +1192 -68
- package/dist/schema.js +372 -96
- package/dist/seat-proximity.d.ts +4 -0
- package/dist/seat-proximity.js +119 -0
- package/dist/sections.d.ts +23 -0
- package/dist/sections.js +149 -0
- package/dist/selling.d.ts +34 -0
- package/dist/selling.js +148 -0
- package/dist/spacing-repairs.d.ts +31 -0
- package/dist/spacing-repairs.js +168 -0
- package/dist/table-layout.d.ts +29 -0
- package/dist/table-layout.js +134 -0
- package/dist/validation.d.ts +3 -1
- package/dist/validation.js +124 -74
- package/package.json +63 -3
- package/dist/types.d.ts +0 -313
package/dist/labels.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NumberingScheme, LabelDirection, } from "./
|
|
1
|
+
import { NumberingScheme, LabelDirection, } from "./physical-document.interface.js";
|
|
2
2
|
import { caseFoldData } from "./case-fold-data.js";
|
|
3
3
|
const folds = new Map(caseFoldData.split(";").map((entry) => {
|
|
4
4
|
const [from, to] = entry.split(":");
|
|
@@ -9,9 +9,20 @@ const folds = new Map(caseFoldData.split(";").map((entry) => {
|
|
|
9
9
|
}));
|
|
10
10
|
// Unicode 17 White_Space, PropList.txt; same license as case-fold-data.
|
|
11
11
|
const whitespace = new Set([
|
|
12
|
-
9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197,
|
|
13
|
-
|
|
12
|
+
9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8232, 8233,
|
|
13
|
+
8239, 8287, 12288,
|
|
14
14
|
]);
|
|
15
|
+
/** An explicit buyer-facing name overrides the generated inventory code. */
|
|
16
|
+
export function inventoryName(naming) {
|
|
17
|
+
return naming.name ?? naming.code;
|
|
18
|
+
}
|
|
19
|
+
/** Physical row identifiers remain stable when their displayed names change. */
|
|
20
|
+
export function rowBookingLabel(group, index) {
|
|
21
|
+
return group.rows[index].bookingLabel ?? sequenceLabel(group.labels.rows, index, group.rows.length);
|
|
22
|
+
}
|
|
23
|
+
export function rowDisplayLabel(group, index) {
|
|
24
|
+
return group.rows[index].labelOverride ?? rowBookingLabel(group, index);
|
|
25
|
+
}
|
|
15
26
|
export function labelKey(value) {
|
|
16
27
|
const points = Array.from(value);
|
|
17
28
|
let start = 0;
|
|
@@ -24,22 +35,76 @@ export function labelKey(value) {
|
|
|
24
35
|
.join("")
|
|
25
36
|
.normalize("NFC");
|
|
26
37
|
}
|
|
38
|
+
/** Position in the buyer's sequence, independent of authored inventory identity. */
|
|
39
|
+
export function sequenceOrdinal(sequence, index, count) {
|
|
40
|
+
const middle = Math.ceil(count / 2);
|
|
41
|
+
if (sequence.scheme === NumberingScheme.OutsideIn)
|
|
42
|
+
return index < middle ? index * 2 : (count - 1 - index) * 2 + 1;
|
|
43
|
+
if (sequence.scheme === NumberingScheme.InsideOut)
|
|
44
|
+
return index < middle ? (middle - 1 - index) * 2 : (index - middle) * 2 + 1;
|
|
45
|
+
if (sequence.direction === LabelDirection.Centre) {
|
|
46
|
+
const centre = Math.floor((count - 1) / 2);
|
|
47
|
+
if (index === centre)
|
|
48
|
+
return 0;
|
|
49
|
+
if (index < centre)
|
|
50
|
+
return (centre - index) * 2 - (count % 2);
|
|
51
|
+
return (index - centre) * 2 - (count % 2 === 0 ? 1 : 0);
|
|
52
|
+
}
|
|
53
|
+
return sequence.direction === LabelDirection.Reverse ? count - 1 - index : index;
|
|
54
|
+
}
|
|
55
|
+
export function sequenceStep(sequence) {
|
|
56
|
+
return sequence.scheme === NumberingScheme.Odd || sequence.scheme === NumberingScheme.Even ? 2 : 1;
|
|
57
|
+
}
|
|
58
|
+
/** Combined patterns own their order; the stored anchor remains available when switching back. */
|
|
59
|
+
export function sequenceOwnsOrder(scheme) {
|
|
60
|
+
return scheme === NumberingScheme.OutsideIn || scheme === NumberingScheme.InsideOut;
|
|
61
|
+
}
|
|
62
|
+
export function sequenceStart(sequence, count) {
|
|
63
|
+
let start = !sequenceOwnsOrder(sequence.scheme) && sequence.numberFrom === "last" && sequence.lastAt !== undefined
|
|
64
|
+
? Math.max(0, sequence.lastAt - Math.max(0, count - 1) * sequenceStep(sequence))
|
|
65
|
+
: sequence.startAt;
|
|
66
|
+
if (sequence.scheme === NumberingScheme.Odd && start % 2 === 0)
|
|
67
|
+
start++;
|
|
68
|
+
if (sequence.scheme === NumberingScheme.Even && start % 2 === 1)
|
|
69
|
+
start++;
|
|
70
|
+
return start;
|
|
71
|
+
}
|
|
72
|
+
const romanParts = [
|
|
73
|
+
[1000, "M"],
|
|
74
|
+
[900, "CM"],
|
|
75
|
+
[500, "D"],
|
|
76
|
+
[400, "CD"],
|
|
77
|
+
[100, "C"],
|
|
78
|
+
[90, "XC"],
|
|
79
|
+
[50, "L"],
|
|
80
|
+
[40, "XL"],
|
|
81
|
+
[10, "X"],
|
|
82
|
+
[9, "IX"],
|
|
83
|
+
[5, "V"],
|
|
84
|
+
[4, "IV"],
|
|
85
|
+
[1, "I"],
|
|
86
|
+
];
|
|
27
87
|
export function sequenceLabel(sequence, index, count) {
|
|
28
|
-
|
|
29
|
-
let n = sequence.startAt +
|
|
30
|
-
ordinal *
|
|
31
|
-
(sequence.scheme === NumberingScheme.Odd ||
|
|
32
|
-
sequence.scheme === NumberingScheme.Even
|
|
33
|
-
? 2
|
|
34
|
-
: 1);
|
|
88
|
+
let n = sequenceStart(sequence, count) + sequenceOrdinal(sequence, index, count) * sequenceStep(sequence);
|
|
35
89
|
let label = String(n);
|
|
36
|
-
if (sequence.scheme === NumberingScheme.Alphabetic) {
|
|
90
|
+
if (sequence.scheme === NumberingScheme.Alphabetic || sequence.scheme === NumberingScheme.LowerAlphabetic) {
|
|
91
|
+
n = Math.max(1, n);
|
|
37
92
|
label = "";
|
|
38
93
|
while (n > 0) {
|
|
39
94
|
n--;
|
|
40
95
|
label = String.fromCharCode(65 + (n % 26)) + label;
|
|
41
96
|
n = Math.floor(n / 26);
|
|
42
97
|
}
|
|
98
|
+
if (sequence.scheme === NumberingScheme.LowerAlphabetic)
|
|
99
|
+
label = label.toLowerCase();
|
|
100
|
+
}
|
|
101
|
+
else if (sequence.scheme === NumberingScheme.Roman && n > 0) {
|
|
102
|
+
label = "";
|
|
103
|
+
for (const [value, glyph] of romanParts) {
|
|
104
|
+
const repeats = Math.floor(n / value);
|
|
105
|
+
label += glyph.repeat(repeats);
|
|
106
|
+
n %= value;
|
|
107
|
+
}
|
|
43
108
|
}
|
|
44
109
|
return (sequence.prefix ?? "") + label + (sequence.suffix ?? "");
|
|
45
110
|
}
|
package/dist/layers.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type PhysicalDocumentV1, type UUID } from "./physical-document.interface.js";
|
|
2
|
+
export type LayerEntry = {
|
|
3
|
+
id: UUID;
|
|
4
|
+
parentId: UUID | null;
|
|
5
|
+
ownerId: UUID;
|
|
6
|
+
zIndex: number;
|
|
7
|
+
rowIndex: number;
|
|
8
|
+
};
|
|
9
|
+
export type LayerRun = {
|
|
10
|
+
ids: readonly UUID[];
|
|
11
|
+
order: number;
|
|
12
|
+
};
|
|
13
|
+
type LayerCatalog = {
|
|
14
|
+
runs: ReadonlyMap<UUID, readonly LayerRun[]>;
|
|
15
|
+
siblings: ReadonlyMap<UUID | null, readonly LayerEntry[]>;
|
|
16
|
+
targets: ReadonlyMap<UUID, readonly UUID[]>;
|
|
17
|
+
order: ReadonlyMap<UUID, number>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @method layerCatalog
|
|
21
|
+
* @description Projects rows and drawables onto their collection's stacking plane without changing bank ownership.
|
|
22
|
+
* @param document Physical document whose collection hierarchy and row defaults determine the stacking order.
|
|
23
|
+
* @returns Cached sibling lists, actionable targets and flattened painter order, including each bank's first row.
|
|
24
|
+
*/
|
|
25
|
+
export declare function layerCatalog(document: PhysicalDocumentV1): LayerCatalog;
|
|
26
|
+
export {};
|
package/dist/layers.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { SeatingKind } from "./physical-document.interface.js";
|
|
2
|
+
const catalogs = new WeakMap();
|
|
3
|
+
/**
|
|
4
|
+
* @method layerCatalog
|
|
5
|
+
* @description Projects rows and drawables onto their collection's stacking plane without changing bank ownership.
|
|
6
|
+
* @param document Physical document whose collection hierarchy and row defaults determine the stacking order.
|
|
7
|
+
* @returns Cached sibling lists, actionable targets and flattened painter order, including each bank's first row.
|
|
8
|
+
*/
|
|
9
|
+
export function layerCatalog(document) {
|
|
10
|
+
const cached = catalogs.get(document);
|
|
11
|
+
if (cached) {
|
|
12
|
+
return cached;
|
|
13
|
+
}
|
|
14
|
+
const siblings = new Map();
|
|
15
|
+
const targets = new Map();
|
|
16
|
+
const collections = new Set(document.collections.map((collection) => collection.id));
|
|
17
|
+
const banks = new Map();
|
|
18
|
+
const entities = [
|
|
19
|
+
...document.collections,
|
|
20
|
+
...document.seatingGroups,
|
|
21
|
+
...document.areas,
|
|
22
|
+
...document.decorations,
|
|
23
|
+
];
|
|
24
|
+
for (const entity of entities) {
|
|
25
|
+
const rows = "kind" in entity && (entity.kind === SeatingKind.Straight || entity.kind === SeatingKind.Curved)
|
|
26
|
+
? entity.rows
|
|
27
|
+
: null;
|
|
28
|
+
const entries = rows
|
|
29
|
+
? rows.map((row, rowIndex) => ({
|
|
30
|
+
id: row.id,
|
|
31
|
+
parentId: entity.parentId,
|
|
32
|
+
ownerId: entity.id,
|
|
33
|
+
zIndex: row.zIndex ?? entity.zIndex,
|
|
34
|
+
rowIndex,
|
|
35
|
+
}))
|
|
36
|
+
: [{ id: entity.id, parentId: entity.parentId, ownerId: entity.id, zIndex: entity.zIndex, rowIndex: 0 }];
|
|
37
|
+
const ids = entries.map((entry) => entry.id);
|
|
38
|
+
targets.set(entity.id, ids);
|
|
39
|
+
if (rows) {
|
|
40
|
+
banks.set(entity.id, ids);
|
|
41
|
+
for (const id of ids) {
|
|
42
|
+
targets.set(id, [id]);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const list = siblings.get(entity.parentId) ?? [];
|
|
46
|
+
list.push(...entries);
|
|
47
|
+
siblings.set(entity.parentId, list);
|
|
48
|
+
}
|
|
49
|
+
for (const logical of document.segmentedRows ?? []) {
|
|
50
|
+
targets.set(logical.id, logical.parts.map((part) => part.rowId));
|
|
51
|
+
}
|
|
52
|
+
for (const list of siblings.values()) {
|
|
53
|
+
list.sort((a, b) => a.zIndex - b.zIndex || a.ownerId.localeCompare(b.ownerId) || a.rowIndex - b.rowIndex);
|
|
54
|
+
}
|
|
55
|
+
const order = new Map();
|
|
56
|
+
const runs = new Map();
|
|
57
|
+
let previousOwner = null;
|
|
58
|
+
let ordinal = 0;
|
|
59
|
+
const visit = (parent) => {
|
|
60
|
+
for (const entry of siblings.get(parent) ?? []) {
|
|
61
|
+
if (collections.has(entry.id)) {
|
|
62
|
+
visit(entry.id);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
order.set(entry.id, ordinal);
|
|
66
|
+
const ownerRuns = runs.get(entry.ownerId) ?? [];
|
|
67
|
+
if (previousOwner === entry.ownerId) {
|
|
68
|
+
ownerRuns[ownerRuns.length - 1].ids.push(entry.id);
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
ownerRuns.push({ ids: [entry.id], order: ordinal });
|
|
72
|
+
}
|
|
73
|
+
runs.set(entry.ownerId, ownerRuns);
|
|
74
|
+
previousOwner = entry.ownerId;
|
|
75
|
+
ordinal++;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
visit(null);
|
|
80
|
+
for (const [id, rows] of banks) {
|
|
81
|
+
order.set(id, Math.min(...rows.map((row) => order.get(row))));
|
|
82
|
+
}
|
|
83
|
+
const catalog = { siblings, targets, order, runs };
|
|
84
|
+
catalogs.set(document, catalog);
|
|
85
|
+
return catalog;
|
|
86
|
+
}
|
package/dist/media.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { BuyerPhoto, PhysicalDocumentV1, UUID } from "./physical-document.interface.js";
|
|
2
|
+
import type { DocumentSeat } from "./catalog.js";
|
|
3
|
+
export declare enum MediaScope {
|
|
4
|
+
Artwork = "artwork",
|
|
5
|
+
Seat = "seat",
|
|
6
|
+
Row = "row",
|
|
7
|
+
Section = "section",
|
|
8
|
+
Venue = "venue",
|
|
9
|
+
Generated = "generated"
|
|
10
|
+
}
|
|
11
|
+
export type MediaReference = Readonly<{
|
|
12
|
+
scope: Exclude<MediaScope, MediaScope.Generated>;
|
|
13
|
+
ownerId: UUID;
|
|
14
|
+
assetId: UUID;
|
|
15
|
+
fieldPath: string;
|
|
16
|
+
}>;
|
|
17
|
+
/** All live consumers share resource identity, including photos on gap slots. */
|
|
18
|
+
export declare function mediaReferences(document: PhysicalDocumentV1): readonly MediaReference[];
|
|
19
|
+
export type ResolvedBuyerPhoto = {
|
|
20
|
+
scope: MediaScope.Generated;
|
|
21
|
+
} | {
|
|
22
|
+
scope: Exclude<MediaScope, MediaScope.Generated | MediaScope.Artwork>;
|
|
23
|
+
ownerId: UUID;
|
|
24
|
+
photo: BuyerPhoto;
|
|
25
|
+
};
|
|
26
|
+
/** Resolve the primary inventory address; overlapping editing scopes do not change inheritance. */
|
|
27
|
+
export declare function buyerPhotoForSeat(document: PhysicalDocumentV1, seat: DocumentSeat): ResolvedBuyerPhoto;
|
package/dist/media.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { DecorationKind, SeatingKind } from "./physical-document.interface.js";
|
|
2
|
+
export var MediaScope;
|
|
3
|
+
(function (MediaScope) {
|
|
4
|
+
MediaScope["Artwork"] = "artwork";
|
|
5
|
+
MediaScope["Seat"] = "seat";
|
|
6
|
+
MediaScope["Row"] = "row";
|
|
7
|
+
MediaScope["Section"] = "section";
|
|
8
|
+
MediaScope["Venue"] = "venue";
|
|
9
|
+
MediaScope["Generated"] = "generated";
|
|
10
|
+
})(MediaScope || (MediaScope = {}));
|
|
11
|
+
const groupReferences = new WeakMap();
|
|
12
|
+
const documentReferences = new WeakMap();
|
|
13
|
+
const photoInheritance = new WeakMap();
|
|
14
|
+
/** All live consumers share resource identity, including photos on gap slots. */
|
|
15
|
+
export function mediaReferences(document) {
|
|
16
|
+
const cached = documentReferences.get(document);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
const references = [];
|
|
20
|
+
const photo = (scope, ownerId, value, target = references) => {
|
|
21
|
+
if (value)
|
|
22
|
+
target.push({ scope, ownerId, assetId: value.assetId, fieldPath: `${ownerId}.buyerPhoto.assetId` });
|
|
23
|
+
};
|
|
24
|
+
photo(MediaScope.Venue, document.mapId, document.buyerPhoto);
|
|
25
|
+
for (const section of document.sections)
|
|
26
|
+
photo(MediaScope.Section, section.id, section.buyerPhoto);
|
|
27
|
+
for (const group of document.seatingGroups) {
|
|
28
|
+
let entries = groupReferences.get(group);
|
|
29
|
+
if (!entries) {
|
|
30
|
+
const next = [];
|
|
31
|
+
if (group.kind === SeatingKind.Straight || group.kind === SeatingKind.Curved) {
|
|
32
|
+
for (const row of group.rows) {
|
|
33
|
+
photo(MediaScope.Row, row.id, row.buyerPhoto, next);
|
|
34
|
+
for (const slot of row.seats)
|
|
35
|
+
photo(MediaScope.Seat, slot.id, slot.buyerPhoto, next);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
const sides = group.kind === SeatingKind.Round ? [group.chairs] : Object.values(group.chairsBySide);
|
|
40
|
+
for (const seats of sides)
|
|
41
|
+
for (const slot of seats)
|
|
42
|
+
photo(MediaScope.Seat, slot.id, slot.buyerPhoto, next);
|
|
43
|
+
}
|
|
44
|
+
entries = Object.freeze(next);
|
|
45
|
+
groupReferences.set(group, entries);
|
|
46
|
+
}
|
|
47
|
+
references.push(...entries);
|
|
48
|
+
}
|
|
49
|
+
for (const decoration of document.decorations)
|
|
50
|
+
if (decoration.kind === DecorationKind.Image)
|
|
51
|
+
references.push({
|
|
52
|
+
scope: MediaScope.Artwork,
|
|
53
|
+
ownerId: decoration.id,
|
|
54
|
+
assetId: decoration.assetId,
|
|
55
|
+
fieldPath: `${decoration.id}.assetId`,
|
|
56
|
+
});
|
|
57
|
+
const result = Object.freeze(references);
|
|
58
|
+
documentReferences.set(document, result);
|
|
59
|
+
return result;
|
|
60
|
+
}
|
|
61
|
+
/** Resolve the primary inventory address; overlapping editing scopes do not change inheritance. */
|
|
62
|
+
export function buyerPhotoForSeat(document, seat) {
|
|
63
|
+
if (seat.slot.buyerPhoto)
|
|
64
|
+
return { scope: MediaScope.Seat, ownerId: seat.id, photo: seat.slot.buyerPhoto };
|
|
65
|
+
let inherited = photoInheritance.get(document);
|
|
66
|
+
if (!inherited) {
|
|
67
|
+
const rows = new Map();
|
|
68
|
+
for (const group of document.seatingGroups)
|
|
69
|
+
if (group.kind === SeatingKind.Straight || group.kind === SeatingKind.Curved)
|
|
70
|
+
for (const row of group.rows)
|
|
71
|
+
if (row.buyerPhoto)
|
|
72
|
+
rows.set(row.id, row.buyerPhoto);
|
|
73
|
+
const sections = new Map();
|
|
74
|
+
for (const section of document.sections)
|
|
75
|
+
if (section.buyerPhoto)
|
|
76
|
+
sections.set(section.id, section.buyerPhoto);
|
|
77
|
+
inherited = { rows, sections };
|
|
78
|
+
photoInheritance.set(document, inherited);
|
|
79
|
+
}
|
|
80
|
+
const rowPhoto = seat.rowId ? inherited.rows.get(seat.rowId) : undefined;
|
|
81
|
+
if (rowPhoto)
|
|
82
|
+
return { scope: MediaScope.Row, ownerId: seat.rowId, photo: rowPhoto };
|
|
83
|
+
const sectionPhoto = seat.sectionId ? inherited.sections.get(seat.sectionId) : undefined;
|
|
84
|
+
if (sectionPhoto)
|
|
85
|
+
return { scope: MediaScope.Section, ownerId: seat.sectionId, photo: sectionPhoto };
|
|
86
|
+
if (document.buyerPhoto)
|
|
87
|
+
return { scope: MediaScope.Venue, ownerId: document.mapId, photo: document.buyerPhoto };
|
|
88
|
+
return { scope: MediaScope.Generated };
|
|
89
|
+
}
|