30 lines
687 B
TypeScript
30 lines
687 B
TypeScript
import { type constants } from './services/Utils';
|
|
import type { translate, translatePlural } from '@nextcloud/l10n';
|
|
|
|
declare module 'vue' {
|
|
interface ComponentCustomProperties {
|
|
// GlobalMixin.ts
|
|
t: typeof translate;
|
|
n: typeof translatePlural;
|
|
|
|
c: typeof constants.c;
|
|
|
|
state_noDownload: boolean;
|
|
|
|
routeIsBase: boolean;
|
|
routeIsFolders: boolean;
|
|
routeIsAlbums: boolean;
|
|
routeIsPeople: boolean;
|
|
routeIsRecognize: boolean;
|
|
routeIsRecognizeUnassigned: boolean;
|
|
routeIsArchive: boolean;
|
|
routeIsPlaces: boolean;
|
|
routeIsMap: boolean;
|
|
routeIsTags: boolean;
|
|
routeIsExplore: boolean;
|
|
routeIsPublic: boolean;
|
|
}
|
|
}
|
|
|
|
export {};
|