Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | 2x 2x | import {
testProgramItem,
testProgramItem2,
} from "shared/tests/testProgramItem";
import {
KompassiProgramItem,
KompassiGamestyle,
KompassiLanguage,
KompassiInclusivity,
KompassiKonstiProgramType,
KompassiGrouping,
KompassiAgeGroup,
KompassiRegistration,
KompassiBoolean,
KompassiYesNo,
} from "server/kompassi/kompassiProgramItem";
export const mockKompassiProgramItem: KompassiProgramItem = {
slug: testProgramItem.programItemId,
title: testProgramItem.title,
description: testProgramItem.description,
cachedHosts: testProgramItem.people,
isCancelled: false,
cachedDimensions: {
konsti: [KompassiKonstiProgramType.TABLETOP_RPG],
grouping: [KompassiGrouping.BEGINNERS],
language: [KompassiLanguage.FINNISH],
["age-group"]: [KompassiAgeGroup.ADULTS],
["game-style"]: [
KompassiGamestyle.CHARACTER_DRIVEN,
KompassiGamestyle.RULES_LIGHT,
],
inclusivity: [
KompassiInclusivity.FLASHING_LIGHTS,
KompassiInclusivity.LOUD_SOUNDS,
],
registration: [KompassiRegistration.KONSTI],
revolvingdoor: [KompassiBoolean.FALSE],
room: [testProgramItem.location],
["is-pre-convention-week"]: [KompassiYesNo.NO],
["uses-gen-ai"]: [KompassiYesNo.NO],
},
scheduleItems: [
{
slug: testProgramItem.programItemId,
title: testProgramItem.title,
startTime: testProgramItem.startTime,
endTime: testProgramItem.endTime,
lengthMinutes: testProgramItem.mins,
location: testProgramItem.location,
isCancelled: false,
cachedAnnotations: {
"konsti:maxAttendance": testProgramItem.maxAttendance,
},
},
],
cachedAnnotations: {
"konsti:rpgSystem": testProgramItem.gameSystem,
"ropecon:otherAuthor": testProgramItem.otherAuthor,
"konsti:minAttendance": testProgramItem.minAttendance,
"ropecon:numCharacters": testProgramItem.maxAttendance,
"konsti:workshopFee": "",
"konsti:entryConditionK16": false,
"ropecon:contentWarnings": testProgramItem.contentWarnings,
"ropecon:accessibilityOther": "Other accessibility information",
"ropecon:gameSlogan": testProgramItem.shortDescription,
"ropecon:isRevolvingDoor": false,
"konsti:isPlaceholder": false,
},
};
export const mockKompassiProgramItem2: KompassiProgramItem = {
slug: testProgramItem2.programItemId,
title: testProgramItem2.title,
description: testProgramItem2.description,
cachedHosts: testProgramItem2.people,
isCancelled: false,
cachedDimensions: {
konsti: [KompassiKonstiProgramType.TABLETOP_RPG],
grouping: [KompassiGrouping.BEGINNERS],
language: [KompassiLanguage.FINNISH],
["age-group"]: [KompassiAgeGroup.ADULTS],
["game-style"]: [
KompassiGamestyle.CHARACTER_DRIVEN,
KompassiGamestyle.RULES_LIGHT,
],
inclusivity: [
KompassiInclusivity.FLASHING_LIGHTS,
KompassiInclusivity.LOUD_SOUNDS,
],
registration: [KompassiRegistration.KONSTI],
revolvingdoor: [KompassiBoolean.FALSE],
room: [testProgramItem2.location],
["is-pre-convention-week"]: [KompassiYesNo.NO],
["uses-gen-ai"]: [KompassiYesNo.NO],
},
scheduleItems: [
{
slug: testProgramItem2.programItemId,
title: testProgramItem2.title,
startTime: testProgramItem2.startTime,
endTime: testProgramItem2.endTime,
lengthMinutes: testProgramItem2.mins,
location: testProgramItem2.location,
isCancelled: false,
cachedAnnotations: {
"konsti:maxAttendance": testProgramItem2.maxAttendance,
},
},
],
cachedAnnotations: {
"konsti:rpgSystem": testProgramItem2.gameSystem,
"ropecon:otherAuthor": testProgramItem2.otherAuthor,
"konsti:minAttendance": testProgramItem2.minAttendance,
"ropecon:numCharacters": testProgramItem2.maxAttendance,
"konsti:workshopFee": "",
"konsti:entryConditionK16": false,
"ropecon:contentWarnings": testProgramItem2.contentWarnings,
"ropecon:accessibilityOther": "Other accessibility information",
"ropecon:gameSlogan": testProgramItem2.shortDescription,
"ropecon:isRevolvingDoor": false,
"konsti:isPlaceholder": false,
},
};
|