-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.d.ts
More file actions
40 lines (33 loc) · 996 Bytes
/
env.d.ts
File metadata and controls
40 lines (33 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// SPDX-FileCopyrightText: 2026 LibreCode coop and LibreCode contributors
// SPDX-License-Identifier: AGPL-3.0-or-later
/// <reference types="vite/client" />
declare module '@nextcloud/router' {
export function generateOcsUrl(path: string, params?: object, options?: object): string
export function generateUrl(path: string, params?: object, options?: object): string
}
interface SettingsUserListRow {
id: string
displayname?: string
[key: string]: unknown
}
interface SettingsUserListApi {
registerAction?: (
icon: string,
text: string,
action: (event: Event, user: SettingsUserListRow) => void,
enabled?: (user: SettingsUserListRow) => boolean,
) => void
}
interface Window {
OCA?: {
Settings?: {
UserList?: SettingsUserListApi
}
}
__profileFieldsUserActionRegistered?: boolean
}
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<Record<string, never>, Record<string, never>, any>
export default component
}