1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 22:15:41 +02:00

recordPlayer

This commit is contained in:
syuilo
2026-05-01 09:58:13 +09:00
parent 9bc404a8f5
commit ebe5739ce3
4 changed files with 25 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ import { poster } from './objects/poster.js';
import { powerStrip } from './objects/powerStrip.js';
import { radiometer } from './objects/radiometer.js';
import { randomBooks } from './objects/randomBooks.js';
import { recordPlayer } from './objects/recordPlayer.js';
import { rolledUpPoster } from './objects/rolledUpPoster.js';
import { roundRug } from './objects/roundRug.js';
import { router } from './objects/router.js';
@@ -168,6 +169,7 @@ export const OBJECT_DEFS = [
powerStrip,
radiometer,
randomBooks,
recordPlayer,
rolledUpPoster,
roundRug,
router,

View File

@@ -0,0 +1,23 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { defineObject } from '../object.js';
export const recordPlayer = defineObject({
id: 'recordPlayer',
name: 'recordPlayer',
options: {
schema: {},
default: {},
},
placement: 'top',
hasCollisions: false,
canPreMeshesMerging: false,
createInstance: () => {
return {
interactions: {},
};
},
});