@akanjs/signal 0.0.40 → 0.0.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/signal",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -14,5 +14,13 @@
14
14
  "engines": {
15
15
  "node": ">=22"
16
16
  },
17
- "dependencies": {}
17
+ "dependencies": {
18
+ "@urql/core": "^5.1.0",
19
+ "dayjs": "^1.11.13",
20
+ "immer": "^10.1.1",
21
+ "next": "^15.3.2",
22
+ "pluralize": "^8.0.0",
23
+ "reflect-metadata": "^0.2.2",
24
+ "socket.io-client": "^4.8.1"
25
+ }
18
26
  }
@@ -1,13 +1,6 @@
1
- import { Client } from './client.js';
2
- import '@urql/core';
3
- import 'dgram';
4
- import 'socket.io-client';
5
-
6
- declare const baseFetch: typeof fetch & {
7
- client: Client;
1
+ export declare const baseFetch: typeof fetch & {
2
+ client: import("./client").Client;
8
3
  clone: (option?: {
9
4
  jwt?: string | null;
10
5
  }) => any;
11
6
  };
12
-
13
- export { baseFetch };
package/src/client.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { Client as Client$1 } from '@urql/core';
2
- import * as dgram from 'dgram';
3
- import { Socket } from 'socket.io-client';
4
-
1
+ import { type Client as GqlClient } from "@urql/core";
2
+ import type * as dgram from "dgram";
3
+ import { type Socket } from "socket.io-client";
5
4
  interface SubscribeOption {
6
5
  key: string;
7
6
  roomId: string;
@@ -37,7 +36,7 @@ declare class Client {
37
36
  uri: string;
38
37
  ws: string;
39
38
  udp: dgram.Socket | null;
40
- gql: Client$1;
39
+ gql: GqlClient;
41
40
  jwt: string | undefined | null;
42
41
  getJwt(): Promise<string | null>;
43
42
  io: SocketIo | null;
@@ -51,6 +50,5 @@ declare class Client {
51
50
  terminate(): void;
52
51
  setUdp(udp: dgram.Socket): void;
53
52
  }
54
- declare const client: Client;
55
-
56
- export { Client, SocketIo, client };
53
+ export declare const client: Client;
54
+ export type { Client, SocketIo };
package/src/doc.d.ts CHANGED
@@ -1,18 +1,9 @@
1
- import { T as Type } from '../types-b-U-yQib.js';
2
- import { u as ArgMeta, j as SignalType } from '../signalDecorators-DusQFdyt.js';
3
- import 'dayjs';
4
- import 'fs';
5
- import 'stream';
6
- import 'bull';
7
- import 'express';
8
- import 'socket.io';
9
-
10
- declare const makeRequestExample: (sigRef: Type, key: string) => {
1
+ import { type Type } from "@akanjs/base";
2
+ import { ArgMeta, SignalType } from "./signalDecorators";
3
+ export declare const makeRequestExample: (sigRef: Type, key: string) => {
11
4
  [key: string]: any;
12
5
  };
13
- declare const getExampleData: (argMetas: ArgMeta[], signalType?: SignalType) => {
6
+ export declare const getExampleData: (argMetas: ArgMeta[], signalType?: SignalType) => {
14
7
  [key: string]: any;
15
8
  };
16
- declare const makeResponseExample: (sigRef: Type, key: string) => string | number | boolean | object | null;
17
-
18
- export { getExampleData, makeRequestExample, makeResponseExample };
9
+ export declare const makeResponseExample: (sigRef: Type, key: string) => string | number | boolean | object | null;
package/src/gql.d.ts CHANGED
@@ -1,48 +1,29 @@
1
- import { aa as DocumentModel, ab as FilterType, ac as SortOf, w as SliceMeta, ad as Upload, ae as ProtoFile, af as DataList, ag as ConstantModel, Z as DefaultSignal, q as GqlMeta, u as ArgMeta } from '../signalDecorators-DusQFdyt.js';
2
- import { T as Type } from '../types-b-U-yQib.js';
3
- import { RequestPolicy } from '@urql/core';
4
- import { Dayjs } from 'dayjs';
5
- import { FilterQuery } from 'mongoose';
6
- import { Client } from './client.js';
7
- import 'fs';
8
- import 'stream';
9
- import 'bull';
10
- import 'express';
11
- import 'socket.io';
12
- import 'dgram';
13
- import 'socket.io-client';
14
-
15
- interface FetchPolicy<Returns = any> {
16
- cache?: boolean | number | RequestPolicy;
17
- crystalize?: boolean;
18
- url?: string;
19
- onError?: (error: string) => void;
20
- token?: string;
21
- partial?: string[];
22
- transport?: "udp" | "websocket" | "graphql" | "restapi";
23
- }
24
-
25
- declare class GqlStorage {
1
+ import { DataList, Dayjs, Type, Upload } from "@akanjs/base";
2
+ import { FetchPolicy } from "@akanjs/common";
3
+ import { ConstantModel, DocumentModel, FilterType, ProtoFile, QueryOf, SortOf } from "@akanjs/constant";
4
+ import { type Client } from ".";
5
+ import { type ArgMeta, type DefaultSignal, type GqlMeta, type SliceMeta } from "./signalDecorators";
6
+ export declare class GqlStorage {
26
7
  }
27
- declare class FragmentStorage {
8
+ export declare class FragmentStorage {
28
9
  }
29
- declare class PurifyStorage {
10
+ export declare class PurifyStorage {
30
11
  }
31
- declare class DefaultStorage {
12
+ export declare class DefaultStorage {
32
13
  }
33
- declare class CrystalizeStorage {
14
+ export declare class CrystalizeStorage {
34
15
  }
35
- type PurifyFunc<I, M> = (self: DefaultOf<Pick<M, keyof I extends keyof M ? keyof I : never>>, isChild?: boolean) => DocumentModel<I> | null;
36
- type CrystalizeFunc<M> = (self: {
16
+ export type PurifyFunc<I, M> = (self: DefaultOf<Pick<M, keyof I extends keyof M ? keyof I : never>>, isChild?: boolean) => DocumentModel<I> | null;
17
+ export type CrystalizeFunc<M> = (self: {
37
18
  [K in keyof M as M[K] extends (...args: any) => any ? never : K]: M[K];
38
19
  }, isChild?: boolean) => M;
39
- type FieldState<T> = T extends string ? T : T extends number ? T : T extends boolean ? T : T extends Dayjs ? T : T extends any[] ? T : T extends {
20
+ export type FieldState<T> = T extends string ? T : T extends number ? T : T extends boolean ? T : T extends Dayjs ? T : T extends any[] ? T : T extends {
40
21
  id: string;
41
22
  } ? T | null : T;
42
- type DefaultOf<S> = S extends infer T ? {
23
+ export type DefaultOf<S> = S extends infer T ? {
43
24
  [K in keyof T]: FieldState<T[K]>;
44
25
  } : never;
45
- interface FetchInitForm<Input, Full, Filter extends FilterType> {
26
+ export interface FetchInitForm<Input, Full, Filter extends FilterType> {
46
27
  page?: number;
47
28
  limit?: number;
48
29
  sort?: SortOf<Filter> | symbol;
@@ -50,7 +31,7 @@ interface FetchInitForm<Input, Full, Filter extends FilterType> {
50
31
  invalidate?: boolean;
51
32
  insight?: boolean;
52
33
  }
53
- type ServerInit<T extends string, Light, Insight = any, QueryArgs = any[], Filter extends FilterType = any> = SliceMeta & {
34
+ export type ServerInit<T extends string, Light, Insight = any, QueryArgs = any[], Filter extends FilterType = any> = SliceMeta & {
54
35
  [K in `${Uncapitalize<T>}ObjList`]: Light[];
55
36
  } & {
56
37
  [K in `${Uncapitalize<T>}ObjInsight`]: Insight;
@@ -67,24 +48,24 @@ type ServerInit<T extends string, Light, Insight = any, QueryArgs = any[], Filte
67
48
  } & {
68
49
  [K in `${Uncapitalize<T>}InitAt`]: Date;
69
50
  };
70
- type ClientInit<T extends string, Light, Insight = any, QueryArgs = any[], Filter extends FilterType = any> = Promise<ServerInit<T, Light, Insight, QueryArgs, Filter>> | ServerInit<T, Light, Insight, QueryArgs, Filter>;
71
- type ServerView<T extends string, M> = {
51
+ export type ClientInit<T extends string, Light, Insight = any, QueryArgs = any[], Filter extends FilterType = any> = Promise<ServerInit<T, Light, Insight, QueryArgs, Filter>> | ServerInit<T, Light, Insight, QueryArgs, Filter>;
52
+ export type ServerView<T extends string, M> = {
72
53
  refName: T;
73
54
  } & {
74
55
  [K in `${Uncapitalize<T>}Obj`]: M;
75
56
  } & {
76
57
  [K in `${Uncapitalize<T>}ViewAt`]: Date;
77
58
  };
78
- type ClientView<T extends string, M> = Promise<ServerView<T, M>> | ServerView<T, M>;
79
- type ServerEdit<T extends string, M> = {
59
+ export type ClientView<T extends string, M> = Promise<ServerView<T, M>> | ServerView<T, M>;
60
+ export type ServerEdit<T extends string, M> = {
80
61
  refName: T;
81
62
  } & {
82
63
  [K in `${Uncapitalize<T>}Obj`]: M;
83
64
  } & {
84
65
  [K in `${Uncapitalize<T>}ViewAt`]: Date;
85
66
  };
86
- type ClientEdit<T extends string, M> = Promise<ServerEdit<T, M>> | ServerEdit<T, M>;
87
- type GqlScalarUtil<T extends string, M, I = M> = {
67
+ export type ClientEdit<T extends string, M> = Promise<ServerEdit<T, M>> | ServerEdit<T, M>;
68
+ export type GqlScalarUtil<T extends string, M, I = M> = {
88
69
  [K in `default${Capitalize<T>}`]: DefaultOf<M>;
89
70
  } & {
90
71
  [K in `purify${Capitalize<T>}`]: PurifyFunc<DocumentModel<I>, M>;
@@ -97,9 +78,9 @@ type FilterSkipLimitSort<Args, Filter> = Args extends [
97
78
  limit: number | null,
98
79
  sort: string | null
99
80
  ] ? QueryArgs : never;
100
- type FilterListArgs<Args, Filter> = FilterOutInternalArgs<FilterSkipLimitSort<FilterOutInternalArgs<Args>, Filter>>;
101
- type FilterStateArgs<Args, Filter> = FilterSkipLimitSort<FilterOutInternalArgs<Args>, Filter>;
102
- type DbGraphQL<T extends string, Input, Full, Light extends {
81
+ export type FilterListArgs<Args, Filter> = FilterOutInternalArgs<FilterSkipLimitSort<FilterOutInternalArgs<Args>, Filter>>;
82
+ export type FilterStateArgs<Args, Filter> = FilterSkipLimitSort<FilterOutInternalArgs<Args>, Filter>;
83
+ export type DbGraphQL<T extends string, Input, Full, Light extends {
103
84
  id: string;
104
85
  }, Insight, Filter extends FilterType, Fetch, Signal> = {
105
86
  refName: string;
@@ -129,15 +110,15 @@ type DbGraphQL<T extends string, Input, Full, Light extends {
129
110
  } & {
130
111
  [K in `get${Capitalize<T>}Edit`]: (id: string, option?: FetchPolicy) => ClientEdit<T, Full>;
131
112
  } & Fetch & {
132
- [K in `init${Capitalize<T>}`]: (query?: FilterQuery<DocumentModel<Full>>, option?: FetchPolicy & FetchInitForm<Input, Full, Filter>) => Promise<{
133
- [K in `${Uncapitalize<T>}Init`]: ServerInit<T, Light, Insight, [query?: FilterQuery<DocumentModel<Full>>], Filter>;
113
+ [K in `init${Capitalize<T>}`]: (query?: QueryOf<DocumentModel<Full>>, option?: FetchPolicy & FetchInitForm<Input, Full, Filter>) => Promise<{
114
+ [K in `${Uncapitalize<T>}Init`]: ServerInit<T, Light, Insight, [query?: QueryOf<DocumentModel<Full>>], Filter>;
134
115
  } & {
135
116
  [K in `${Uncapitalize<T>}List`]: DataList<Light>;
136
117
  } & {
137
118
  [K in `${Uncapitalize<T>}Insight`]: Insight;
138
119
  }>;
139
120
  } & {
140
- [K in `get${Capitalize<T>}Init`]: (query?: FilterQuery<DocumentModel<Full>>, option?: FetchPolicy & FetchInitForm<Input, Full, Filter>) => ClientInit<T, Light, Insight, [query?: FilterQuery<DocumentModel<Full>>], Filter>;
121
+ [K in `get${Capitalize<T>}Init`]: (query?: QueryOf<DocumentModel<Full>>, option?: FetchPolicy & FetchInitForm<Input, Full, Filter>) => ClientInit<T, Light, Insight, [query?: QueryOf<DocumentModel<Full>>], Filter>;
141
122
  } & {
142
123
  [K in keyof Signal as K extends `${T}List${infer Suffix}` ? `init${Capitalize<T>}${Suffix}` : never]: K extends `${T}List${infer Suffix}` ? Signal[K] extends (...args: infer Args) => Promise<Full[]> ? (...args: [
143
124
  ...queryArgs: FilterListArgs<Args, Filter>,
@@ -161,21 +142,21 @@ type IsInternalArgs<T> = T extends {
161
142
  } ? true : T extends {
162
143
  __InternalArg__: any;
163
144
  } | null ? true : false;
164
- type FilterOutInternalArgs<T> = T extends [arg: infer Head, ...args: infer Rest] ? IsInternalArgs<Head> extends true ? FilterOutInternalArgs<Rest> : Head extends undefined ? [arg?: ConvertArg<Head> | undefined, ...args: FilterOutInternalArgs<Rest>] : Head extends null ? [arg?: ConvertArg<Head> | undefined, ...args: FilterOutInternalArgs<Rest>] : [
145
+ export type FilterOutInternalArgs<T> = T extends [arg: infer Head, ...args: infer Rest] ? IsInternalArgs<Head> extends true ? FilterOutInternalArgs<Rest> : Head extends undefined ? [arg?: ConvertArg<Head> | undefined, ...args: FilterOutInternalArgs<Rest>] : Head extends null ? [arg?: ConvertArg<Head> | undefined, ...args: FilterOutInternalArgs<Rest>] : [
165
146
  arg: ConvertArg<Head>,
166
147
  ...args: FilterOutInternalArgs<Rest>
167
148
  ] : [];
168
149
  type FunctionToTuple<F extends (...args: any) => any> = F extends (...args: infer A) => any ? A : never;
169
150
  type TupleToFunction<T extends any[], R> = (...args: [...args: T, option?: FetchPolicy]) => R;
170
- type RemoveInternalArgs<F extends (...args: any) => any, Returns = ReturnType<F>> = TupleToFunction<FilterOutInternalArgs<FunctionToTuple<F>>, Returns>;
151
+ export type RemoveInternalArgs<F extends (...args: any) => any, Returns = ReturnType<F>> = TupleToFunction<FilterOutInternalArgs<FunctionToTuple<F>>, Returns>;
171
152
  type ApplyPromise<T> = T extends (...args: infer Args) => infer Return ? Return extends Promise<any> ? T : (...args: Args) => Promise<Return> : never;
172
153
  type ApplyVoidReturn<T> = T extends (...args: infer Args) => any ? (...args: Args) => void : never;
173
- type GetQueryMutationOf<Sig, M = unknown> = {
154
+ export type GetQueryMutationOf<Sig, M = unknown> = {
174
155
  [K in keyof Sig as K extends keyof M ? never : Sig[K] extends (...args: any) => Promise<{
175
156
  __Returns__: string;
176
157
  }> ? never : K]: Sig[K] extends (...args: any) => any ? ApplyPromise<RemoveInternalArgs<Sig[K]>> : never;
177
158
  };
178
- type GetWsMessageOf<Sig> = {
159
+ export type GetWsMessageOf<Sig> = {
179
160
  [K in keyof Sig as Sig[K] extends (...args: any) => Promise<{
180
161
  __Returns__: "Emit";
181
162
  }> ? K : Sig[K] extends (...args: any) => {
@@ -188,7 +169,7 @@ type GetWsMessageOf<Sig> = {
188
169
  __Returns__: "Emit";
189
170
  } ? `listen${Capitalize<K>}` : never : never]: Sig[K] extends (...args: any) => any ? (handleEvent: (data: Awaited<ReturnType<Sig[K]>>) => any, options?: FetchPolicy) => () => void : never;
190
171
  };
191
- type GetWsPubsubOf<Sig> = {
172
+ export type GetWsPubsubOf<Sig> = {
192
173
  [K in keyof Sig as K extends string ? Sig[K] extends (...args: any) => Promise<{
193
174
  __Returns__: "Subscribe";
194
175
  }> ? `subscribe${Capitalize<K>}` : Sig[K] extends (...args: any) => {
@@ -199,14 +180,14 @@ type GetWsPubsubOf<Sig> = {
199
180
  __Returns__: "Subscribe";
200
181
  } & infer Return ? (...args: [...args: FilterOutInternalArgs<Args>, onData: (data: Return) => void, fetchPolicy?: FetchPolicy]) => () => void : never;
201
182
  };
202
- declare const scalarUtilOf: <T extends string, M>(name: T, target: Type<M>) => GqlScalarUtil<T, M>;
183
+ export declare const scalarUtilOf: <T extends string, M>(name: T, target: Type<M>) => GqlScalarUtil<T, M>;
203
184
  type LightWeightFetch<Fetch, Full, Light> = {
204
185
  [K in keyof Fetch]: Fetch[K] extends (...args: infer Args) => Promise<Full[]> ? (...args: Args) => Promise<Light[]> : Fetch[K];
205
186
  };
206
- declare const getGqlOnStorage: (refName: string) => {
187
+ export declare const getGqlOnStorage: (refName: string) => {
207
188
  [key: string]: any;
208
189
  };
209
- declare const gqlOf: <T extends string, Input, Full extends {
190
+ export declare const gqlOf: <T extends string, Input, Full extends {
210
191
  id: string;
211
192
  }, Light extends {
212
193
  id: string;
@@ -215,32 +196,31 @@ declare const gqlOf: <T extends string, Input, Full extends {
215
196
  [key: string]: any;
216
197
  };
217
198
  }) => DbGraphQL<T, Input, Full, Light, Insight, Filter, LightWeightFetch<GetQueryMutationOf<Signal & DefaultSignal<T, Input, Full, Light, Insight, Filter>, Full>, Full, Light>, Signal>;
218
- declare const makeDefault: <T>(target: Type<T>, option?: {
199
+ export declare const makeDefault: <T>(target: Type<T>, option?: {
219
200
  isChild?: boolean;
220
201
  overwrite?: any;
221
202
  }) => DefaultOf<T>;
222
- declare const makePurify: <I, M = I>(target: Type<I>, option?: {
203
+ export declare const makePurify: <I, M = I>(target: Type<I>, option?: {
223
204
  overwrite?: any;
224
205
  }) => PurifyFunc<I, M>;
225
- declare const makeCrystalize: <M>(target: Type<M>, option?: {
206
+ export declare const makeCrystalize: <M>(target: Type<M>, option?: {
226
207
  overwrite?: any;
227
208
  partial?: string[];
228
209
  }) => CrystalizeFunc<M>;
229
- declare const makeFragment: (target: Type, option?: {
210
+ export declare const makeFragment: (target: Type, option?: {
230
211
  overwrite?: any;
231
212
  excludeSelf?: boolean;
232
213
  partial?: string[];
233
214
  }) => string;
234
- declare const getGqlStr: (modelRef: Type, gqlMeta: GqlMeta, argMetas: ArgMeta[], returnRef: Type, partial?: string[]) => string;
235
- declare const serializeArg: (argMeta: ArgMeta, value: any) => object[] | null;
236
- declare const deserializeArg: (argMeta: ArgMeta, value: any) => object[] | null;
237
- declare const fetchOf: <Signal>(sigRef: Type<Signal>) => GetWsMessageOf<Signal> & GetWsPubsubOf<Signal> & GetQueryMutationOf<Signal>;
215
+ export declare const getGqlStr: (modelRef: Type, gqlMeta: GqlMeta, argMetas: ArgMeta[], returnRef: Type, partial?: string[]) => string;
216
+ export declare const serializeArg: (argMeta: ArgMeta, value: any) => object[] | null;
217
+ export declare const deserializeArg: (argMeta: ArgMeta, value: any) => object[] | null;
218
+ export declare const fetchOf: <Signal>(sigRef: Type<Signal>) => GetWsMessageOf<Signal> & GetWsPubsubOf<Signal> & GetQueryMutationOf<Signal>;
238
219
  type CustomFetch<T> = Omit<T, "client" | "clone"> & {
239
220
  client: Client;
240
221
  clone: (option?: {
241
222
  jwt: string | null;
242
223
  }) => CustomFetch<T>;
243
224
  };
244
- declare const makeFetch: <F1 extends object, F2 extends object, F3 extends object, F4 extends object, F5 extends object, F6 extends object, F7 extends object, F8 extends object, F9 extends object, F10 extends object>(fetch1: F1, fetch2?: Partial<F2>, fetch3?: Partial<F3>, fetch4?: Partial<F4>, fetch5?: Partial<F5>, fetch6?: Partial<F6>, fetch7?: Partial<F7>, fetch8?: Partial<F8>, fetch9?: Partial<F9>, fetch10?: Partial<F10>) => CustomFetch<F10 & F9 & F8 & F7 & F6 & F5 & F4 & F3 & F2 & F1>;
245
-
246
- export { type ClientEdit, type ClientInit, type ClientView, type CrystalizeFunc, CrystalizeStorage, type DbGraphQL, type DefaultOf, DefaultStorage, type FetchInitForm, type FieldState, type FilterListArgs, type FilterOutInternalArgs, type FilterStateArgs, FragmentStorage, type GetQueryMutationOf, type GetWsMessageOf, type GetWsPubsubOf, type GqlScalarUtil, GqlStorage, type PurifyFunc, PurifyStorage, type RemoveInternalArgs, type ServerEdit, type ServerInit, type ServerView, deserializeArg, fetchOf, getGqlOnStorage, getGqlStr, gqlOf, makeCrystalize, makeDefault, makeFetch, makeFragment, makePurify, scalarUtilOf, serializeArg };
225
+ export declare const makeFetch: <F1 extends object, F2 extends object, F3 extends object, F4 extends object, F5 extends object, F6 extends object, F7 extends object, F8 extends object, F9 extends object, F10 extends object>(fetch1: F1, fetch2?: Partial<F2>, fetch3?: Partial<F3>, fetch4?: Partial<F4>, fetch5?: Partial<F5>, fetch6?: Partial<F6>, fetch7?: Partial<F7>, fetch8?: Partial<F8>, fetch9?: Partial<F9>, fetch10?: Partial<F10>) => CustomFetch<F10 & F9 & F8 & F7 & F6 & F5 & F4 & F3 & F2 & F1>;
226
+ export {};
package/src/immerify.d.ts CHANGED
@@ -1,5 +1,2 @@
1
- import { T as Type } from '../types-b-U-yQib.js';
2
-
3
- declare const immerify: <T extends object | object[]>(modelRef: Type, objOrArr: T) => T;
4
-
5
- export { immerify };
1
+ import { type Type } from "@akanjs/base";
2
+ export declare const immerify: <T extends object | object[]>(modelRef: Type, objOrArr: T) => T;
package/src/index.d.ts CHANGED
@@ -1,17 +1,6 @@
1
- export { Client, client } from './client.js';
2
- export { immerify } from './immerify.js';
3
- export { ClientEdit, ClientInit, ClientView, CrystalizeFunc, CrystalizeStorage, DbGraphQL, DefaultOf, DefaultStorage, FetchInitForm, FieldState, FilterListArgs, FilterOutInternalArgs, FilterStateArgs, FragmentStorage, GetQueryMutationOf, GetWsMessageOf, GetWsPubsubOf, GqlScalarUtil, GqlStorage, PurifyFunc, PurifyStorage, RemoveInternalArgs, ServerEdit, ServerInit, ServerView, deserializeArg, fetchOf, getGqlOnStorage, getGqlStr, gqlOf, makeCrystalize, makeDefault, makeFetch, makeFragment, makePurify, scalarUtilOf, serializeArg } from './gql.js';
4
- export { F as Access, B as Account, V as Arg, u as ArgMeta, A as ArgType, t as ArgsOption, _ as DbSignal, Z as DefaultSignal, E as EndpointType, q as GqlMeta, G as GuardType, v as InternalArgMeta, I as InternalArgType, K as Job, Y as LogSignal, M as Me, N as Message, L as Mutation, X as Parent, O as Process, P as Pubsub, Q as Query, H as Req, J as Res, R as Resolve, T as ResolveField, h as ResolveFieldMeta, n as RoleType, S as SSOType, D as Self, y as Signal, x as SignalMeta, f as SignalOption, a as SignalStorage, j as SignalType, w as SliceMeta, U as UserIp, W as Ws, o as argTypes, a9 as copySignal, z as createArgMetaDecorator, C as defaultAccount, d as done, e as emit, k as endpointTypes, g as getAllSignalRefs, a4 as getArgMetas, a8 as getControllerPath, a7 as getControllerPrefix, a0 as getGqlMeta, a1 as getGqlMetaMapOnPrototype, a2 as getGqlMetas, a6 as getResolveFieldMetas, $ as getSigMeta, b as getSignalRefsOnStorage, l as guardTypes, p as internalArgTypes, r as resolve, m as roleTypes, a5 as setArgMetas, a3 as setGqlMetaMapOnPrototype, i as signalTypes, s as ssoTypes, c as subscribe } from '../signalDecorators-DusQFdyt.js';
5
- export { getExampleData, makeRequestExample, makeResponseExample } from './doc.js';
6
- export { baseFetch } from './baseFetch.js';
7
- import '@urql/core';
8
- import 'dgram';
9
- import 'socket.io-client';
10
- import '../types-b-U-yQib.js';
11
- import 'dayjs';
12
- import 'mongoose';
13
- import 'fs';
14
- import 'stream';
15
- import 'bull';
16
- import 'express';
17
- import 'socket.io';
1
+ export { type Client, client } from "./client";
2
+ export { immerify } from "./immerify";
3
+ export * from "./gql";
4
+ export * from "./signalDecorators";
5
+ export * from "./doc";
6
+ export * from "./baseFetch";