@webx-ui/module-audit 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AuditLayout.d.ts +4 -0
- package/dist/AuditRunsPage.d.ts +2 -1
- package/dist/api.d.ts +2 -0
- package/dist/index.js +1636 -1596
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
package/dist/AuditLayout.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ScreenAction } from '@webx-ui/module-admin';
|
|
1
2
|
/**
|
|
2
3
|
* The head of the section: its name, its views — the overview, the findings, the pages, the
|
|
3
4
|
* hosts the site points at and the runs — and the way to the section's own settings.
|
|
@@ -7,6 +8,8 @@ type __VLS_Props = {
|
|
|
7
8
|
current: 'overview' | 'issues' | 'pages' | 'hosts' | 'runs' | 'settings';
|
|
8
9
|
/** A card around the slot — the tables want one, the overview draws its own. */
|
|
9
10
|
card?: boolean;
|
|
11
|
+
/** What the view itself offers in the head, before the way to the settings. */
|
|
12
|
+
actions?: ScreenAction[];
|
|
10
13
|
};
|
|
11
14
|
declare function __VLS_template(): {
|
|
12
15
|
attrs: Partial<{}>;
|
|
@@ -21,6 +24,7 @@ declare function __VLS_template(): {
|
|
|
21
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
25
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
26
|
card: boolean;
|
|
27
|
+
actions: ScreenAction[];
|
|
24
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
30
|
export default _default;
|
package/dist/AuditRunsPage.d.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* The history (§8 «Runs»): every run kept, newest first, with its health and counts. Ticking a
|
|
3
3
|
* run compares it with the one it was analysed against; ticking two compares those two — by
|
|
4
4
|
* fingerprint (decision 8): what is new in the later one, what both have, what is gone. `?to=`
|
|
5
|
-
* opens on one run already ticked — the way the page card's recheck leads here.
|
|
5
|
+
* opens on one run already ticked — the way the page card's recheck leads here. In the head, for
|
|
6
|
+
* whoever manages the section, the way to clear every run at once, behind a warning.
|
|
6
7
|
*/
|
|
7
8
|
type __VLS_Props = {
|
|
8
9
|
base: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export interface AuditApi {
|
|
|
15
15
|
*/
|
|
16
16
|
start(scope: AuditScope, urls?: string[]): Promise<AuditRun>;
|
|
17
17
|
cancel(id: number): Promise<AuditRun>;
|
|
18
|
+
/** Deletes every run with all it found; refused with 409 while a run is going. */
|
|
19
|
+
clear(): Promise<number>;
|
|
18
20
|
/** The checks of a run that found something, worst first. */
|
|
19
21
|
checks(run: number, query?: AuditIssueQuery): Promise<AuditCheckRow[]>;
|
|
20
22
|
/** The findings of a run — of one check when `check` is given. */
|