@luminix/core 0.0.1-beta.2 → 0.0.1-beta.4
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/contracts/Builder.d.ts +0 -1
- package/dist/contracts/Collection.d.ts +0 -1
- package/dist/contracts/ModelCollection.d.ts +1 -1
- package/dist/core.js +678 -653
- package/dist/exceptions/AttributeNotFillableException.d.ts +1 -1
- package/dist/exceptions/FacadeNotFoundException.d.ts +1 -1
- package/dist/exceptions/MethodNotImplementedException.d.ts +1 -1
- package/dist/exceptions/ModelInvalidRelatedTypeException.d.ts +1 -1
- package/dist/exceptions/ModelNotFoundException.d.ts +1 -1
- package/dist/exceptions/ModelNotPersistedException.d.ts +1 -1
- package/dist/exceptions/ModelWithoutPrimaryKeyException.d.ts +1 -1
- package/dist/exceptions/NoEmbedException.d.ts +1 -1
- package/dist/exceptions/NoInverseRelationException.d.ts +1 -1
- package/dist/exceptions/NotModelException.d.ts +1 -1
- package/dist/exceptions/NotReducibleException.d.ts +1 -1
- package/dist/exceptions/ReducerOverrideException.d.ts +1 -1
- package/dist/exceptions/RouteNotFoundException.d.ts +1 -1
- package/dist/exceptions/UnsupportedRelationException.d.ts +1 -1
- package/dist/facades/App.d.ts +0 -1
- package/dist/facades/Model.d.ts +1 -2
- package/dist/mixins/HasEvents.d.ts +0 -1
- package/dist/types/Model.d.ts +1 -1
- package/package.json +1 -1
- package/vite.config.js +3 -1
package/dist/facades/App.d.ts
CHANGED
package/dist/facades/Model.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { Collection } from '../contracts/Collection';
|
|
|
7
7
|
declare class ModelFacade implements ModelFacadeInterface {
|
|
8
8
|
private readonly _schema;
|
|
9
9
|
private _models;
|
|
10
|
-
|
|
10
|
+
[Symbol.toStringTag]: string;
|
|
11
11
|
constructor(_schema: ModelSchema);
|
|
12
12
|
boot(app: AppFacade): void;
|
|
13
13
|
schema(): ModelSchema;
|
|
@@ -37,6 +37,5 @@ declare const _default: {
|
|
|
37
37
|
emit<E_2 extends keyof GlobalModelEvents>(event: E_2, data?: Omit<Parameters<GlobalModelEvents[E_2]>[0], "source">): void;
|
|
38
38
|
[Symbol.toStringTag]: string;
|
|
39
39
|
};
|
|
40
|
-
name: string;
|
|
41
40
|
} & typeof ModelFacade;
|
|
42
41
|
export default _default;
|
package/dist/types/Model.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export declare class BaseModel implements EventSource<ModelEvents> {
|
|
|
91
91
|
}
|
|
92
92
|
export declare class Model extends BaseModel {
|
|
93
93
|
[key: string]: any;
|
|
94
|
-
|
|
94
|
+
[Symbol.toStringTag]: string;
|
|
95
95
|
}
|
|
96
96
|
export interface ModelSaveOptions {
|
|
97
97
|
additionalPayload?: object;
|
package/package.json
CHANGED
package/vite.config.js
CHANGED
|
@@ -3,6 +3,8 @@ import { resolve } from 'path';
|
|
|
3
3
|
|
|
4
4
|
import dts from 'vite-plugin-dts';
|
|
5
5
|
|
|
6
|
+
import packageJson from './package.json';
|
|
7
|
+
|
|
6
8
|
export default defineConfig({
|
|
7
9
|
plugins: [dts({ insertTypesEntry: true })],
|
|
8
10
|
build: {
|
|
@@ -11,7 +13,7 @@ export default defineConfig({
|
|
|
11
13
|
formats: ['es']
|
|
12
14
|
},
|
|
13
15
|
rollupOptions: {
|
|
14
|
-
external:
|
|
16
|
+
external: Object.keys(packageJson.peerDependencies),
|
|
15
17
|
}
|
|
16
18
|
},
|
|
17
19
|
|