cheshirecat-typescript-client 1.3.25 → 1.3.26
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.
|
@@ -3,24 +3,6 @@ export declare class FilterOutput {
|
|
|
3
3
|
query?: string | null;
|
|
4
4
|
toArray(): object;
|
|
5
5
|
}
|
|
6
|
-
export declare class HookOutput {
|
|
7
|
-
name: string;
|
|
8
|
-
priority: number;
|
|
9
|
-
toArray(): object;
|
|
10
|
-
}
|
|
11
|
-
export declare class ToolOutput {
|
|
12
|
-
name: string;
|
|
13
|
-
toArray(): object;
|
|
14
|
-
}
|
|
15
|
-
export declare class FormOutput {
|
|
16
|
-
name: string;
|
|
17
|
-
toArray(): object;
|
|
18
|
-
}
|
|
19
|
-
export declare class EndpointOutput {
|
|
20
|
-
name: string;
|
|
21
|
-
tags: string[];
|
|
22
|
-
toArray(): object;
|
|
23
|
-
}
|
|
24
6
|
export declare class PluginCollectionOutput {
|
|
25
7
|
filters: FilterOutput;
|
|
26
8
|
installed: PluginItemOutput[];
|
|
@@ -38,11 +20,7 @@ export declare class PluginItemOutput {
|
|
|
38
20
|
tags?: string | null;
|
|
39
21
|
thumb?: string | null;
|
|
40
22
|
version?: string | null;
|
|
41
|
-
|
|
42
|
-
hooks: HookOutput[];
|
|
43
|
-
tools: ToolOutput[];
|
|
44
|
-
forms: FormOutput[];
|
|
45
|
-
endpoints: EndpointOutput[];
|
|
23
|
+
localInfo: object | null;
|
|
46
24
|
toArray(): object;
|
|
47
25
|
}
|
|
48
26
|
export declare class PluginItemRegistryOutput {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PluginItemRegistryOutput = exports.PluginItemOutput = exports.PluginCollectionOutput = exports.
|
|
3
|
+
exports.PluginItemRegistryOutput = exports.PluginItemOutput = exports.PluginCollectionOutput = exports.FilterOutput = void 0;
|
|
4
4
|
const helpers_1 = require("../../helpers");
|
|
5
5
|
class FilterOutput {
|
|
6
6
|
query = null;
|
|
@@ -11,46 +11,6 @@ class FilterOutput {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
exports.FilterOutput = FilterOutput;
|
|
14
|
-
class HookOutput {
|
|
15
|
-
name;
|
|
16
|
-
priority;
|
|
17
|
-
toArray() {
|
|
18
|
-
return {
|
|
19
|
-
name: this.name,
|
|
20
|
-
priority: this.priority,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.HookOutput = HookOutput;
|
|
25
|
-
class ToolOutput {
|
|
26
|
-
name;
|
|
27
|
-
toArray() {
|
|
28
|
-
return {
|
|
29
|
-
name: this.name,
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.ToolOutput = ToolOutput;
|
|
34
|
-
class FormOutput {
|
|
35
|
-
name;
|
|
36
|
-
toArray() {
|
|
37
|
-
return {
|
|
38
|
-
name: this.name,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.FormOutput = FormOutput;
|
|
43
|
-
class EndpointOutput {
|
|
44
|
-
name;
|
|
45
|
-
tags;
|
|
46
|
-
toArray() {
|
|
47
|
-
return {
|
|
48
|
-
name: this.name,
|
|
49
|
-
tags: this.tags,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exports.EndpointOutput = EndpointOutput;
|
|
54
14
|
class PluginCollectionOutput {
|
|
55
15
|
filters = new FilterOutput();
|
|
56
16
|
installed = [];
|
|
@@ -87,11 +47,7 @@ class PluginItemOutput {
|
|
|
87
47
|
tags = null;
|
|
88
48
|
thumb = null;
|
|
89
49
|
version = null;
|
|
90
|
-
|
|
91
|
-
hooks;
|
|
92
|
-
tools;
|
|
93
|
-
forms;
|
|
94
|
-
endpoints;
|
|
50
|
+
localInfo = null;
|
|
95
51
|
toArray() {
|
|
96
52
|
return {
|
|
97
53
|
id: this.id,
|
|
@@ -103,11 +59,7 @@ class PluginItemOutput {
|
|
|
103
59
|
tags: this.tags,
|
|
104
60
|
thumb: this.thumb,
|
|
105
61
|
version: this.version,
|
|
106
|
-
|
|
107
|
-
hooks: this.hooks.map(item => item.toArray()),
|
|
108
|
-
tools: this.tools.map(item => item.toArray()),
|
|
109
|
-
forms: this.forms.map(item => item.toArray()),
|
|
110
|
-
endpoints: this.endpoints.map(item => item.toArray()),
|
|
62
|
+
localInfo: this.localInfo,
|
|
111
63
|
};
|
|
112
64
|
}
|
|
113
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../src/models/api/plugins.ts"],"names":[],"mappings":";;;AACA,2CAA6D;AAE7D,MAAa,YAAY;IACrB,KAAK,GAAmB,IAAI,CAAC;IAEtB,OAAO;QACV,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,KAAK;SACpB,CAAC;IACN,CAAC;CACJ;AARD,oCAQC;AAED,MAAa,
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../src/models/api/plugins.ts"],"names":[],"mappings":";;;AACA,2CAA6D;AAE7D,MAAa,YAAY;IACrB,KAAK,GAAmB,IAAI,CAAC;IAEtB,OAAO;QACV,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,KAAK;SACpB,CAAC;IACN,CAAC;CACJ;AARD,oCAQC;AAED,MAAa,sBAAsB;IAC/B,OAAO,GAAiB,IAAI,YAAY,EAAE,CAAC;IAC3C,SAAS,GAAuB,EAAE,CAAC;IACnC,QAAQ,GAA+B,EAAE,CAAC;IAEnC,OAAO;QACV,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YACrD,QAAQ,EAAE,IAAI,CAA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