mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
14b648faa6
commit
8611d55ffc
85 changed files with 91 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ export type RoomObjectInstance<Options = any> = {
|
|||
}>;
|
||||
primaryInteraction?: string | null;
|
||||
resetTemporaryState?: () => void;
|
||||
dispose?: () => void;
|
||||
dispose: () => void;
|
||||
};
|
||||
|
||||
type NumberOptionSchema = {
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ export const a4Case = defineObject({
|
|||
applyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const aircon = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -53,6 +53,9 @@ export const aquarium = defineObject({
|
|||
ps.start();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {
|
||||
// TODO
|
||||
},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ export const aromaReedDiffuser = defineObject({
|
|||
applyOilColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const banknote = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ export const bed = defineObject({
|
|||
applyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ export const blind = defineObject({
|
|||
applyOpeningState();
|
||||
},
|
||||
primaryInteraction: 'openClose',
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ export const book = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ export const books = defineObject({
|
|||
applyVariation();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ export const boxWallShelf = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ export const cactusS = defineObject({
|
|||
applyPotColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ export const cardboardBox = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ export const chair = defineObject({
|
|||
},
|
||||
},
|
||||
primaryInteraction: 'sit',
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const coffeeCup = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ export const colorBox = defineObject({
|
|||
applyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ export const cuboid = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const curtain = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const custardPudding = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ export const debugHipoly = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const debugMetal = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const descriptionPlate = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ export const desk = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const djMixer = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const ductTape = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -137,6 +137,9 @@ export const electronicDisplayBoard = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {
|
||||
textManager.dispose();
|
||||
},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export const emptyBento = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const energyDrink = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const envelope = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const facialTissue = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const glassCylinderPotPlant = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ export const hangingDuctRail = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const hangingTShirt = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export const icosahedron = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ const base = defineObjectClass({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ export const ironFrameTable = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ export const issyoubin = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ export const keyboard = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const letterCase = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ export const lowPartitionBar = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const miObjet = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const miPlate = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const miPlateDisplayed = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const milk = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const mixer = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ export const monitorSpeaker = defineObject({
|
|||
applyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ export const monstera = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ export const newtonsCradle = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ export const openedCardboardBox = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ export const pachira = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ export const pc = defineObject({
|
|||
applyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ export const petBottle = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ export const piano = defineObject({
|
|||
applyBodyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const pizza = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const plant = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const plant2 = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const powerStrip = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -158,6 +158,7 @@ export const randomBooks = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const recordPlayer = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export const rolledUpPoster = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const roundRug = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const router = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const siphon = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ export const snakeplant = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ export const sofa = defineObject({
|
|||
applyBodyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ export const speaker = defineObject({
|
|||
applyInnerColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ export const speakerStand = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const sprayer = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ export const stanchionPole = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -238,6 +238,7 @@ export const steelRack = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const stormGlass = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const tableSalt = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const tabletopCalendar = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@ export const tabletopDigitalClock = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ export const tabletopIronFrameStand = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export const tetrapod = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export const twistedCubeObjet = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export const usedTissue = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ export const wallClock = defineObject({
|
|||
applyFrameColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ export const wallMirror = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ export const wallShelf = defineObject({
|
|||
}
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ export const wireBasket = defineObject({
|
|||
applyBodyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ export const wireNet = defineObject({
|
|||
applyBodyColor();
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export const woodSoundAbsorbingPanel = defineObject({
|
|||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
dispose: () => {},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -549,6 +549,9 @@ export class RecyvlingTextGrid {
|
|||
await sleep(20);
|
||||
}
|
||||
}
|
||||
|
||||
public dispose() {
|
||||
}
|
||||
}
|
||||
|
||||
export function sleep(ms: number) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue