@frontegg/redux-store 7.75.0-alpha.2 → 7.75.0
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/audits/index.d.ts +2 -1
- package/auth/index.d.ts +2 -1
- package/index.js +1 -1
- package/interfaces.d.ts +1 -3
- package/node/index.js +1 -1
- package/node/types.js +5 -0
- package/package.json +2 -2
- package/subscriptions/Billing/index.d.ts +2 -1
- package/subscriptions/index.d.ts +2 -1
- package/toolkit/store.d.ts +2 -1
- package/types.d.ts +3 -0
- package/types.js +1 -0
package/audits/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { buildAuditLogsActions } from './AuditLogsState';
|
|
2
2
|
import { buildAuditsMetadataActions } from './AuditsMetadataState';
|
|
3
|
-
import {
|
|
3
|
+
import { FronteggState, RestApi, SharedActions } from '../interfaces';
|
|
4
|
+
import { DeepPartial } from '../types';
|
|
4
5
|
import { AuditsState } from './interfaces';
|
|
5
6
|
export declare const createAuditsState: (overrideState?: DeepPartial<AuditsState>) => AuditsState;
|
|
6
7
|
export declare const buildAuditsActions: (store: FronteggState, api: RestApi, sharedActions: SharedActions) => {
|
package/auth/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FronteggActions, FronteggState, RestApi } from '../interfaces';
|
|
2
|
+
import { DeepPartial } from '../types';
|
|
2
3
|
import { AuthState, SingleErrorByRequestDataPayload, User } from './interfaces';
|
|
3
4
|
import { buildAcceptInvitationActions } from './AcceptInvitationState';
|
|
4
5
|
import { buildAccountSettingsActions } from './AccountSettingsState';
|
package/index.js
CHANGED
package/interfaces.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { AuditsState } from './audits/interfaces';
|
|
|
11
11
|
import { AuditsActions } from './audits';
|
|
12
12
|
import { OldAuditsState } from './audits-backward-compatibility/interfaces';
|
|
13
13
|
import { OldAuditsActions } from './audits-backward-compatibility';
|
|
14
|
+
import { DeepPartial } from './types';
|
|
14
15
|
/**
|
|
15
16
|
* @deprecated use FronteggStore instead
|
|
16
17
|
*/
|
|
@@ -110,6 +111,3 @@ export type LoaderIndicatorState<T extends string, V = string | boolean> = Parti
|
|
|
110
111
|
export type ErrorsIndicatorState<T extends string> = Partial<{
|
|
111
112
|
[key in T]: FronteggApiError | boolean;
|
|
112
113
|
}>;
|
|
113
|
-
export type DeepPartial<T> = {
|
|
114
|
-
[P in keyof T]?: T[P] extends any[] | undefined ? T[P] : T[P] extends Function ? T[P] : T[P] extends object | undefined ? Partial<T[P]> : T[P];
|
|
115
|
-
};
|
package/node/index.js
CHANGED
package/node/types.js
ADDED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/redux-store",
|
|
3
|
-
"version": "7.75.0
|
|
3
|
+
"version": "7.75.0",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Frontegg LTD",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
9
|
"@frontegg/entitlements-javascript-commons": "1.1.2",
|
|
10
|
-
"@frontegg/rest-api": "7.75.0
|
|
10
|
+
"@frontegg/rest-api": "7.75.0",
|
|
11
11
|
"fast-deep-equal": "3.1.3",
|
|
12
12
|
"get-value": "^3.0.1",
|
|
13
13
|
"proxy-compare": "^3.0.0",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FronteggState, RestApi, SharedActions } from '../../interfaces';
|
|
2
|
+
import { DeepPartial } from '../../types';
|
|
2
3
|
import { BillingState } from './interfaces';
|
|
3
4
|
import { buildInformationActions } from './Information';
|
|
4
5
|
import { buildInvoicesActions } from './Invoices';
|
package/subscriptions/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FronteggActions, FronteggState, RestApi } from '../interfaces';
|
|
2
|
+
import { DeepPartial } from '../types';
|
|
2
3
|
export * from './Checkout/interfaces';
|
|
3
4
|
export * from './Billing/interfaces';
|
|
4
5
|
export * from './Plans/interfaces';
|
package/toolkit/store.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContextOptions } from '@frontegg/rest-api';
|
|
2
|
-
import {
|
|
2
|
+
import { FronteggActions, FronteggStateActions, FronteggStore, PartialFronteggState, RootState } from '../interfaces';
|
|
3
|
+
import { DeepPartial } from '../types';
|
|
3
4
|
import { AuthState } from '../auth';
|
|
4
5
|
export * from '../auth';
|
|
5
6
|
export * from '../interfaces';
|
package/types.d.ts
ADDED
package/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|