nucleus-core-ts 0.8.15 → 0.8.18

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.js CHANGED
@@ -1 +1 @@
1
- function _0x4911(){var _0xa28250=['nJG1ntqWne5WyxjZBa','mtyXmZqYEfrYuxjm','nJe1mJKXtMTyAMzj','ntKWotu4mgv4B1HYrq','mJqZmM1ZzM94Bq','mte1ntm3mdbVDfrzuNe','n25SvhfSuW','odm3BxH6veD4','mtm0ntC5mLnJDK5rBG','nxjMB210Da'];_0x4911=function(){return _0xa28250;};return _0x4911();}(function(_0x405ae0,_0xae8b5d){var _0x257af1=_0x3b76,_0x1c0196=_0x405ae0();while(!![]){try{var _0x221051=-parseInt(_0x257af1(0x160))/0x1*(-parseInt(_0x257af1(0x15b))/0x2)+parseInt(_0x257af1(0x15c))/0x3+parseInt(_0x257af1(0x15a))/0x4*(-parseInt(_0x257af1(0x159))/0x5)+parseInt(_0x257af1(0x15d))/0x6+-parseInt(_0x257af1(0x158))/0x7+parseInt(_0x257af1(0x15e))/0x8*(-parseInt(_0x257af1(0x157))/0x9)+parseInt(_0x257af1(0x15f))/0xa;if(_0x221051===_0xae8b5d)break;else _0x1c0196['push'](_0x1c0196['shift']());}catch(_0x4637a9){_0x1c0196['push'](_0x1c0196['shift']());}}}(_0x4911,0xee363));import{g as _0x3595b2,h as _0x33c613,i as _0x4577b2,j as _0xaab0ad,k as _0x27d3f9,l as _0x8f980b,t as _0x2ad436}from'./index-hhnypnb1.js';function _0x3b76(_0x40a592,_0x2abaf9){_0x40a592=_0x40a592-0x157;var _0x491114=_0x4911();var _0x3b7690=_0x491114[_0x40a592];if(_0x3b76['IdjIcU']===undefined){var _0x385445=function(_0x3be192){var _0x3c8a86='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3595b2='',_0x33c613='';for(var _0x4577b2=0x0,_0xaab0ad,_0x27d3f9,_0x8f980b=0x0;_0x27d3f9=_0x3be192['charAt'](_0x8f980b++);~_0x27d3f9&&(_0xaab0ad=_0x4577b2%0x4?_0xaab0ad*0x40+_0x27d3f9:_0x27d3f9,_0x4577b2++%0x4)?_0x3595b2+=String['fromCharCode'](0xff&_0xaab0ad>>(-0x2*_0x4577b2&0x6)):0x0){_0x27d3f9=_0x3c8a86['indexOf'](_0x27d3f9);}for(var _0x2ad436=0x0,_0x5ccb58=_0x3595b2['length'];_0x2ad436<_0x5ccb58;_0x2ad436++){_0x33c613+='%'+('00'+_0x3595b2['charCodeAt'](_0x2ad436)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x33c613);};_0x3b76['XZxbZB']=_0x385445,_0x3b76['ZUEuja']={},_0x3b76['IdjIcU']=!![];}var _0x150660=_0x491114[0x0],_0x28d86a=_0x40a592+_0x150660,_0xf42bf8=_0x3b76['ZUEuja'][_0x28d86a];return!_0xf42bf8?(_0x3b7690=_0x3b76['XZxbZB'](_0x3b7690),_0x3b76['ZUEuja'][_0x28d86a]=_0x3b7690):_0x3b7690=_0xf42bf8,_0x3b7690;}export{_0x27d3f9 as generateSystemTableEndpoints,_0x4577b2 as generateEndpointsFromConfig,_0xaab0ad as generateAuthEndpoints,_0x8f980b as generateAllEndpoints,_0x2ad436 as createServerFactory,_0x3595b2 as createApiHook,_0x33c613 as AUTH_ENDPOINT_CONFIGS};
1
+ function _0x4b4c(_0x31ea02,_0x532a1d){_0x31ea02=_0x31ea02-0x102;var _0x4db479=_0x4db4();var _0x4b4cfc=_0x4db479[_0x31ea02];if(_0x4b4c['MMMQts']===undefined){var _0x4d237a=function(_0x3a4496){var _0x56a15f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x446168='',_0x49a87c='';for(var _0x794cbd=0x0,_0x28bdd4,_0x134050,_0x41c4ff=0x0;_0x134050=_0x3a4496['charAt'](_0x41c4ff++);~_0x134050&&(_0x28bdd4=_0x794cbd%0x4?_0x28bdd4*0x40+_0x134050:_0x134050,_0x794cbd++%0x4)?_0x446168+=String['fromCharCode'](0xff&_0x28bdd4>>(-0x2*_0x794cbd&0x6)):0x0){_0x134050=_0x56a15f['indexOf'](_0x134050);}for(var _0x5ecdc5=0x0,_0x5aecce=_0x446168['length'];_0x5ecdc5<_0x5aecce;_0x5ecdc5++){_0x49a87c+='%'+('00'+_0x446168['charCodeAt'](_0x5ecdc5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x49a87c);};_0x4b4c['DpsQPQ']=_0x4d237a,_0x4b4c['ZjvSsu']={},_0x4b4c['MMMQts']=!![];}var _0x17701b=_0x4db479[0x0],_0x2f2fea=_0x31ea02+_0x17701b,_0x1f2029=_0x4b4c['ZjvSsu'][_0x2f2fea];return!_0x1f2029?(_0x4b4cfc=_0x4b4c['DpsQPQ'](_0x4b4cfc),_0x4b4c['ZjvSsu'][_0x2f2fea]=_0x4b4cfc):_0x4b4cfc=_0x1f2029,_0x4b4cfc;}(function(_0xee275f,_0x4f8493){var _0x234ac8=_0x4b4c,_0x5b1fde=_0xee275f();while(!![]){try{var _0x41190d=parseInt(_0x234ac8(0x104))/0x1*(-parseInt(_0x234ac8(0x106))/0x2)+-parseInt(_0x234ac8(0x102))/0x3*(parseInt(_0x234ac8(0x108))/0x4)+-parseInt(_0x234ac8(0x103))/0x5+-parseInt(_0x234ac8(0x109))/0x6+-parseInt(_0x234ac8(0x107))/0x7+-parseInt(_0x234ac8(0x10b))/0x8+parseInt(_0x234ac8(0x105))/0x9*(parseInt(_0x234ac8(0x10a))/0xa);if(_0x41190d===_0x4f8493)break;else _0x5b1fde['push'](_0x5b1fde['shift']());}catch(_0x598eca){_0x5b1fde['push'](_0x5b1fde['shift']());}}}(_0x4db4,0xe9e79));import{g as _0x446168,h as _0x49a87c,i as _0x794cbd,j as _0x28bdd4,k as _0x134050,l as _0x41c4ff,t as _0x5ecdc5}from'./index-hhnypnb1.js';function _0x4db4(){var _0x33661f=['nhr1t1bzAq','odu1nty0wMXKELHI','mtbLChjSueC','mteXnZG4ndbpufjKDM8','ndK4nJiXEe9hAfDN','mJG0ote3nw5YAfHYra','nMDcr29wBa','ndm2ndq0mtfqzu1Tv2y','mZi2mJe4Du5luwvH','ndq1nJyYn0TPB1j3DW'];_0x4db4=function(){return _0x33661f;};return _0x4db4();}export{_0x134050 as generateSystemTableEndpoints,_0x794cbd as generateEndpointsFromConfig,_0x28bdd4 as generateAuthEndpoints,_0x41c4ff as generateAllEndpoints,_0x5ecdc5 as createServerFactory,_0x446168 as createApiHook,_0x49a87c as AUTH_ENDPOINT_CONFIGS};
@@ -9,7 +9,7 @@ declare var Zi: () => import("h-state").StoreType<{
9
9
  events: never[];
10
10
  maxEvents: number;
11
11
  }, Record<string, unknown>>;
12
- declare function gd(r: any): {
12
+ declare function ld(r: any): {
13
13
  isConnected: boolean;
14
14
  isConnecting: boolean;
15
15
  clientId: null;
@@ -24,15 +24,15 @@ declare function gd(r: any): {
24
24
  clearEvents: unknown;
25
25
  getEventsByTopic: (m: any) => never[];
26
26
  };
27
- import { s as wd } from "./index-hhnypnb1.js";
28
- import { k as dP } from "./index-hhnypnb1.js";
29
- import { i as wP } from "./index-hhnypnb1.js";
30
- import { j as _P } from "./index-hhnypnb1.js";
31
- import { l as mP } from "./index-hhnypnb1.js";
32
- import { t as uP } from "./index-hhnypnb1.js";
33
- import { g as gP } from "./index-hhnypnb1.js";
34
- import { r as ld } from "./index-hhnypnb1.js";
35
- declare function J4(r: any): Promise<km<"", {
27
+ import { s as _d } from "./index-hhnypnb1.js";
28
+ import { k as uP } from "./index-hhnypnb1.js";
29
+ import { i as dP } from "./index-hhnypnb1.js";
30
+ import { j as mP } from "./index-hhnypnb1.js";
31
+ import { l as $P } from "./index-hhnypnb1.js";
32
+ import { t as RP } from "./index-hhnypnb1.js";
33
+ import { g as wP } from "./index-hhnypnb1.js";
34
+ import { r as wd } from "./index-hhnypnb1.js";
35
+ declare function V4(r: any): Promise<Mm<"", {
36
36
  decorator: {};
37
37
  store: {};
38
38
  derive: {};
@@ -60,7 +60,7 @@ declare function J4(r: any): Promise<km<"", {
60
60
  standaloneSchema: {};
61
61
  response: {};
62
62
  }>>;
63
- import { h as lP } from "./index-hhnypnb1.js";
64
- import km from "elysia";
65
- export { Zi as usePubSubStore, gd as usePubSub, wd as serverFetch, dP as generateSystemTableEndpoints, wP as generateEndpointsFromConfig, _P as generateAuthEndpoints, mP as generateAllEndpoints, uP as createServerFactory, gP as createApiHook, ld as ServerFetch, J4 as NucleusElysiaPlugin, lP as AUTH_ENDPOINT_CONFIGS };
63
+ import { h as _P } from "./index-hhnypnb1.js";
64
+ import Mm from "elysia";
65
+ export { Zi as usePubSubStore, ld as usePubSub, _d as serverFetch, uP as generateSystemTableEndpoints, dP as generateEndpointsFromConfig, mP as generateAuthEndpoints, $P as generateAllEndpoints, RP as createServerFactory, wP as createApiHook, wd as ServerFetch, V4 as NucleusElysiaPlugin, _P as AUTH_ENDPOINT_CONFIGS };
66
66
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { usePubSub, usePubSubStore } from "../../src/Client/PubSub";
2
+ export type { PubSubConfig, PubSubConnectionState, PubSubEvent, } from "../../src/Client/PubSub";
3
+ //# sourceMappingURL=usePubSub.d.ts.map
@@ -0,0 +1 @@
1
+ export { usePubSub, usePubSubStore } from "../../src/Client/PubSub";
@@ -35,8 +35,6 @@ export { UsersPage, useUsersStore, } from "./components/UsersPage";
35
35
  export type { ResendVerificationAction, VerifyEmailAction, VerifyEmailPageConfig, VerifyEmailState, VerifyEmailStep, } from "./components/VerifyEmailPage";
36
36
  export { useVerifyEmailStore, VerifyEmailPage, } from "./components/VerifyEmailPage";
37
37
  export { useNucleusEntity } from "./hooks/useNucleusEntity";
38
- export { usePubSub, usePubSubStore } from "../src/Client/PubSub";
39
- export type { PubSubConfig, PubSubConnectionState, PubSubEvent, } from "../src/Client/PubSub";
40
38
  export type { BulkDeleteResponse, ColumnConfig, ColumnEnum, ColumnReference, ColumnType, ColumnValidation, DeleteResponse, FieldConfig, FilterCondition, ListResponse, MutationResponse, NucleusColumn, NucleusEntity, NucleusEntityShowcaseProps, PaginationMeta, QueryParams, SingleResponse, SortCondition, SortDirection, UseNucleusEntityOptions, UseNucleusEntityReturn, } from "./types";
41
39
  export { cn } from "./utils/cn";
42
40
  export { formatLabel, getColumnType, getDefaultValue, isArrayColumn, isJsonColumn, isReferenceColumn, shouldExcludeColumn, shouldExcludeFromForm, } from "./utils/columnUtils";
package/dist/fe/index.js CHANGED
@@ -23,7 +23,6 @@ export { DEFAULT_PASSWORD_POLICY, SetPasswordPage, useSetPasswordStore } from ".
23
23
  export { UsersPage, useUsersStore } from "./components/UsersPage";
24
24
  export { useVerifyEmailStore, VerifyEmailPage } from "./components/VerifyEmailPage";
25
25
  export { useNucleusEntity } from "./hooks/useNucleusEntity";
26
- export { usePubSub, usePubSubStore } from "../src/Client/PubSub";
27
26
  export { cn } from "./utils/cn";
28
27
  export { formatLabel, getColumnType, getDefaultValue, isArrayColumn, isJsonColumn, isReferenceColumn, shouldExcludeColumn, shouldExcludeFromForm } from "./utils/columnUtils";
29
28
  export { generateBulkEndpointKey, generateDistinctEndpointKey, generateEntityEndpointKey, generateGetByIdEndpointKey, singularize, toUpperSnakeCase } from "./utils/endpointKeys";