proto.io 0.0.151 → 0.0.153
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/adapters/file/database.d.ts +2 -2
- package/dist/adapters/file/filesystem.d.ts +2 -2
- package/dist/adapters/file/google-cloud-storage.d.ts +2 -2
- package/dist/adapters/storage/progres.d.ts +1 -1
- package/dist/client.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/dist/internals/{index-DoamtgZq.d.ts → index-DQm5Xz3Q.d.ts} +2 -2
- package/dist/internals/index-DQm5Xz3Q.d.ts.map +1 -0
- package/dist/internals/{index-Wck9rIH6.d.ts → index-DeD3CiUK.d.ts} +2 -2
- package/dist/internals/index-DeD3CiUK.d.ts.map +1 -0
- package/dist/internals/{index-DGI4rZSw.d.ts → index-m4WmZoWj.d.ts} +3 -1
- package/dist/internals/index-m4WmZoWj.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/internals/index-DGI4rZSw.d.ts.map +0 -1
- package/dist/internals/index-DoamtgZq.d.ts.map +0 -1
- package/dist/internals/index-Wck9rIH6.d.ts.map +0 -1
|
@@ -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, _ as _TValue, d as TSerializable, m as TObjectType, T as TSchema, n as EventData } from './index-
|
|
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, _ as _TValue, d as TSerializable, m as TObjectType, T as TSchema, n as EventData } from './index-m4WmZoWj.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';
|
|
@@ -57,4 +57,4 @@ declare class ProtoClient<Ext> extends ProtoType<Ext> {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export { ProtoClient as P, isObject as a, isUser as b, classExtends as c, isRole as d, isFile as e, isQuery as i };
|
|
60
|
-
//# sourceMappingURL=index-
|
|
60
|
+
//# sourceMappingURL=index-DQm5Xz3Q.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DQm5Xz3Q.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as TFileStorage, T as TSchema, P as ProtoService, A as TFileInfo } from './index-
|
|
1
|
+
import { c as TFileStorage, T as TSchema, P as ProtoService, A as TFileInfo } from './index-m4WmZoWj.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-
|
|
26
|
+
//# sourceMappingURL=index-DeD3CiUK.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DeD3CiUK.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -269,6 +269,7 @@ type ProtoFunctionOptions<E> = {
|
|
|
269
269
|
|
|
270
270
|
type Session = jwt.JwtPayload & {
|
|
271
271
|
sessionId: string;
|
|
272
|
+
createdAt: Date;
|
|
272
273
|
};
|
|
273
274
|
|
|
274
275
|
type TransactionMode = 'default' | 'committed' | 'repeatable' | 'serializable';
|
|
@@ -638,6 +639,7 @@ declare class ProtoService<Ext> extends ProtoType<Ext> {
|
|
|
638
639
|
iat?: number | undefined;
|
|
639
640
|
jti?: string | undefined;
|
|
640
641
|
sessionId?: string | undefined;
|
|
642
|
+
createdAt?: Date | undefined;
|
|
641
643
|
} | undefined>;
|
|
642
644
|
currentUser(): Promise<TUser | undefined>;
|
|
643
645
|
_currentRoles(): Promise<TRole[]>;
|
|
@@ -702,4 +704,4 @@ declare class ProtoService<Ext> extends ProtoType<Ext> {
|
|
|
702
704
|
}
|
|
703
705
|
|
|
704
706
|
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 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 };
|
|
705
|
-
//# sourceMappingURL=index-
|
|
707
|
+
//# sourceMappingURL=index-m4WmZoWj.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-m4WmZoWj.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DGI4rZSw.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DoamtgZq.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-Wck9rIH6.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|