proto.io 0.0.160 → 0.0.161

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.
@@ -1,4 +1,4 @@
1
- import { c as TFileStorage, T as TSchema, P as ProtoService, A as TFileInfo } from './index-CXPH5Pup.js';
1
+ import { c as TFileStorage, T as TSchema, P as ProtoService, A as TFileInfo } from './index-CXLttbg-.js';
2
2
  import { BinaryData } from '@o2ter/utils-js';
3
3
 
4
4
  type FileStorageOptions = {
@@ -23,4 +23,4 @@ declare abstract class FileStorageBase implements TFileStorage {
23
23
  }
24
24
 
25
25
  export { FileStorageBase as F, type FileStorageOptions as a };
26
- //# sourceMappingURL=index-BraAbRER.d.ts.map
26
+ //# sourceMappingURL=index-2EQQyKaU.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-2EQQyKaU.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, E as ExtraOptions, S as SerializeOptions, l as ProtoType, _ as _TValue, d as TSerializable, m as TObjectType, T as TSchema, n as EventData } from './index-CXPH5Pup.js';
1
+ import { f as TExtensions, g as TQuery, h as TObject, i as TUser, j as TRole, k as TFile, E as ExtraOptions, S as SerializeOptions, l as ProtoType, _ as _TValue, d as TSerializable, m as TObjectType, T as TSchema, n as EventData } from './index-CXLttbg-.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 * as _socket_io_component_emitter from '@socket.io/component-emitter';
@@ -58,4 +58,4 @@ declare class ProtoClient<Ext = any> extends ProtoType<Ext> {
58
58
  }
59
59
 
60
60
  export { ProtoClient as P, isObject as a, isUser as b, classExtends as c, isRole as d, isFile as e, isQuery as i };
61
- //# sourceMappingURL=index-sFLwlp-C.d.ts.map
61
+ //# sourceMappingURL=index-CHKUNXoz.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CHKUNXoz.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -642,8 +642,8 @@ declare class ProtoService<Ext = any> extends ProtoType<Ext> {
642
642
  get sessionId(): string | undefined;
643
643
  sessionInfo(): Promise<Session | {
644
644
  loginedAt: Date | undefined;
645
- _roles?: TRole[] | undefined;
646
- user?: TObjectType<"User", Ext> | undefined;
645
+ user?: TObject | undefined;
646
+ _roles?: TObject[] | undefined;
647
647
  iss?: string | undefined;
648
648
  sub?: string | undefined;
649
649
  aud?: string | string[] | undefined;
@@ -717,4 +717,4 @@ declare class ProtoService<Ext = any> extends ProtoType<Ext> {
717
717
  }
718
718
 
719
719
  export { type TFileInfo as A, type DeserializeOptions as D, type ExtraOptions as E, type FindOptions as F, type InsertOptions as I, ProtoService as P, QuerySelector as Q, type RelationOptions as R, 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 TObjectType as m, type EventData as n, type DecodedQuery as o, type DecodedSortOption as p, type TValue as q, type FindOneOptions as r, serialize as s, type TUpdateOp as t, FieldSelectorExpression as u, QueryExpression as v, type TStorage as w, type TransactionOptions as x, type TQueryRandomOptions as y, type TPubSub as z };
720
- //# sourceMappingURL=index-CXPH5Pup.d.ts.map
720
+ //# sourceMappingURL=index-CXLttbg-.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CXLttbg-.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.160",
3
+ "version": "0.0.161",
4
4
  "main": "dist/index",
5
5
  "module": "dist/index",
6
6
  "types": "dist/index",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-BraAbRER.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CXPH5Pup.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-sFLwlp-C.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}