@m1cro/server-sdk 1.0.0-beta.14 → 1.0.0-beta.15
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/globals.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { d as EntitySchema, G as GeneratedFields, C as CompiledSchema, F as Filter, g as FindQuery, h as HydratedDocument, f as FindOneQuery, j as InsertDocument, l as InsertQuery, k as InsertOneQuery, z as UpdateQuery, I as InferInterface, U as UpdateOneQuery, p as RemoveQuery, R as RemoveOneQuery, w as Router, H as HookEventMap, a as AppRole, e as EventHandler, J as JobHandler, m as JobOptions } from './log-CNbtHE7A.js';
|
|
2
|
+
export { A as AppId, b as Artifacts, c as Auth, B as Bridge, E as Entity, i as InferSchema, L as LogLevel, M as Method, n as Middleware, N as Namespace, P as Provider, o as Providers, q as Request, r as RequestBuilder, s as RequestHandler, t as Response, u as ResponseBuilder, v as RouteOptions, S as Sorting, x as StatusCode, y as Subject, T as Tenant, V as Visibility, D as entitySchema } from './log-CNbtHE7A.js';
|
|
3
3
|
import util from 'node:util';
|
|
4
4
|
import 'node:stream';
|
|
5
5
|
|
|
@@ -341,7 +341,7 @@ interface SetCookie {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
interface Jobs {
|
|
344
|
-
schedule(name: string, when?: Date): void;
|
|
344
|
+
schedule(name: string, data?: unknown, when?: Date | number): void;
|
|
345
345
|
}
|
|
346
346
|
type JobHandler = (data?: unknown) => void | Promise<void>;
|
|
347
347
|
interface JobOptions {
|
|
@@ -427,4 +427,4 @@ interface Utils {
|
|
|
427
427
|
declare const logLevels: readonly ["trace", "debug", "info", "warn", "error", "none"];
|
|
428
428
|
type LogLevel = (typeof logLevels)[number];
|
|
429
429
|
|
|
430
|
-
export {
|
|
430
|
+
export { AppId as A, type Bridge as B, CompiledSchema as C, entitySchema as D, type Entity as E, type Filter as F, type GeneratedFields as G, type HookEventMap as H, type InferInterface as I, type JobHandler as J, type LogLevel as L, type Method as M, type Namespace as N, type Provider as P, type RemoveOneQuery as R, type Sorting$1 as S, type Tenant as T, type UpdateOneQuery as U, type Visibility as V, type AppRole as a, type Artifacts as b, type Auth as c, EntitySchema as d, type EventHandler as e, type FindOneQuery as f, type FindQuery as g, type HydratedDocument as h, type InferSchema as i, type InsertDocument as j, type InsertOneQuery as k, type InsertQuery as l, type JobOptions as m, type Middleware as n, type Providers as o, type RemoveQuery as p, type Request as q, type RequestBuilder as r, type RequestHandler as s, type Response as t, type ResponseBuilder as u, type RouteOptions as v, type Router as w, StatusCode as x, type Subject as y, type UpdateQuery as z };
|