@upsnap/strapi 1.0.0 → 1.0.2
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/README.md +64 -199
- package/dist/admin/App-CWtrva1J.js +10618 -0
- package/dist/admin/App-gQQDdsJk.mjs +10613 -0
- package/dist/admin/en-B4KWt_jN.js +4 -0
- package/dist/admin/en-Byx4XI2L.mjs +4 -0
- package/dist/admin/index.js +65 -0
- package/dist/admin/index.mjs +65 -0
- package/dist/admin/src/index.d.ts +10 -0
- package/dist/server/index.js +1090 -0
- package/dist/server/index.mjs +1090 -0
- package/dist/server/src/index.d.ts +133 -0
- package/package.json +12 -12
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
register: ({ strapi }: {
|
|
3
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
4
|
+
}) => void;
|
|
5
|
+
bootstrap: ({ strapi }: {
|
|
6
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
7
|
+
}) => void;
|
|
8
|
+
destroy: ({ strapi }: {
|
|
9
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
10
|
+
}) => void;
|
|
11
|
+
config: {
|
|
12
|
+
default: {};
|
|
13
|
+
validator(): void;
|
|
14
|
+
};
|
|
15
|
+
controllers: {
|
|
16
|
+
controller: ({ strapi }: {
|
|
17
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
18
|
+
}) => {
|
|
19
|
+
index(ctx: any): void;
|
|
20
|
+
};
|
|
21
|
+
settings: ({ strapi }: {
|
|
22
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
23
|
+
}) => {
|
|
24
|
+
get(ctx: any): Promise<void>;
|
|
25
|
+
set(ctx: any): Promise<void>;
|
|
26
|
+
setPrimaryMonitorId(ctx: any): Promise<void>;
|
|
27
|
+
getPrimaryMonitorId(ctx: any): Promise<void>;
|
|
28
|
+
};
|
|
29
|
+
monitor: ({ strapi }: {
|
|
30
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
31
|
+
}) => {
|
|
32
|
+
getById(ctx: any): Promise<void>;
|
|
33
|
+
get(ctx: any): Promise<void>;
|
|
34
|
+
getMonitorUptimeStats(ctx: any): Promise<void>;
|
|
35
|
+
getMonitorHistogram(ctx: any): Promise<void>;
|
|
36
|
+
getHealthChecks(ctx: any): Promise<void>;
|
|
37
|
+
getUptimeHealthCheck(ctx: any): Promise<void>;
|
|
38
|
+
getSslHealthCheck(ctx: any): Promise<void>;
|
|
39
|
+
getDomainHealthCheck(ctx: any): Promise<void>;
|
|
40
|
+
getLighthouseHealthCheck(ctx: any): Promise<void>;
|
|
41
|
+
getBrokenLinksHealthCheck(ctx: any): Promise<void>;
|
|
42
|
+
getMixedContentHealthCheck(ctx: any): Promise<void>;
|
|
43
|
+
getMonitorResponseTime(ctx: any): Promise<void>;
|
|
44
|
+
getMonitorIncidents(ctx: any): Promise<void>;
|
|
45
|
+
getMonitorSettings(ctx: any): Promise<void>;
|
|
46
|
+
createMonitor(ctx: any): Promise<void>;
|
|
47
|
+
updateMonitor(ctx: any): Promise<void>;
|
|
48
|
+
deleteMonitor(ctx: any): Promise<void>;
|
|
49
|
+
deleteMonitors(ctx: any): Promise<void>;
|
|
50
|
+
};
|
|
51
|
+
statusPage: ({ strapi }: {
|
|
52
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
53
|
+
}) => {
|
|
54
|
+
getStatusPages(ctx: any): Promise<void>;
|
|
55
|
+
getStatusPagesByID(ctx: any): Promise<void>;
|
|
56
|
+
saveStatusPages(ctx: any): Promise<void>;
|
|
57
|
+
updateStatusPages(ctx: any): Promise<void>;
|
|
58
|
+
resetLink(ctx: any): Promise<void>;
|
|
59
|
+
deleteStatusPages(ctx: any): Promise<void>;
|
|
60
|
+
};
|
|
61
|
+
regions: ({ strapi }: {
|
|
62
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
63
|
+
}) => {
|
|
64
|
+
getRegions(ctx: any): Promise<void>;
|
|
65
|
+
};
|
|
66
|
+
userDetails: ({ strapi }: {
|
|
67
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
68
|
+
}) => {
|
|
69
|
+
getUserDetails(ctx: any): Promise<void>;
|
|
70
|
+
};
|
|
71
|
+
notificationChannels: ({ strapi }: {
|
|
72
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
73
|
+
}) => {
|
|
74
|
+
getNotificationChannels(ctx: any): Promise<void>;
|
|
75
|
+
createNotificationChannel(ctx: any): Promise<void>;
|
|
76
|
+
getSupportedIntegrations(ctx: any): Promise<void>;
|
|
77
|
+
testNotificationChannel(ctx: any): Promise<void>;
|
|
78
|
+
updateNotificationChannel(ctx: any): Promise<void>;
|
|
79
|
+
deleteNotificationChannel(ctx: any): Promise<void>;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
routes: {
|
|
83
|
+
admin: {
|
|
84
|
+
type: string;
|
|
85
|
+
routes: {
|
|
86
|
+
method: string;
|
|
87
|
+
path: string;
|
|
88
|
+
handler: string;
|
|
89
|
+
config: {
|
|
90
|
+
policies: any[];
|
|
91
|
+
auth: boolean;
|
|
92
|
+
};
|
|
93
|
+
}[];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
services: {
|
|
97
|
+
service: ({ strapi }: {
|
|
98
|
+
strapi: import('@strapi/types/dist/core').Strapi;
|
|
99
|
+
}) => {
|
|
100
|
+
getWelcomeMessage(): string;
|
|
101
|
+
settingsStore: {
|
|
102
|
+
get(params?: Partial<{
|
|
103
|
+
key: string;
|
|
104
|
+
type?: string;
|
|
105
|
+
environment?: string;
|
|
106
|
+
name?: string;
|
|
107
|
+
tag?: string;
|
|
108
|
+
}>): Promise<unknown>;
|
|
109
|
+
set(params?: Partial<{
|
|
110
|
+
key: string;
|
|
111
|
+
value: unknown;
|
|
112
|
+
type?: string;
|
|
113
|
+
environment?: string;
|
|
114
|
+
name?: string;
|
|
115
|
+
tag?: string;
|
|
116
|
+
}>): Promise<void>;
|
|
117
|
+
delete(params?: Partial<{
|
|
118
|
+
key: string;
|
|
119
|
+
type?: string;
|
|
120
|
+
environment?: string;
|
|
121
|
+
name?: string;
|
|
122
|
+
tag?: string;
|
|
123
|
+
}>): Promise<void>;
|
|
124
|
+
};
|
|
125
|
+
getToken(): Promise<string>;
|
|
126
|
+
makeBackendRequest(endpoint: string, options: RequestInit): Promise<unknown>;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
contentTypes: {};
|
|
130
|
+
policies: {};
|
|
131
|
+
middlewares: {};
|
|
132
|
+
};
|
|
133
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.2",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/Appfoster/upsnap-strapi"
|
|
@@ -37,37 +37,37 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@strapi/design-system": "^2.0.0-rc.30",
|
|
39
39
|
"@strapi/icons": "^2.0.0-rc.30",
|
|
40
|
-
"axios": "^1.13.
|
|
41
|
-
"react-apexcharts": "^
|
|
42
|
-
"react-intl": "^
|
|
40
|
+
"axios": "^1.13.5",
|
|
41
|
+
"react-apexcharts": "^2.0.1",
|
|
42
|
+
"react-intl": "^6.6.0",
|
|
43
43
|
"react-toastify": "^11.0.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@strapi/sdk-plugin": "^
|
|
47
|
-
"@strapi/strapi": "^5.
|
|
48
|
-
"@strapi/typescript-utils": "^5.
|
|
49
|
-
"@types/react": "^19.2.
|
|
46
|
+
"@strapi/sdk-plugin": "^6.0.1",
|
|
47
|
+
"@strapi/strapi": "^5.37.1",
|
|
48
|
+
"@strapi/typescript-utils": "^5.37.1",
|
|
49
|
+
"@types/react": "^19.2.14",
|
|
50
50
|
"@types/react-dom": "^19.2.3",
|
|
51
51
|
"prettier": "^3.8.1",
|
|
52
52
|
"react": "^18.3.1",
|
|
53
53
|
"react-dom": "^18.3.1",
|
|
54
54
|
"react-router-dom": "^6.30.3",
|
|
55
|
-
"styled-components": "^6.3.
|
|
55
|
+
"styled-components": "^6.3.11",
|
|
56
56
|
"typescript": "^5.9.3"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@strapi/sdk-plugin": "^5.4.0",
|
|
60
|
-
"@strapi/strapi": "^5.
|
|
60
|
+
"@strapi/strapi": "^5.0.0",
|
|
61
61
|
"react": "^18.3.1",
|
|
62
62
|
"react-dom": "^18.3.1",
|
|
63
63
|
"react-router-dom": "^6.30.3",
|
|
64
|
-
"styled-components": "^6.3.
|
|
64
|
+
"styled-components": "^6.3.11"
|
|
65
65
|
},
|
|
66
66
|
"strapi": {
|
|
67
67
|
"kind": "plugin",
|
|
68
68
|
"name": "upsnap",
|
|
69
69
|
"displayName": "Upsnap",
|
|
70
|
-
"description": "
|
|
70
|
+
"description": "Monitoring"
|
|
71
71
|
},
|
|
72
72
|
"name": "@upsnap/strapi",
|
|
73
73
|
"description": "Complete website health monitoring for Strapi, including uptime, SSL certificates, broken links, performance metrics, domain health, and mixed content issues.",
|