@vobase/core 0.6.2 → 0.8.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/app.d.ts +11 -93
- package/dist/app.d.ts.map +1 -1
- package/dist/contracts/auth.d.ts +33 -0
- package/dist/contracts/auth.d.ts.map +1 -0
- package/dist/contracts/module.d.ts +17 -0
- package/dist/contracts/module.d.ts.map +1 -0
- package/dist/contracts/notify.d.ts +46 -0
- package/dist/contracts/notify.d.ts.map +1 -0
- package/dist/contracts/storage.d.ts +54 -0
- package/dist/contracts/storage.d.ts.map +1 -0
- package/dist/ctx.d.ts +8 -4
- package/dist/ctx.d.ts.map +1 -1
- package/dist/db/index.d.ts +0 -3
- package/dist/db/index.d.ts.map +1 -1
- package/dist/index.d.ts +31 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +83798 -83170
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/module.d.ts +9 -0
- package/dist/module.d.ts.map +1 -1
- package/dist/modules/audit/index.d.ts +5 -0
- package/dist/modules/audit/index.d.ts.map +1 -0
- package/dist/modules/audit/middleware.d.ts +3 -0
- package/dist/modules/audit/middleware.d.ts.map +1 -0
- package/dist/{db/system-schema.d.ts → modules/audit/schema.d.ts} +1 -76
- package/dist/modules/audit/schema.d.ts.map +1 -0
- package/dist/{audit.d.ts → modules/audit/track-changes.d.ts} +2 -2
- package/dist/modules/audit/track-changes.d.ts.map +1 -0
- package/dist/modules/auth/audit-hooks.d.ts +6 -0
- package/dist/modules/auth/audit-hooks.d.ts.map +1 -0
- package/dist/modules/auth/index.d.ts +17 -0
- package/dist/modules/auth/index.d.ts.map +1 -0
- package/dist/modules/auth/middleware.d.ts +14 -0
- package/dist/modules/auth/middleware.d.ts.map +1 -0
- package/dist/{db/auth-schema.d.ts → modules/auth/schema.d.ts} +1 -1
- package/dist/{db/auth-schema.d.ts.map → modules/auth/schema.d.ts.map} +1 -1
- package/dist/{credentials.d.ts → modules/credentials/encrypt.d.ts} +2 -8
- package/dist/modules/credentials/encrypt.d.ts.map +1 -0
- package/dist/modules/credentials/index.d.ts +4 -0
- package/dist/modules/credentials/index.d.ts.map +1 -0
- package/dist/{db/credentials-schema.d.ts → modules/credentials/schema.d.ts} +1 -5
- package/dist/modules/credentials/schema.d.ts.map +1 -0
- package/dist/modules/notify/index.d.ts +36 -0
- package/dist/modules/notify/index.d.ts.map +1 -0
- package/dist/modules/notify/providers/resend.d.ts +7 -0
- package/dist/modules/notify/providers/resend.d.ts.map +1 -0
- package/dist/modules/notify/providers/smtp.d.ts +18 -0
- package/dist/modules/notify/providers/smtp.d.ts.map +1 -0
- package/dist/modules/notify/providers/waba.d.ts +12 -0
- package/dist/modules/notify/providers/waba.d.ts.map +1 -0
- package/dist/modules/notify/schema.d.ts +337 -0
- package/dist/modules/notify/schema.d.ts.map +1 -0
- package/dist/modules/notify/service.d.ts +22 -0
- package/dist/modules/notify/service.d.ts.map +1 -0
- package/dist/modules/sequences/index.d.ts +4 -0
- package/dist/modules/sequences/index.d.ts.map +1 -0
- package/dist/{sequence.d.ts → modules/sequences/next-sequence.d.ts} +2 -2
- package/dist/modules/sequences/next-sequence.d.ts.map +1 -0
- package/dist/modules/sequences/schema.d.ts +72 -0
- package/dist/modules/sequences/schema.d.ts.map +1 -0
- package/dist/modules/storage/index.d.ts +24 -0
- package/dist/modules/storage/index.d.ts.map +1 -0
- package/dist/modules/storage/providers/local.d.ts +3 -0
- package/dist/modules/storage/providers/local.d.ts.map +1 -0
- package/dist/modules/storage/providers/s3.d.ts +3 -0
- package/dist/modules/storage/providers/s3.d.ts.map +1 -0
- package/dist/modules/storage/routes.d.ts +4 -0
- package/dist/modules/storage/routes.d.ts.map +1 -0
- package/dist/modules/storage/schema.d.ts +273 -0
- package/dist/modules/storage/schema.d.ts.map +1 -0
- package/dist/modules/storage/service.d.ts +35 -0
- package/dist/modules/storage/service.d.ts.map +1 -0
- package/dist/schemas.d.ts +17 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/throw-proxy.d.ts +7 -0
- package/dist/throw-proxy.d.ts.map +1 -0
- package/dist/webhooks-schema.d.ts +60 -0
- package/dist/webhooks-schema.d.ts.map +1 -0
- package/dist/webhooks.d.ts +5 -12
- package/dist/webhooks.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/audit.d.ts.map +0 -1
- package/dist/auth.d.ts +0 -30
- package/dist/auth.d.ts.map +0 -1
- package/dist/credentials.d.ts.map +0 -1
- package/dist/db/credentials-schema.d.ts.map +0 -1
- package/dist/db/ensure-core-tables.d.ts +0 -12
- package/dist/db/ensure-core-tables.d.ts.map +0 -1
- package/dist/db/migrator.d.ts +0 -3
- package/dist/db/migrator.d.ts.map +0 -1
- package/dist/db/system-schema.d.ts.map +0 -1
- package/dist/middleware/audit.d.ts +0 -6
- package/dist/middleware/audit.d.ts.map +0 -1
- package/dist/middleware/session.d.ts +0 -14
- package/dist/middleware/session.d.ts.map +0 -1
- package/dist/sequence.d.ts.map +0 -1
- package/dist/storage.d.ts +0 -8
- package/dist/storage.d.ts.map +0 -1
- package/dist/system/handlers.d.ts +0 -90
- package/dist/system/handlers.d.ts.map +0 -1
- package/dist/system/index.d.ts +0 -8
- package/dist/system/index.d.ts.map +0 -1
- package/dist/system/schema.d.ts +0 -2
- package/dist/system/schema.d.ts.map +0 -1
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import type { Auth } from '../auth';
|
|
2
|
-
export declare function createSystemRoutes(auth: Auth): import("hono/hono-base").HonoBase<{}, {
|
|
3
|
-
"/": {
|
|
4
|
-
$get: {
|
|
5
|
-
input: {};
|
|
6
|
-
output: {
|
|
7
|
-
version: string;
|
|
8
|
-
uptime: number;
|
|
9
|
-
modules: string[];
|
|
10
|
-
};
|
|
11
|
-
outputFormat: "json";
|
|
12
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
} & {
|
|
16
|
-
"/health": {
|
|
17
|
-
$get: {
|
|
18
|
-
input: {};
|
|
19
|
-
output: {
|
|
20
|
-
status: string;
|
|
21
|
-
db: string;
|
|
22
|
-
uptime: number;
|
|
23
|
-
};
|
|
24
|
-
outputFormat: "json";
|
|
25
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
} & {
|
|
29
|
-
"/audit-log": {
|
|
30
|
-
$get: {
|
|
31
|
-
input: {};
|
|
32
|
-
output: {
|
|
33
|
-
entries: {
|
|
34
|
-
id: string;
|
|
35
|
-
event: string;
|
|
36
|
-
actorId: string | null;
|
|
37
|
-
actorEmail: string | null;
|
|
38
|
-
ip: string | null;
|
|
39
|
-
details: string | null;
|
|
40
|
-
createdAt: string;
|
|
41
|
-
}[];
|
|
42
|
-
nextCursor: string | null;
|
|
43
|
-
};
|
|
44
|
-
outputFormat: "json";
|
|
45
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
} & {
|
|
49
|
-
"/sequences": {
|
|
50
|
-
$get: {
|
|
51
|
-
input: {};
|
|
52
|
-
output: {
|
|
53
|
-
sequences: {
|
|
54
|
-
id: string;
|
|
55
|
-
prefix: string;
|
|
56
|
-
currentValue: number;
|
|
57
|
-
updatedAt: string;
|
|
58
|
-
}[];
|
|
59
|
-
};
|
|
60
|
-
outputFormat: "json";
|
|
61
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
} & {
|
|
65
|
-
"/record-audits/:table/:id": {
|
|
66
|
-
$get: {
|
|
67
|
-
input: {
|
|
68
|
-
param: {
|
|
69
|
-
table: string;
|
|
70
|
-
} & {
|
|
71
|
-
id: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
output: {
|
|
75
|
-
entries: {
|
|
76
|
-
id: string;
|
|
77
|
-
tableName: string;
|
|
78
|
-
recordId: string;
|
|
79
|
-
oldData: string | null;
|
|
80
|
-
newData: string | null;
|
|
81
|
-
changedBy: string | null;
|
|
82
|
-
createdAt: string;
|
|
83
|
-
}[];
|
|
84
|
-
};
|
|
85
|
-
outputFormat: "json";
|
|
86
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
}, "/", "/record-audits/:table/:id">;
|
|
90
|
-
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../src/system/handlers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAgCpC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAuE5C"}
|
package/dist/system/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Auth } from '../auth';
|
|
2
|
-
import { type VobaseModule } from '../module';
|
|
3
|
-
import { createSystemRoutes } from './handlers';
|
|
4
|
-
export * from './schema';
|
|
5
|
-
export { createSystemRoutes } from './handlers';
|
|
6
|
-
export type SystemRoutes = ReturnType<typeof createSystemRoutes>;
|
|
7
|
-
export declare function createSystemModule(auth: Auth): VobaseModule;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAGhD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjE,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,CAM3D"}
|
package/dist/system/schema.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/system/schema.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|