@kaspernj/api-maker 1.0.2061 → 1.0.2062
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/build/bootstrap/index.d.ts +0 -1
- package/build/bootstrap/index.js +0 -1
- package/build/bootstrap/input.d.ts +1 -1
- package/build/bootstrap/invalid-feedback.d.ts +2 -5
- package/build/bootstrap/invalid-feedback.d.ts.map +1 -1
- package/build/bootstrap/radio-buttons.d.ts +1 -1
- package/build/bootstrap/select.d.ts +1 -1
- package/build/cable-connection-pool.d.ts +7 -6
- package/build/cable-connection-pool.d.ts.map +1 -1
- package/build/cable-subscription.d.ts +1 -2
- package/build/cable-subscription.d.ts.map +1 -1
- package/build/can-can.d.ts +1 -2
- package/build/can-can.d.ts.map +1 -1
- package/build/command-submit-data.d.ts +1 -1
- package/build/command-submit-data.d.ts.map +1 -1
- package/build/config.d.ts +2 -3
- package/build/config.d.ts.map +1 -1
- package/build/devise.d.ts +1 -1
- package/build/devise.d.ts.map +1 -1
- package/build/event-connection.d.ts +1 -4
- package/build/event-connection.d.ts.map +1 -1
- package/build/event-model-class.d.ts +1 -4
- package/build/event-model-class.d.ts.map +1 -1
- package/build/events.d.ts +1 -2
- package/build/events.d.ts.map +1 -1
- package/build/form.d.ts +2 -3
- package/build/form.d.ts.map +1 -1
- package/build/history.d.ts +1 -1
- package/build/inputs/checkboxes.d.ts +1 -1
- package/build/inputs/input-wrapper.d.ts +1 -2
- package/build/inputs/input-wrapper.d.ts.map +1 -1
- package/build/inputs/input.d.ts +1 -1
- package/build/inputs/select.d.ts +1 -1
- package/build/model-recipes-model-loader.d.ts +8 -8
- package/build/router/route.d.ts +3 -3
- package/build/router/route.d.ts.map +1 -1
- package/build/router/switch.d.ts +1 -2
- package/build/router/switch.d.ts.map +1 -1
- package/build/router.d.ts +1 -2
- package/build/router.d.ts.map +1 -1
- package/build/source-maps-loader.d.ts +37 -0
- package/build/source-maps-loader.d.ts.map +1 -0
- package/build/super-admin/config-reader.d.ts +2 -2
- package/build/updated-attribute.d.ts +1 -2
- package/build/updated-attribute.d.ts.map +1 -1
- package/build/use-current-user.d.ts +1 -2
- package/build/use-current-user.d.ts.map +1 -1
- package/build/utils/header.d.ts +1 -2
- package/build/utils/header.d.ts.map +1 -1
- package/build/with-current-user.d.ts +1 -2
- package/build/with-current-user.d.ts.map +1 -1
- package/build/with-router.d.ts +1 -2
- package/build/with-router.d.ts.map +1 -1
- package/package.json +1 -1
package/build/bootstrap/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
export default class ApiMakerBootstrapInvalidFeedback
|
|
1
|
+
export default class ApiMakerBootstrapInvalidFeedback {
|
|
2
2
|
static propTypes: any;
|
|
3
|
-
|
|
4
|
-
constructor(props: any, context: any);
|
|
5
|
-
render(): React.JSX.Element;
|
|
3
|
+
render(): JSX.Element;
|
|
6
4
|
errorMessages(): any[];
|
|
7
5
|
}
|
|
8
|
-
import React from "react";
|
|
9
6
|
//# sourceMappingURL=invalid-feedback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalid-feedback.d.ts","sourceRoot":"/src/","sources":["bootstrap/invalid-feedback.jsx"],"names":[],"mappings":"AAKA;IACE,sBAEE
|
|
1
|
+
{"version":3,"file":"invalid-feedback.d.ts","sourceRoot":"/src/","sources":["bootstrap/invalid-feedback.jsx"],"names":[],"mappings":"AAKA;IACE,sBAEE;IAEF,sBAMC;IAED,uBAWC;CACF"}
|
|
@@ -13,14 +13,15 @@ export default class ApiMakerCableConnectionPool {
|
|
|
13
13
|
callback: any;
|
|
14
14
|
path: any;
|
|
15
15
|
value: any;
|
|
16
|
-
}):
|
|
17
|
-
connectCreated: (modelName: any, callback: any) =>
|
|
18
|
-
connectEvent: (modelName: any, modelId: any, eventName: any, callback: any) =>
|
|
19
|
-
connectDestroyed: (modelName: any, modelId: any, callback: any) =>
|
|
20
|
-
connectModelClassEvent: (modelName: any, eventName: any, callback: any) =>
|
|
21
|
-
connectUpdate: (modelName: any, modelId: any, callback: any) =>
|
|
16
|
+
}): CableSubscription;
|
|
17
|
+
connectCreated: (modelName: any, callback: any) => CableSubscription;
|
|
18
|
+
connectEvent: (modelName: any, modelId: any, eventName: any, callback: any) => CableSubscription;
|
|
19
|
+
connectDestroyed: (modelName: any, modelId: any, callback: any) => CableSubscription;
|
|
20
|
+
connectModelClassEvent: (modelName: any, eventName: any, callback: any) => CableSubscription;
|
|
21
|
+
connectUpdate: (modelName: any, modelId: any, callback: any) => CableSubscription;
|
|
22
22
|
connectUpcoming: () => void;
|
|
23
23
|
scheduleConnectUpcomingRunLast: RunLast;
|
|
24
24
|
}
|
|
25
|
+
import CableSubscription from "./cable-subscription";
|
|
25
26
|
import RunLast from "./run-last.js";
|
|
26
27
|
//# sourceMappingURL=cable-connection-pool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cable-connection-pool.d.ts","sourceRoot":"/src/","sources":["cable-connection-pool.js"],"names":[],"mappings":"AAOA;IAME,sBAIC;IATD,8BAA2B;IAC3B,gBAAgB;IAChB,6BAA6B;IAC7B,0BAA0B;IAQ1B;;;;gBA2BC;IAED;;;;
|
|
1
|
+
{"version":3,"file":"cable-connection-pool.d.ts","sourceRoot":"/src/","sources":["cable-connection-pool.js"],"names":[],"mappings":"AAOA;IAME,sBAIC;IATD,8BAA2B;IAC3B,gBAAgB;IAChB,6BAA6B;IAC7B,0BAA0B;IAQ1B;;;;gBA2BC;IAED;;;;0BAsDC;IAED,iBAAkB,cAAS,EAAE,aAAQ,uBAAkF;IACvH,eAAgB,cAAS,EAAE,YAAO,EAAE,cAAS,EAAE,aAAQ,uBAA+F;IACtJ,mBAAoB,cAAS,EAAE,YAAO,EAAE,aAAQ,uBAAsF;IACtI,yBAA0B,cAAS,EAAE,cAAS,EAAE,aAAQ,uBAAkG;IAC1J,gBAAiB,cAAS,EAAE,YAAO,EAAE,aAAQ,uBAAqF;IAElI,4BAaC;IAED,wCAAkE;CACnE;8BA7H6B,sBAAsB;oBAEhC,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cable-subscription.d.ts","sourceRoot":"/src/","sources":["cable-subscription.js"],"names":[],"mappings":"AAKA;IAEI,
|
|
1
|
+
{"version":3,"file":"cable-subscription.d.ts","sourceRoot":"/src/","sources":["cable-subscription.js"],"names":[],"mappings":"AAKA;IAEI,YAAgC;IAChC,oBAAsB;IAGxB,oBAUC;CACF"}
|
package/build/can-can.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export default class ApiMakerCanCan {
|
|
|
3
3
|
abilities: any[];
|
|
4
4
|
abilitiesToLoad: any[];
|
|
5
5
|
abilitiesToLoadData: any[];
|
|
6
|
-
events:
|
|
6
|
+
events: any;
|
|
7
7
|
lock: any;
|
|
8
8
|
can(ability: any, subject: any): any;
|
|
9
9
|
findAbility(ability: any, subject: any): any;
|
|
@@ -15,5 +15,4 @@ export default class ApiMakerCanCan {
|
|
|
15
15
|
resetAbilities(): Promise<void>;
|
|
16
16
|
sendAbilitiesRequest: () => Promise<void>;
|
|
17
17
|
}
|
|
18
|
-
import { EventEmitter } from "eventemitter3";
|
|
19
18
|
//# sourceMappingURL=can-can.d.ts.map
|
package/build/can-can.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"can-can.d.ts","sourceRoot":"/src/","sources":["can-can.js"],"names":[],"mappings":"AAQA;IAOE,sBAIC;IAVD,iBAAc;IACd,uBAAoB;IACpB,2BAAwB;IACxB,
|
|
1
|
+
{"version":3,"file":"can-can.d.ts","sourceRoot":"/src/","sources":["can-can.js"],"names":[],"mappings":"AAQA;IAOE,sBAIC;IAVD,iBAAc;IACd,uBAAoB;IACpB,2BAAwB;IACxB,YAA2B;IAC3B,UAA8B;IAQ9B,qCAkBC;IAED,6CAuBC;IAED,qDAQC;IAED,6CAmBC;IAED,sDAoBC;IAED,8BAMC;IADC,6CAA4E;IAG9E,gCAKC;IAED,0CAsBC;CACF"}
|
|
@@ -20,7 +20,7 @@ export default class ApiMakerCommandSubmitData {
|
|
|
20
20
|
getJsonData: () => Record<string, object>;
|
|
21
21
|
getRawData(): Record<any, any>;
|
|
22
22
|
rawData: Record<any, any>;
|
|
23
|
-
getFormData():
|
|
23
|
+
getFormData(): any;
|
|
24
24
|
/**
|
|
25
25
|
* @param {any} value
|
|
26
26
|
* @param {string} type
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-submit-data.d.ts","sourceRoot":"/src/","sources":["command-submit-data.js"],"names":[],"mappings":"AAEA;IACE;;;;OAIG;IACH,kBAHG;QAAmC,MAAM,GAAjC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;QAC6B,IAAI,EAApD,OAAO,oBAAoB,EAAE,YAAY;KACnD,EAKA;IAHC;iBAJS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACnB,OAAO,oBAAoB,EAAE,YAAY;MAGlC;IAChB,mBAAmB;IACnB,2BAAsD;IAGxD,wBAAwB;IACxB,qBADc,MAAM,CACiB;IAErC,wCAAwC;IACxC,mBADc,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CACH;IAEjC,+BAMC;IAJG,0BAAoD;IAMxD,
|
|
1
|
+
{"version":3,"file":"command-submit-data.d.ts","sourceRoot":"/src/","sources":["command-submit-data.js"],"names":[],"mappings":"AAEA;IACE;;;;OAIG;IACH,kBAHG;QAAmC,MAAM,GAAjC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;QAC6B,IAAI,EAApD,OAAO,oBAAoB,EAAE,YAAY;KACnD,EAKA;IAHC;iBAJS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACnB,OAAO,oBAAoB,EAAE,YAAY;MAGlC;IAChB,mBAAmB;IACnB,2BAAsD;IAGxD,wBAAwB;IACxB,qBADc,MAAM,CACiB;IAErC,wCAAwC;IACxC,mBADc,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CACH;IAEjC,+BAMC;IAJG,0BAAoD;IAMxD,mBAQC;IAED;;;;OAIG;IACH,sBAJW,GAAG,QACH,MAAM,OAWhB;IAED;;;;OAIG;IACH,mBAJW,GAAG,QACH,MAAM,GACJ,OAAO,CAanB;IAED;;;OAGG;IACH,gBAHW,GAAG,GACD,OAAO,CAQnB;IAED;;;;OAIG;IACH,qBAJW,KAAK,CAAC,GAAG,CAAC,QACV,MAAM,GACJ,KAAK,CAAC,GAAG,CAAC,CAoBtB;IAED;;;;OAIG;IACH,uBAJW,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,QAChB,MAAM,GACJ,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAsB5B;CACF"}
|
package/build/config.d.ts
CHANGED
|
@@ -2,12 +2,11 @@ export default apiMakerConfig;
|
|
|
2
2
|
declare const apiMakerConfig: ApiMakerConfig;
|
|
3
3
|
declare class ApiMakerConfig {
|
|
4
4
|
global: any;
|
|
5
|
-
events:
|
|
6
|
-
getEvents():
|
|
5
|
+
events: any;
|
|
6
|
+
getEvents(): any;
|
|
7
7
|
/** @returns {import("history").BrowserHistory} */
|
|
8
8
|
getHistory(): import("history").BrowserHistory;
|
|
9
9
|
/** @returns {string} */
|
|
10
10
|
getHost(): string;
|
|
11
11
|
}
|
|
12
|
-
import { EventEmitter } from "eventemitter3";
|
|
13
12
|
//# sourceMappingURL=config.d.ts.map
|
package/build/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"/src/","sources":["config.js"],"names":[],"mappings":";AAwEA,6CAA2C;AA7C3C;IAII,YAA6C;IAC7C,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"/src/","sources":["config.js"],"names":[],"mappings":";AAwEA,6CAA2C;AA7C3C;IAII,YAA6C;IAC7C,YAAgC;IAGlC,iBAAkC;IAElC,kDAAkD;IAClD,cADc,OAAO,SAAS,EAAE,cAAc,CACkB;IAEhE,wBAAwB;IACxB,WADc,MAAM,CACsC;CAC3D"}
|
package/build/devise.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export default class ApiMakerDevise {
|
|
|
2
2
|
static callSignOutEvent(args: any): void;
|
|
3
3
|
/** @returns {ApiMakerDevise} */
|
|
4
4
|
static current(): ApiMakerDevise;
|
|
5
|
-
static events():
|
|
5
|
+
static events(): any;
|
|
6
6
|
static addUserScope(scope: any, args?: {}): void;
|
|
7
7
|
static getScope(scope: any): any;
|
|
8
8
|
static signIn(username: any, password: any, args?: {}): Promise<{
|
package/build/devise.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devise.d.ts","sourceRoot":"/src/","sources":["devise.js"],"names":[],"mappings":"AAqBA;IACE,yCAEC;IAED,gCAAgC;IAChC,kBADc,cAAc,CAO3B;IAED,
|
|
1
|
+
{"version":3,"file":"devise.d.ts","sourceRoot":"/src/","sources":["devise.js"],"names":[],"mappings":"AAqBA;IACE,yCAEC;IAED,gCAAgC;IAChC,kBADc,cAAc,CAO3B;IAED,qBAEC;IAED,iDAYC;IAED,iCAKC;IAED;;;OAcC;IAED,kDAMC;IAQD,qCAEC;IAED,wCAgBC;IA1BD,qCAIC;IAyBC,aAAkB;IAGpB,iCAMC;IAED,2CAMC;IAED,kCAkBC;CACF"}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
export default class ApiMakerEventConnection
|
|
1
|
+
export default class ApiMakerEventConnection {
|
|
2
2
|
static defaultProps: {
|
|
3
3
|
active: boolean;
|
|
4
4
|
};
|
|
5
5
|
static propTypes: any;
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
constructor(props: any, context: any);
|
|
8
6
|
componentDidMount(): void;
|
|
9
7
|
subscription: any;
|
|
10
8
|
componentWillUnmount(): void;
|
|
11
9
|
render(): any;
|
|
12
10
|
onCall(...args: any[]): void;
|
|
13
11
|
}
|
|
14
|
-
import React from "react";
|
|
15
12
|
//# sourceMappingURL=event-connection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-connection.d.ts","sourceRoot":"/src/","sources":["event-connection.jsx"],"names":[],"mappings":"AAKA;IACE;;MAEC;IAED,sBAKE
|
|
1
|
+
{"version":3,"file":"event-connection.d.ts","sourceRoot":"/src/","sources":["event-connection.jsx"],"names":[],"mappings":"AAKA;IACE;;MAEC;IAED,sBAKE;IAEF,0BAEC;IADC,kBAA8G;IAGhH,6BAIC;IAED,cAEC;IAED,6BAIC;CACF"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
export default class ApiMakerEventModelClass
|
|
1
|
+
export default class ApiMakerEventModelClass {
|
|
2
2
|
static propTypes: any;
|
|
3
|
-
constructor(props: any);
|
|
4
|
-
constructor(props: any, context: any);
|
|
5
3
|
componentDidMount(): void;
|
|
6
4
|
componentWillUnmount(): void;
|
|
7
5
|
connect(): void;
|
|
8
6
|
connection: any;
|
|
9
7
|
render: () => any;
|
|
10
8
|
}
|
|
11
|
-
import React from "react";
|
|
12
9
|
//# sourceMappingURL=event-model-class.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-model-class.d.ts","sourceRoot":"/src/","sources":["event-model-class.jsx"],"names":[],"mappings":"AAKA;IACE,sBAIE
|
|
1
|
+
{"version":3,"file":"event-model-class.d.ts","sourceRoot":"/src/","sources":["event-model-class.jsx"],"names":[],"mappings":"AAKA;IACE,sBAIE;IAEF,0BAEC;IAED,6BAIC;IAED,gBAEC;IADC,gBAA2G;IAG7G,kBAAmB;CACpB"}
|
package/build/events.d.ts
CHANGED
package/build/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"/src/","sources":["events.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"/src/","sources":["events.js"],"names":[],"mappings":";AAEA,0BAAiC"}
|
package/build/form.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const Form: any;
|
|
2
|
-
export const FormContext:
|
|
2
|
+
export const FormContext: import("react").Context<any>;
|
|
3
3
|
export class FormInputs {
|
|
4
4
|
constructor(props: any);
|
|
5
5
|
inputs: {};
|
|
@@ -7,9 +7,8 @@ export class FormInputs {
|
|
|
7
7
|
asObject(): {};
|
|
8
8
|
getValue(name: any): any;
|
|
9
9
|
setValue(name: any, value: any): void;
|
|
10
|
-
setValueWithHidden(name: any, value: any):
|
|
10
|
+
setValueWithHidden(name: any, value: any): JSX.Element;
|
|
11
11
|
submit(): void;
|
|
12
12
|
}
|
|
13
13
|
export function useForm(): any;
|
|
14
|
-
import React from "react";
|
|
15
14
|
//# sourceMappingURL=form.d.ts.map
|
package/build/form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"/src/","sources":["form.jsx"],"names":[],"mappings":"AAuDA,uBAoDG;AAnGH,
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"/src/","sources":["form.jsx"],"names":[],"mappings":"AAuDA,uBAoDG;AAnGH,uDAAuC;AAGvC;IACE,wBAGC;IAFC,WAAgB;IAChB,cAA+B;IAGjC,eAWC;IAED,yBAEC;IAED,sCAIC;IAED,uDAMC;IAED,eAIC;CACF;AA5CD,+BAA6C"}
|
package/build/history.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export default inputWrapper;
|
|
2
|
-
declare function inputWrapper(WrapperComponentClass: any, wrapperOptions?: {}): (props: any) =>
|
|
3
|
-
import React from "react";
|
|
2
|
+
declare function inputWrapper(WrapperComponentClass: any, wrapperOptions?: {}): (props: any) => JSX.Element;
|
|
4
3
|
//# sourceMappingURL=input-wrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-wrapper.d.ts","sourceRoot":"/src/","sources":["inputs/input-wrapper.jsx"],"names":[],"mappings":";AAGA,iFAAsE,UAAK,
|
|
1
|
+
{"version":3,"file":"input-wrapper.d.ts","sourceRoot":"/src/","sources":["inputs/input-wrapper.jsx"],"names":[],"mappings":";AAGA,iFAAsE,UAAK,iBAU1E"}
|
package/build/inputs/input.d.ts
CHANGED
package/build/inputs/select.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export default class ApiMakerModelRecipesModelLoader {
|
|
|
106
106
|
};
|
|
107
107
|
readonly name: any;
|
|
108
108
|
apiMakerType: string;
|
|
109
|
-
attributes():
|
|
109
|
+
attributes(): import("./base-model/attribute.js").default[];
|
|
110
110
|
hasAttribute(attributeName: any): boolean;
|
|
111
111
|
modelClassData(): ModelClassDataType;
|
|
112
112
|
newCustomEvent: (validationErrors: import("./validation-errors.js").ValidationErrors) => CustomEvent;
|
|
@@ -116,15 +116,15 @@ export default class ApiMakerModelRecipesModelLoader {
|
|
|
116
116
|
}): void;
|
|
117
117
|
find<T extends typeof BaseModel>(this: T, id: number | string): Promise<InstanceType<T>>;
|
|
118
118
|
findOrCreateBy<T extends typeof BaseModel>(this: T, findOrCreateByArgs: Record<string, any>, args?: {}): Promise<InstanceType<T>>;
|
|
119
|
-
modelName():
|
|
119
|
+
modelName(): import("./model-name.js").default;
|
|
120
120
|
primaryKey(): string;
|
|
121
121
|
ransack<MC extends typeof BaseModel>(this: MC, query?: Record<string, any>): import("./collection.js").default<MC>;
|
|
122
122
|
select<MC extends typeof BaseModel>(this: MC, select?: Record<string, any>): import("./collection.js").default<MC>;
|
|
123
|
-
ransackableAssociations():
|
|
124
|
-
ransackableAttributes():
|
|
125
|
-
ransackableScopes():
|
|
126
|
-
reflections():
|
|
127
|
-
reflection(name: any):
|
|
123
|
+
ransackableAssociations(): import("./base-model/reflection.js").default[];
|
|
124
|
+
ransackableAttributes(): import("./base-model/attribute.js").default[];
|
|
125
|
+
ransackableScopes(): import("./base-model/scope.js").default[];
|
|
126
|
+
reflections(): import("./base-model/reflection.js").default[];
|
|
127
|
+
reflection(name: any): import("./base-model/reflection.js").default;
|
|
128
128
|
_token(): string;
|
|
129
129
|
all<MC extends typeof BaseModel>(this: MC): Collection<MC>;
|
|
130
130
|
parseValidationErrors({ error, model, options }: {
|
|
@@ -136,7 +136,7 @@ export default class ApiMakerModelRecipesModelLoader {
|
|
|
136
136
|
snakeCase(string: string): string;
|
|
137
137
|
_objectDataFromGivenRawData(rawData: FormData | Record<string, any>, options: object): Record<string, any>;
|
|
138
138
|
_callCollectionCommand(args: any, commandArgs: any): Promise<any>;
|
|
139
|
-
_postDataFromArgs(args: any):
|
|
139
|
+
_postDataFromArgs(args: any): any;
|
|
140
140
|
};
|
|
141
141
|
addAttributeMethodsToModelClass(ModelClass: any, attributes: any): void;
|
|
142
142
|
addQueryCommandsToModelClass(ModelClass: any, collectionCommands: any): void;
|
package/build/router/route.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default Route;
|
|
2
|
-
export const RequireComponentContext:
|
|
3
|
-
export const RouteContext:
|
|
2
|
+
export const RequireComponentContext: import("react").Context<any>;
|
|
3
|
+
export const RouteContext: import("react").Context<any>;
|
|
4
|
+
import Switch from "./switch";
|
|
4
5
|
export function useParams(): {};
|
|
5
6
|
declare const Route: any;
|
|
6
|
-
import React from "react";
|
|
7
7
|
export { Switch };
|
|
8
8
|
//# sourceMappingURL=route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"/src/","sources":["router/route.jsx"],"names":[],"mappings":";AAWA,
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"/src/","sources":["router/route.jsx"],"names":[],"mappings":";AAWA,mEAAmD;AACnD,wDAAwC;mBANG,UAAU;AAOrD,gCAAiD;AAEjD,yBAmOG"}
|
package/build/router/switch.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"/src/","sources":["router/switch.jsx"],"names":[],"mappings":";AAOA,
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"/src/","sources":["router/switch.jsx"],"names":[],"mappings":";AAOA,kEAA8C;AAE9C,0BA+DG"}
|
package/build/router.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("react").MemoExoticComponent<(arg0: Record<string, any>) => any>;
|
|
2
2
|
export default _default;
|
|
3
|
-
import React from "react";
|
|
4
3
|
//# sourceMappingURL=router.d.ts.map
|
package/build/router.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"/src/","sources":["router.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"/src/","sources":["router.jsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export default class SourceMapsLoader {
|
|
2
|
+
isLoadingSourceMaps: boolean;
|
|
3
|
+
sourceMaps: any[];
|
|
4
|
+
srcLoaded: {};
|
|
5
|
+
loadSourceMapsForScriptTags(callback: any): void;
|
|
6
|
+
loadSourceMapsForScriptTagsCallback: any;
|
|
7
|
+
sourceMapForSource(callback: any): void;
|
|
8
|
+
sourceMapForSourceCallback: any;
|
|
9
|
+
loadSourceMaps(error: any): Promise<void>;
|
|
10
|
+
getSources(error: any): any;
|
|
11
|
+
getSourcesFromError(error: any): {
|
|
12
|
+
originalUrl: any;
|
|
13
|
+
sourceMapUrl: any;
|
|
14
|
+
}[];
|
|
15
|
+
getSourcesFromScripts(): {
|
|
16
|
+
originalUrl: any;
|
|
17
|
+
sourceMapUrl: any;
|
|
18
|
+
}[];
|
|
19
|
+
getMapURL({ script, src }: {
|
|
20
|
+
script: any;
|
|
21
|
+
src: any;
|
|
22
|
+
}): any;
|
|
23
|
+
includeMapURL: (src: any) => any;
|
|
24
|
+
loadSourceMapForSource({ originalUrl, sourceMapUrl }: {
|
|
25
|
+
originalUrl: any;
|
|
26
|
+
sourceMapUrl: any;
|
|
27
|
+
}): Promise<void>;
|
|
28
|
+
loadUrl(url: any): HTMLAnchorElement;
|
|
29
|
+
loadXhr(xhr: any, url: any): Promise<any>;
|
|
30
|
+
parseStackTrace(stackTrace: any): string[];
|
|
31
|
+
getStackTraceData(stackTrace: any): {
|
|
32
|
+
filePath: any;
|
|
33
|
+
fileString: string;
|
|
34
|
+
methodName: any;
|
|
35
|
+
}[];
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=source-maps-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-maps-loader.d.ts","sourceRoot":"/src/","sources":["source-maps-loader.js"],"names":[],"mappings":"AAcA;IAEI,6BAAgC;IAChC,kBAAoB;IACpB,cAAmB;IAGrB,iDAEC;IADC,yCAAmD;IAGrD,wCAEC;IADC,gCAA0C;IAG5C,0CAsBC;IAED,4BAMC;IAED;;;QAqBC;IAED;;;QAcC;IAED;;;YAWC;IAED,gBAAiB,QAAG,SAA4B;IAEhD;;;sBAkBC;IAED,qCAMC;IAED,0CAWC;IAED,2CAGC;IAED;;;;QAwCC;CACF"}
|
|
@@ -7,7 +7,7 @@ export default class ApiMakerSuperAdminConfigReader {
|
|
|
7
7
|
defaultAttributesToShow(): any[];
|
|
8
8
|
tableColumns(): {
|
|
9
9
|
columns: {
|
|
10
|
-
attribute:
|
|
10
|
+
attribute: any;
|
|
11
11
|
}[];
|
|
12
12
|
select: {};
|
|
13
13
|
} | {
|
|
@@ -15,7 +15,7 @@ export default class ApiMakerSuperAdminConfigReader {
|
|
|
15
15
|
};
|
|
16
16
|
defaultTableColumns(): {
|
|
17
17
|
columns: {
|
|
18
|
-
attribute:
|
|
18
|
+
attribute: any;
|
|
19
19
|
}[];
|
|
20
20
|
select: {};
|
|
21
21
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default class ApiMakerUpdatedAttribute
|
|
1
|
+
export default class ApiMakerUpdatedAttribute {
|
|
2
2
|
static propTypes: any;
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
state: {
|
|
@@ -12,5 +12,4 @@ export default class ApiMakerUpdatedAttribute extends React.PureComponent<any, a
|
|
|
12
12
|
setAttribute(): void;
|
|
13
13
|
render(): any;
|
|
14
14
|
}
|
|
15
|
-
import React from "react";
|
|
16
15
|
//# sourceMappingURL=updated-attribute.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updated-attribute.d.ts","sourceRoot":"/src/","sources":["updated-attribute.jsx"],"names":[],"mappings":"AAMA;IACE,sBAIE;IAEF,wBAKC;IAHC;;MAEC;IAGH,0BAGC;IAED,6BAKC;IAED,gBAWC;IAVC,oBASE;IAIJ,wCAqBC;IAED,qBAgBC;IAED,cAIC;CACF
|
|
1
|
+
{"version":3,"file":"updated-attribute.d.ts","sourceRoot":"/src/","sources":["updated-attribute.jsx"],"names":[],"mappings":"AAMA;IACE,sBAIE;IAEF,wBAKC;IAHC;;MAEC;IAGH,0BAGC;IAED,6BAKC;IAED,gBAWC;IAVC,oBASE;IAIJ,wCAqBC;IAED,qBAgBC;IAED,cAIC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default useCurrentUser;
|
|
2
|
-
export const events:
|
|
2
|
+
export const events: any;
|
|
3
3
|
/**
|
|
4
4
|
* @param {object} props
|
|
5
5
|
* @param {string} [props.scope]
|
|
@@ -10,5 +10,4 @@ declare function useCurrentUser(props?: {
|
|
|
10
10
|
scope?: string;
|
|
11
11
|
withData?: boolean;
|
|
12
12
|
}): import("./base-model.js").default;
|
|
13
|
-
import { EventEmitter } from "eventemitter3";
|
|
14
13
|
//# sourceMappingURL=use-current-user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-current-user.d.ts","sourceRoot":"/src/","sources":["use-current-user.js"],"names":[],"mappings":";AAKA,
|
|
1
|
+
{"version":3,"file":"use-current-user.d.ts","sourceRoot":"/src/","sources":["use-current-user.js"],"names":[],"mappings":";AAKA,yBAAiC;AAKjC;;;;;GAKG;AACH,wCAJG;IAAuB,KAAK,GAApB,MAAM;IACU,QAAQ,GAAxB,OAAO;CACf,GAAU,OAAO,iBAAiB,EAAE,OAAO,CAiB7C"}
|
package/build/utils/header.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.d.ts","sourceRoot":"/src/","sources":["utils/header.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"/src/","sources":["utils/header.jsx"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-current-user.d.ts","sourceRoot":"/src/","sources":["with-current-user.jsx"],"names":[],"mappings":"AAGe,mDAAuB,UAAK,
|
|
1
|
+
{"version":3,"file":"with-current-user.d.ts","sourceRoot":"/src/","sources":["with-current-user.jsx"],"names":[],"mappings":"AAGe,mDAAuB,UAAK,iBAM1C"}
|
package/build/with-router.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-router.d.ts","sourceRoot":"/src/","sources":["with-router.jsx"],"names":[],"mappings":";AAGA;;;EAaC
|
|
1
|
+
{"version":3,"file":"with-router.d.ts","sourceRoot":"/src/","sources":["with-router.jsx"],"names":[],"mappings":";AAGA;;;EAaC"}
|