mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-10-25 18:54:52 +00:00
24 lines
526 B
TypeScript
24 lines
526 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
import { markRaw } from 'vue';
|
|
import type { Column } from '@/deck.js';
|
|
import { Pizzax } from '@/lib/pizzax.js';
|
|
|
|
// TODO: 消す(移行済みのため)
|
|
export const deckStore = markRaw(new Pizzax('deck', {
|
|
profile: {
|
|
where: 'deviceAccount',
|
|
default: 'default',
|
|
},
|
|
columns: {
|
|
where: 'deviceAccount',
|
|
default: [] as Column[],
|
|
},
|
|
layout: {
|
|
where: 'deviceAccount',
|
|
default: [] as Column['id'][][],
|
|
},
|
|
}));
|