@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.
Files changed (54) hide show
  1. package/build/bootstrap/index.d.ts +0 -1
  2. package/build/bootstrap/index.js +0 -1
  3. package/build/bootstrap/input.d.ts +1 -1
  4. package/build/bootstrap/invalid-feedback.d.ts +2 -5
  5. package/build/bootstrap/invalid-feedback.d.ts.map +1 -1
  6. package/build/bootstrap/radio-buttons.d.ts +1 -1
  7. package/build/bootstrap/select.d.ts +1 -1
  8. package/build/cable-connection-pool.d.ts +7 -6
  9. package/build/cable-connection-pool.d.ts.map +1 -1
  10. package/build/cable-subscription.d.ts +1 -2
  11. package/build/cable-subscription.d.ts.map +1 -1
  12. package/build/can-can.d.ts +1 -2
  13. package/build/can-can.d.ts.map +1 -1
  14. package/build/command-submit-data.d.ts +1 -1
  15. package/build/command-submit-data.d.ts.map +1 -1
  16. package/build/config.d.ts +2 -3
  17. package/build/config.d.ts.map +1 -1
  18. package/build/devise.d.ts +1 -1
  19. package/build/devise.d.ts.map +1 -1
  20. package/build/event-connection.d.ts +1 -4
  21. package/build/event-connection.d.ts.map +1 -1
  22. package/build/event-model-class.d.ts +1 -4
  23. package/build/event-model-class.d.ts.map +1 -1
  24. package/build/events.d.ts +1 -2
  25. package/build/events.d.ts.map +1 -1
  26. package/build/form.d.ts +2 -3
  27. package/build/form.d.ts.map +1 -1
  28. package/build/history.d.ts +1 -1
  29. package/build/inputs/checkboxes.d.ts +1 -1
  30. package/build/inputs/input-wrapper.d.ts +1 -2
  31. package/build/inputs/input-wrapper.d.ts.map +1 -1
  32. package/build/inputs/input.d.ts +1 -1
  33. package/build/inputs/select.d.ts +1 -1
  34. package/build/model-recipes-model-loader.d.ts +8 -8
  35. package/build/router/route.d.ts +3 -3
  36. package/build/router/route.d.ts.map +1 -1
  37. package/build/router/switch.d.ts +1 -2
  38. package/build/router/switch.d.ts.map +1 -1
  39. package/build/router.d.ts +1 -2
  40. package/build/router.d.ts.map +1 -1
  41. package/build/source-maps-loader.d.ts +37 -0
  42. package/build/source-maps-loader.d.ts.map +1 -0
  43. package/build/super-admin/config-reader.d.ts +2 -2
  44. package/build/updated-attribute.d.ts +1 -2
  45. package/build/updated-attribute.d.ts.map +1 -1
  46. package/build/use-current-user.d.ts +1 -2
  47. package/build/use-current-user.d.ts.map +1 -1
  48. package/build/utils/header.d.ts +1 -2
  49. package/build/utils/header.d.ts.map +1 -1
  50. package/build/with-current-user.d.ts +1 -2
  51. package/build/with-current-user.d.ts.map +1 -1
  52. package/build/with-router.d.ts +1 -2
  53. package/build/with-router.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -1,2 +1 @@
1
- export {};
2
1
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
- export {};
2
1
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiL3NyYy8iLCJzb3VyY2VzIjpbImJvb3RzdHJhcC9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiIl19
@@ -1,3 +1,3 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
3
3
  //# sourceMappingURL=input.d.ts.map
