31 lines
719 B
TypeScript
31 lines
719 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;
|
|
routeIsAlbumShare: boolean;
|
|
routeIsPublic: boolean;
|
|
}
|
|
}
|
|
|
|
export {};
|