proto.io 0.0.135 → 0.0.136

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/client.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { P as ProtoClient } from './internals/index-DhXSRjwQ.js';
2
- export { c as classExtends, e as isFile, a as isObject, i as isQuery, d as isRole, b as isUser } from './internals/index-DhXSRjwQ.js';
1
+ import { P as ProtoClient } from './internals/index-DRgmWum4.js';
2
+ export { c as classExtends, e as isFile, a as isObject, i as isQuery, d as isRole, b as isUser } from './internals/index-DRgmWum4.js';
3
3
  export { Decimal } from 'decimal.js';
4
- export { D as DeserializeOptions, S as SerializeOptions, d as TSerializable, e as deserialize, s as serialize } from './internals/index-yj-39Vm0.js';
4
+ export { D as DeserializeOptions, S as SerializeOptions, d as TSerializable, e as deserialize, s as serialize } from './internals/index-rcLPSrw6.js';
5
5
  import '@o2ter/utils-js';
6
6
  import 'socket.io-client';
7
7
  import '@socket.io/component-emitter';
package/dist/index.d.ts CHANGED
@@ -2,11 +2,11 @@ import * as socket_io from 'socket.io';
2
2
  import * as socket_io_dist_typed_events from 'socket.io/dist/typed-events';
3
3
  import * as express_serve_static_core from 'express-serve-static-core';
4
4
  import { Server, RequestHandler } from '@o2ter/server-js';
5
- import { T as TSchema, _ as _TValue, P as ProtoService, a as ProtoServiceOptions, b as ProtoServiceKeyOptions } from './internals/index-yj-39Vm0.js';
6
- export { D as DeserializeOptions, S as SerializeOptions, c as TFileStorage, d as TSerializable, e as deserialize, s as serialize } from './internals/index-yj-39Vm0.js';
5
+ import { T as TSchema, _ as _TValue, P as ProtoService, a as ProtoServiceOptions, b as ProtoServiceKeyOptions } from './internals/index-rcLPSrw6.js';
6
+ export { D as DeserializeOptions, S as SerializeOptions, c as TFileStorage, d as TSerializable, e as deserialize, s as serialize } from './internals/index-rcLPSrw6.js';
7
7
  import Decimal from 'decimal.js';
8
8
  export { Decimal } from 'decimal.js';
9
- export { P as ProtoClient, c as classExtends, e as isFile, a as isObject, i as isQuery, d as isRole, b as isUser } from './internals/index-DhXSRjwQ.js';
9
+ export { P as ProtoClient, c as classExtends, e as isFile, a as isObject, i as isQuery, d as isRole, b as isUser } from './internals/index-DRgmWum4.js';
10
10
  import '@o2ter/utils-js';
11
11
  import 'jsonwebtoken';
12
12
  import 'lodash';
@@ -1,4 +1,4 @@
1
- import { c as TFileStorage, T as TSchema, P as ProtoService, C as TFileInfo } from './index-yj-39Vm0.js';
1
+ import { c as TFileStorage, T as TSchema, P as ProtoService, C as TFileInfo } from './index-rcLPSrw6.js';
2
2
 
3
3
  type FileStorageOptions = {
4
4
  chunkSize?: number;
@@ -22,4 +22,4 @@ declare abstract class FileStorageBase implements TFileStorage {
22
22
  }
23
23
 
24
24
  export { FileStorageBase as F, type FileStorageOptions as a };
25
- //# sourceMappingURL=index-DswDPVLd.d.ts.map
25
+ //# sourceMappingURL=index-D1h-5NmA.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-D1h-5NmA.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { f as TExtensions, g as TQuery, h as TObject, i as TUser, j as TRole, k as TFile, l as ProtoType, E as ExtraOptions, S as SerializeOptions, m as ProtoInternalType, d as TSerializable, n as TObjectType, _ as _TValue, T as TSchema, o as EventData, p as PVK } from './index-yj-39Vm0.js';
1
+ import { f as TExtensions, g as TQuery, h as TObject, i as TUser, j as TRole, k as TFile, l as ProtoType, E as ExtraOptions, S as SerializeOptions, m as ProtoInternalType, d as TSerializable, n as TObjectType, _ as _TValue, T as TSchema, o as EventData, p as PVK } from './index-rcLPSrw6.js';
2
2
  import * as _o2ter_utils_js from '@o2ter/utils-js';
3
3
  import * as socket_io_client from 'socket.io-client';
4
4
  import { Socket } from 'socket.io-client';
@@ -14,7 +14,6 @@ declare const isRole: (x: any) => x is TRole;
14
14
  declare const isFile: (x: any) => x is TFile;
15
15
 
16
16
  type RequestOptions<M extends boolean, P extends ProtoType<any>> = ExtraOptions<M, P> & {
17
- abortSignal?: AbortSignal;
18
17
  serializeOpts?: SerializeOptions;
19
18
  };
20
19
 
@@ -112,4 +111,4 @@ declare class ProtoClient<Ext> extends ProtoType<Ext> {
112
111
  }
113
112
 
114
113
  export { ProtoClient as P, isObject as a, isUser as b, classExtends as c, isRole as d, isFile as e, isQuery as i };
115
- //# sourceMappingURL=index-DhXSRjwQ.d.ts.map
114
+ //# sourceMappingURL=index-DRgmWum4.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-DRgmWum4.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -375,6 +375,7 @@ type ExtraOptions<M extends boolean, P extends ProtoType<any>> = {
375
375
  master?: M;
376
376
  context?: TSerializable;
377
377
  session?: P;
378
+ abortSignal?: AbortSignal;
378
379
  };
379
380
 
380
381
  interface TObject {
@@ -770,4 +771,4 @@ declare class ProtoService<Ext> extends ProtoType<Ext> {
770
771
  }
771
772
 
772
773
  export { type TQueryRandomOptions as A, type TPubSub as B, type TFileInfo as C, type DeserializeOptions as D, type ExtraOptions as E, type FindOptions as F, type InsertOptions as I, ProtoService as P, QuerySelector as Q, type SerializeOptions as S, TSchema as T, type _TValue as _, type ProtoServiceOptions as a, type ProtoServiceKeyOptions as b, type TFileStorage as c, type TSerializable as d, deserialize as e, type TExtensions as f, TQuery as g, TObject as h, TUser as i, TRole as j, TFile as k, ProtoType as l, type ProtoInternalType as m, type TObjectType as n, type EventData as o, PVK as p, type DecodedQuery as q, type DecodedSortOption as r, serialize as s, type TValue as t, type FindOneOptions as u, type TUpdateOp as v, FieldSelectorExpression as w, QueryExpression as x, type TStorage as y, type TransactionOptions as z };
773
- //# sourceMappingURL=index-yj-39Vm0.d.ts.map
774
+ //# sourceMappingURL=index-rcLPSrw6.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-rcLPSrw6.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto.io",
3
- "version": "0.0.135",
3
+ "version": "0.0.136",
4
4
  "main": "dist/index",
5
5
  "module": "dist/index",
6
6
  "types": "dist/index",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DhXSRjwQ.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DswDPVLd.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-yj-39Vm0.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}