@srating-io/types 2.2.1 → 2.3.0
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/api/dashboard.d.ts +1 -2
- package/dist/audit.d.ts +4 -11
- package/dist/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/api/shisha_log.d.ts +0 -9
package/dist/api/dashboard.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { AuditApi, AuditError } from '../audit.ts';
|
|
1
|
+
import { AuditApi, AuditError, ShishaLog } from '../audit.ts';
|
|
2
2
|
import { Pricings } from '../payments.ts';
|
|
3
|
-
import { ShishaLog } from './shisha_log.ts';
|
|
4
3
|
/**
|
|
5
4
|
* Every endpoint on this class is admin only and answers `{ error }` to everyone else, so each
|
|
6
5
|
* result is a union with the refusal rather than an optional-everything object.
|
package/dist/audit.d.ts
CHANGED
|
@@ -86,15 +86,8 @@ export interface AuditUpdated {
|
|
|
86
86
|
export type AuditUpdateds = {
|
|
87
87
|
[audit_updated_id: number]: AuditUpdated;
|
|
88
88
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
* reached a discord webhook.
|
|
92
|
-
*
|
|
93
|
-
* `class` is what logged and `file` is the forked entry point it ran in -- the supervisor forks
|
|
94
|
-
* every handler by path, so the two differ when a processor logs from inside a handler's process.
|
|
95
|
-
*/
|
|
96
|
-
export interface ScraperLog {
|
|
97
|
-
scraper_log_id: number;
|
|
89
|
+
export interface ShishaLog {
|
|
90
|
+
shisha_log_id: number;
|
|
98
91
|
message: string | null;
|
|
99
92
|
class: string | null;
|
|
100
93
|
file: string | null;
|
|
@@ -102,6 +95,6 @@ export interface ScraperLog {
|
|
|
102
95
|
date_of_entry: string;
|
|
103
96
|
deleted: number;
|
|
104
97
|
}
|
|
105
|
-
export type
|
|
106
|
-
[
|
|
98
|
+
export type ShishaLogs = {
|
|
99
|
+
[shisha_log_id: number]: ShishaLog;
|
|
107
100
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ export * as Ranking from './api/ranking.ts';
|
|
|
29
29
|
export * as Search from './api/search.ts';
|
|
30
30
|
export * as Secret from './api/secret.ts';
|
|
31
31
|
export * as Session from './api/session.ts';
|
|
32
|
-
export * as ShishaLog from './api/shisha_log.ts';
|
|
33
32
|
export * as Sitemap from './api/sitemap.ts';
|
|
34
33
|
export * as StatisticRanking from './api/statistic_ranking.ts';
|
|
35
34
|
export * as Team from './api/team.ts';
|
package/package.json
CHANGED