-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.d.ts
More file actions
94 lines (90 loc) · 3.36 KB
/
admin.d.ts
File metadata and controls
94 lines (90 loc) · 3.36 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import { ApiResult, JsonServiceClient } from './client'
import { App, Meta, Forms, Routes, Breakpoints, Transition, MetadataOperationType, MetadataType, MetadataPropertyType, InputInfo, ThemeInfo, LinkInfo, AuthenticateResponse, AdminUsersInfo } from './shared'
import { AdminRoutes, AdminStore } from './shared';
/** Resolve Absolute URL for API Name
* @param {string} op
* @return {string} */
export function resolveApiUrl(op: string): string;
/** App's pre-configured `JsonServiceClient` instance for making typed API requests */
export let client: any;
export let Meta:Meta;
export let Forms:Forms;
/** @param {KeyboardEvent} e */
export function keydown(e: KeyboardEvent): void;
/**
* Execute tailwindui.com transition definition rules
* @type {Transition}
* */
export let transition: Transition;
/**
* The App's reactive `routes` navigation component used for all App navigation
* @remarks
* @type {AdminRoutes & Routes}
*/
export let routes: AdminRoutes & Routes;
export namespace settings {
namespace events {
/** @param {string} op */
function table(table: any): string;
/** @param {string} op */
function table(table: any): string;
function lookup(table: any): string;
function lookup(table: any): string;
/** @param {string} table
* @param {string} name */
function tableProp(table: string, name: string): string;
/** @param {string} table
* @param {string} name */
function tableProp(table: string, name: string): string;
}
/** @param {string} table */
function table(table: string): any;
/** @param {string} table */
function table(table: string): any;
/** @param {string} table */
function lookup(table: string): any;
/** @param {string} table */
function lookup(table: string): any;
/** @param {string} table
* @param {Function} fn */
function saveTable(table: string, fn: Function): void;
/** @param {string} table
* @param {Function} fn */
function saveTable(table: string, fn: Function): void;
/** @param {string} table
* @param {Function} fn */
function saveLookup(table: string, fn: Function): void;
/** @param {string} table
* @param {Function} fn */
function saveLookup(table: string, fn: Function): void;
/** @param {string} table
* @param {string} name */
function tableProp(table: string, name: string): any;
/** @param {string} table
* @param {string} name */
function tableProp(table: string, name: string): any;
/** @param {string} table
* @param {string} name
* @param {Function} fn */
function saveTableProp(table: string, name: string, fn: Function): void;
/** @param {string} table
* @param {string} name
* @param {Function} fn */
function saveTableProp(table: string, name: string, fn: Function): void;
/** @param {string} table */
function hasPrefs(table: string): boolean;
/** @param {string} table */
function hasPrefs(table: string): boolean;
/** @param {string} table */
function clearPrefs(table: string): void;
/** @param {string} table */
function clearPrefs(table: string): void;
}
/**
* App's primary reactive store maintaining global functionality for Admin UI
* @remarks
* @type {AdminStore}
*/
export let store: AdminStore;
/** API Explorer App instance */
export let App:App;