@@ -1,9 +1,6 @@
1
- export default class ApiMakerBootstrapInvalidFeedback extends React.PureComponent<any, any, any> {
1
+ export default class ApiMakerBootstrapInvalidFeedback {
2
2
  static propTypes: any;
3
- constructor(props: any);
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;;;IAEF,4BAMC;IAED,uBAWC;CACF;kBA3BiB,OAAO"}
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"}
@@ -1,3 +1,3 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
3
3
  //# sourceMappingURL=radio-buttons.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
3
3
  //# sourceMappingURL=select.d.ts.map
@@ -13,14 +13,15 @@ export default class ApiMakerCableConnectionPool {
13
13
  callback: any;
14
14
  path: any;
15
15
  value: any;
16
- }): any;
17
- connectCreated: (modelName: any, callback: any) => any;
18
- connectEvent: (modelName: any, modelId: any, eventName: any, callback: any) => any;
19
- connectDestroyed: (modelName: any, modelId: any, callback: any) => any;
20
- connectModelClassEvent: (modelName: any, eventName: any, callback: any) => any;
21
- connectUpdate: (modelName: any, modelId: any, callback: any) => 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;;;;YAsDC;IAED,iBAAkB,cAAS,EAAE,aAAQ,SAAkF;IACvH,eAAgB,cAAS,EAAE,YAAO,EAAE,cAAS,EAAE,aAAQ,SAA+F;IACtJ,mBAAoB,cAAS,EAAE,YAAO,EAAE,aAAQ,SAAsF;IACtI,yBAA0B,cAAS,EAAE,cAAS,EAAE,aAAQ,SAAkG;IAC1J,gBAAiB,cAAS,EAAE,YAAO,EAAE,aAAQ,SAAqF;IAElI,4BAaC;IAED,wCAAkE;CACnE;oBA3HmB,eAAe"}
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,7 +1,6 @@
1
1
  export default class ApiMakerCableSubscription {
2
- events: EventEmitter<string | symbol, any>;
2
+ events: any;
3
3
  subscribed: boolean;
4
4
  unsubscribe(): void;
5
5
  }
6
- import { EventEmitter } from "eventemitter3";
7
6
  //# sourceMappingURL=cable-subscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cable-subscription.d.ts","sourceRoot":"/src/","sources":["cable-subscription.js"],"names":[],"mappings":"AAKA;IAEI,2CAAgC;IAChC,oBAAsB;IAGxB,oBAUC;CACF;6BAtB0B,eAAe"}
1
+ {"version":3,"file":"cable-subscription.d.ts","sourceRoot":"/src/","sources":["cable-subscription.js"],"names":[],"mappings":"AAKA;IAEI,YAAgC;IAChC,oBAAsB;IAGxB,oBAUC;CACF"}
@@ -3,7 +3,7 @@ export default class ApiMakerCanCan {
3
3
  abilities: any[];
4
4
  abilitiesToLoad: any[];
5
5
  abilitiesToLoadData: any[];
6
- events: EventEmitter<string | symbol, any>;
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
@@ -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,2CAA2B;IAC3B,UAA8B;IAQ9B,qCAkBC;IAED,6CAuBC;IAED,qDAQC;IAED,6CAmBC;IAED,sDAoBC;IAED,8BAMC;IADC,6CAA4E;IAG9E,gCAKC;IAED,0CAsBC;CACF;6BA5J0B,eAAe"}
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(): FormData;
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,wBAQC;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"}
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: EventEmitter<string | symbol, any>;
6
- getEvents(): EventEmitter<string | symbol, any>;
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
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"/src/","sources":["config.js"],"names":[],"mappings":";AAwEA,6CAA2C;AA7C3C;IAII,YAA6C;IAC7C,2CAAgC;IAGlC,gDAAkC;IAElC,kDAAkD;IAClD,cADc,OAAO,SAAS,EAAE,cAAc,CACkB;IAEhE,wBAAwB;IACxB,WADc,MAAM,CACsC;CAC3D;6BA1C0B,eAAe"}
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(): import("eventemitter3").EventEmitter<string | symbol, any>;
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<{
@@ -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,4EAEC;IAED,iDAYC;IAED,iCAKC;IAED;;;OAcC;IAED,kDAMC;IAQD,qCAEC;IAED,wCAgBC;IA1BD,qCAIC;IAyBC,aAAkB;IAGpB,iCAMC;IAED,2CAMC;IAED,kCAkBC;CACF"}
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 extends React.PureComponent<any, any, any> {
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;;;IAEF,0BAEC;IADC,kBAA8G;IAGhH,6BAIC;IAED,cAEC;IAED,6BAIC;CACF;kBAjCiB,OAAO"}
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 extends React.PureComponent<any, any, any> {
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;;;IAEF,0BAEC;IAED,6BAIC;IAED,gBAEC;IADC,gBAA2G;IAG7G,kBAAmB;CACpB;kBAxBiB,OAAO"}
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
@@ -1,4 +1,3 @@
1
1
  export default events;
2
- declare const events: EventEmitter<string | symbol, any>;
3
- import { EventEmitter } from "eventemitter3";
2
+ declare const events: any;
4
3
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"/src/","sources":["events.js"],"names":[],"mappings":";AAEA,yDAAiC;6BAFN,eAAe"}
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: React.Context<any>;
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): React.JSX.Element;
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
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"/src/","sources":["form.jsx"],"names":[],"mappings":"AAuDA,uBAoDG;AAnGH,6CAAuC;AAGvC;IACE,wBAGC;IAFC,WAAgB;IAChB,cAA+B;IAGjC,eAWC;IAED,yBAEC;IAED,sCAIC;IAED,6DAMC;IAED,eAIC;CACF;AA5CD,+BAA6C;kBATsB,OAAO"}
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"}
@@ -1,3 +1,3 @@
1
- declare const _default: import("history").BrowserHistory;
1
+ declare const _default: any;
2
2
  export default _default;
3
3
  //# sourceMappingURL=history.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
3
3
  //# sourceMappingURL=checkboxes.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export default inputWrapper;
2
- declare function inputWrapper(WrapperComponentClass: any, wrapperOptions?: {}): (props: any) => React.JSX.Element;
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,uBAU1E;kBAbiB,OAAO"}
1
+ {"version":3,"file":"input-wrapper.d.ts","sourceRoot":"/src/","sources":["inputs/input-wrapper.jsx"],"names":[],"mappings":";AAGA,iFAAsE,UAAK,iBAU1E"}
@@ -1,5 +1,5 @@
1
1
  export { ApiMakerInputsInput as Input };
2
- declare const _default: any;
2
+ declare const _default: (props: any) => JSX.Element;
3
3
  export default _default;
4
4
  declare const ApiMakerInputsInput: any;
5
5
  //# sourceMappingURL=input.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export { ApiMakerInputsSelect as Select };
2
- declare const _default: any;
2
+ declare const _default: (props: any) => JSX.Element;
3
3
  export default _default;
4
4
  declare const ApiMakerInputsSelect: any;
5
5
  //# sourceMappingURL=select.d.ts.map
@@ -106,7 +106,7 @@ export default class ApiMakerModelRecipesModelLoader {
106
106
  };
107
107
  readonly name: any;
108
108
  apiMakerType: string;
109
- attributes(): digg[];
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(): digg;
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(): digg[];
124
- ransackableAttributes(): digg[];
125
- ransackableScopes(): digg[];
126
- reflections(): digg[];
127
- reflection(name: any): digg;
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): FormData;
139
+ _postDataFromArgs(args: any): any;
140
140
  };
