memories/src/vue-globals.d.ts

32 lines
756 B
TypeScript
Raw Normal View History

import { type constants } from './services/utils';
import type { translate, translatePlural } from '@nextcloud/l10n';
2022-12-10 18:59:36 +00:00
declare module 'vue' {
2022-12-10 18:59:36 +00:00
interface ComponentCustomProperties {
// GlobalMixin.ts
t: typeof translate;
n: typeof translatePlural;
2022-12-10 18:59:36 +00:00
c: typeof constants.c;
state_noDownload: boolean;
routeIsBase: boolean;
routeIsFolders: boolean;
routeIsAlbums: boolean;
routeIsPeople: boolean;
routeIsRecognize: boolean;
routeIsRecognizeUnassigned: boolean;
routeIsFaceRecognition: boolean;
routeIsArchive: boolean;
routeIsPlaces: boolean;
routeIsMap: boolean;
routeIsTags: boolean;
routeIsExplore: boolean;
routeIsAlbumShare: boolean;
routeIsPublic: boolean;
2022-12-10 18:59:36 +00:00
}
}
export {};