1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-15 11:29:39 -05:00
This commit is contained in:
syuilo 2025-03-19 16:04:01 +09:00
parent 409cd4fbd3
commit 2dc2d2e4fe
3 changed files with 5 additions and 5 deletions
packages/frontend/src

View file

@ -33,7 +33,7 @@ type PizzaxChannelMessage<T extends StateDef> = {
userId?: string;
};
export class Storage<T extends StateDef> {
export class Pizzax<T extends StateDef> {
public readonly ready: Promise<void>;
public readonly loaded: Promise<void>;

View file

@ -11,13 +11,13 @@ import { hemisphere } from '@@/js/intl-const.js';
import type { DeviceKind } from '@/utility/device-kind.js';
import type { Plugin } from '@/plugin.js';
import { miLocalStorage } from '@/local-storage.js';
import { Storage } from '@/pizzax.js';
import { Pizzax } from '@/lib/pizzax.js';
import { DEFAULT_DEVICE_KIND } from '@/utility/device-kind.js';
/**
* (not)
*/
export const store = markRaw(new Storage('base', {
export const store = markRaw(new Pizzax('base', {
accountSetupWizard: {
where: 'account',
default: 0,

View file

@ -5,10 +5,10 @@
import { markRaw } from 'vue';
import type { Column } from '@/deck.js';
import { Storage } from '@/pizzax.js';
import { Pizzax } from '@/lib/pizzax.js';
// TODO: 消す(移行済みのため)
export const deckStore = markRaw(new Storage('deck', {
export const deckStore = markRaw(new Pizzax('deck', {
profile: {
where: 'deviceAccount',
default: 'default',