141
141
  addAttributeMethodsToModelClass(ModelClass: any, attributes: any): void;
142
142
  addQueryCommandsToModelClass(ModelClass: any, collectionCommands: any): void;
@@ -1,8 +1,8 @@
1
1
  export default Route;
2
- export const RequireComponentContext: React.Context<any>;
3
- export const RouteContext: React.Context<any>;
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,yDAAmD;AACnD,8CAAwC;AACxC,gCAAiD;AAEjD,yBAmOG;kBAjPqD,OAAO"}
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"}
@@ -1,5 +1,4 @@
1
1
  export default Switch;
2
- export const CurrentSwitchContext: React.Context<any[]>;
2
+ export const CurrentSwitchContext: import("react").Context<any[]>;
3
3
  declare const Switch: any;
4
- import React from "react";
5
4
  //# sourceMappingURL=switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"/src/","sources":["router/switch.jsx"],"names":[],"mappings":";AAOA,wDAA8C;AAE9C,0BA+DG;kBAvEgC,OAAO"}
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: React.MemoExoticComponent<(arg0: Record<string, any>) => any>;
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
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"/src/","sources":["router.jsx"],"names":[],"mappings":";;kBAGoC,OAAO"}
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: string;
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: string;
18
+ attribute: any;
19
19
  }[];
20
20
  select: {};
21
21
  };
@@ -1,4 +1,4 @@
1
- export default class ApiMakerUpdatedAttribute extends React.PureComponent<any, any, any> {
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;kBAxFiB,OAAO"}
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: EventEmitter<string | symbol, any>;
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,wDAAiC;AAKjC;;;;;GAKG;AACH,wCAJG;IAAuB,KAAK,GAApB,MAAM;IACU,QAAQ,GAAxB,OAAO;CACf,GAAU,OAAO,iBAAiB,EAAE,OAAO,CAiB7C;6BA7B0B,eAAe"}
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"}
@@ -1,4 +1,3 @@
1
- declare const _default: React.NamedExoticComponent<object>;
1
+ declare const _default: any;
2
2
  export default _default;
3
- import React from "react";
4
3
  //# sourceMappingURL=header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"/src/","sources":["utils/header.jsx"],"names":[],"mappings":";;kBACkB,OAAO"}
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"/src/","sources":["utils/header.jsx"],"names":[],"mappings":""}
@@ -1,4 +1,3 @@
1
- declare function _default(WrappedComponent: any): (props: any) => React.JSX.Element;
1
+ declare function _default(WrappedComponent: any): (props: any) => JSX.Element;
2
2
  export default _default;
3
- import React from "react";
4
3
  //# sourceMappingURL=with-current-user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"with-current-user.d.ts","sourceRoot":"/src/","sources":["with-current-user.jsx"],"names":[],"mappings":"AAGe,mDAAuB,UAAK,uBAM1C;;kBATiB,OAAO"}
1
+ {"version":3,"file":"with-current-user.d.ts","sourceRoot":"/src/","sources":["with-current-user.jsx"],"names":[],"mappings":"AAGe,mDAAuB,UAAK,iBAM1C"}
@@ -1,7 +1,6 @@
1
1
  export default withRouter;
2
2
  declare function withRouter(WrapperComponent: any): {
3
- (props: any): React.JSX.Element;
3
+ (props: any): JSX.Element;
4
4
  displayName: string;
5
5
  };
6
- import React from "react";
7
6
  //# sourceMappingURL=with-router.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"with-router.d.ts","sourceRoot":"/src/","sources":["with-router.jsx"],"names":[],"mappings":";AAGA;;;EAaC;kBAhBiB,OAAO"}
1
+ {"version":3,"file":"with-router.d.ts","sourceRoot":"/src/","sources":["with-router.jsx"],"names":[],"mappings":";AAGA;;;EAaC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kaspernj/api-maker",
3
3
  "type": "module",
4
- "version": "1.0.2061",
4
+ "version": "1.0.2062",
5
5
  "description": "My new module",
6
6
  "files": [
7
7
  "build/**"