@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
@@ -1,5 +1,5 @@
1
1
  import * as node_stream from 'node:stream';
2
- import { B as Bridge, L as LogLevel } from './log-BU4jwbWP.js';
2
+ import { B as Bridge, L as LogLevel } from './log-CNbtHE7A.js';
3
3
  import * as console from 'node:console';
4
4
 
5
5
  declare global {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { E as EntitySchema, G as GeneratedFields, C as CompiledSchema, F as Filter, a as FindQuery, H as HydratedDocument, b as FindOneQuery, I as InsertDocument, c as InsertQuery, d as InsertOneQuery, U as UpdateQuery, e as InferInterface, f as UpdateOneQuery, R as RemoveQuery, g as RemoveOneQuery, h as Router, i as HookEventMap, A as AppRole, j as EventHandler, J as JobHandler, k as JobOptions } from './log-BU4jwbWP.js';
2
- export { l as AppId, m as Artifacts, n as Auth, B as Bridge, o as Entity, p as InferSchema, L as LogLevel, M as Method, q as Middleware, N as Namespace, P as Provider, r as Providers, s as Request, t as RequestBuilder, u as RequestHandler, v as Response, w as ResponseBuilder, x as RouteOptions, S as Sorting, y as StatusCode, z as Subject, T as Tenant, V as Visibility, D as entitySchema } from './log-BU4jwbWP.js';
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 { type AppRole as A, type Bridge as B, CompiledSchema as C, entitySchema as D, EntitySchema as E, type Filter as F, type GeneratedFields as G, type HydratedDocument as H, type InsertDocument as I, type JobHandler as J, type LogLevel as L, type Method as M, type Namespace as N, type Provider as P, type RemoveQuery as R, type Sorting$1 as S, type Tenant as T, type UpdateQuery as U, type Visibility as V, type FindQuery as a, type FindOneQuery as b, type InsertQuery as c, type InsertOneQuery as d, type InferInterface as e, type UpdateOneQuery as f, type RemoveOneQuery as g, type Router as h, type HookEventMap as i, type EventHandler as j, type JobOptions as k, AppId as l, type Artifacts as m, type Auth as n, type Entity as o, type InferSchema as p, type Middleware as q, type Providers as r, type Request as s, type RequestBuilder as t, type RequestHandler as u, type Response as v, type ResponseBuilder as w, type RouteOptions as x, StatusCode as y, type Subject as z };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m1cro/server-sdk",
3
- "version": "1.0.0-beta.14",
3
+ "version": "1.0.0-beta.15",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"