@fonderie/react-admin-screens 1.1.0 → 1.2.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/dist/index.cjs +575 -333
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +561 -320
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { AdminClient, ConfigAdminClient, CourierAdminClient, AuthAdminClient, BillingAdminClient, AuditAdminClient } from '@fonderie/client';
|
|
4
4
|
|
|
5
|
-
type AdminPage = 'attention' | 'modules' | 'doctor' | 'environment' | 'routes' | 'migrations' | 'tokens' | 'log' | 'settings' | 'templates' | 'users' | 'catalog' | 'subscriber' | 'audit';
|
|
5
|
+
type AdminPage = 'attention' | 'modules' | 'doctor' | 'environment' | 'routes' | 'migrations' | 'tokens' | 'operators' | 'log' | 'settings' | 'templates' | 'users' | 'catalog' | 'subscriber' | 'audit';
|
|
6
6
|
interface IAdminShellProps {
|
|
7
7
|
client: AdminClient;
|
|
8
8
|
configClient?: ConfigAdminClient;
|
|
@@ -16,8 +16,10 @@ interface IAdminShellProps {
|
|
|
16
16
|
appName?: string;
|
|
17
17
|
envLabel?: string;
|
|
18
18
|
footer?: ReactNode;
|
|
19
|
+
operators?: boolean;
|
|
20
|
+
currentOperator?: string;
|
|
19
21
|
}
|
|
20
|
-
declare function AdminShell({ client, configClient, courierClient, authClient, billingClient, auditClient, environment, page, onNavigate, appName, envLabel, footer, }: IAdminShellProps): react.JSX.Element;
|
|
22
|
+
declare function AdminShell({ client, configClient, courierClient, authClient, billingClient, auditClient, environment, page, onNavigate, appName, envLabel, footer, operators, currentOperator, }: IAdminShellProps): react.JSX.Element;
|
|
21
23
|
|
|
22
24
|
interface IAttentionScreenProps {
|
|
23
25
|
client: AdminClient;
|
|
@@ -83,4 +85,10 @@ interface IAuditScreenProps {
|
|
|
83
85
|
}
|
|
84
86
|
declare function AuditScreen({ client, pageSize }: IAuditScreenProps): react.JSX.Element;
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
interface IOperatorsScreenProps {
|
|
89
|
+
client: AdminClient;
|
|
90
|
+
me?: string | undefined;
|
|
91
|
+
}
|
|
92
|
+
declare function OperatorsScreen({ client, me }: IOperatorsScreenProps): react.JSX.Element;
|
|
93
|
+
|
|
94
|
+
export { AdminLogScreen, type AdminPage, AdminShell, AttentionScreen, AuditScreen, CatalogScreen, DoctorScreen, EnvironmentScreen, type IAdminLogScreenProps, type IAdminShellProps, type IAttentionScreenProps, type IAuditScreenProps, type ICatalogScreenProps, type IDoctorScreenProps, type IEnvironmentScreenProps, type IMigrationsScreenProps, type IModulesScreenProps, type IOperatorsScreenProps, type IRoutesScreenProps, type ISubscriberScreenProps, type ITokensScreenProps, type IUsersScreenProps, MigrationsScreen, ModulesScreen, OperatorsScreen, RoutesScreen, SubscriberScreen, TokensScreen, UsersScreen };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { AdminClient, ConfigAdminClient, CourierAdminClient, AuthAdminClient, BillingAdminClient, AuditAdminClient } from '@fonderie/client';
|
|
4
4
|
|
|
5
|
-
type AdminPage = 'attention' | 'modules' | 'doctor' | 'environment' | 'routes' | 'migrations' | 'tokens' | 'log' | 'settings' | 'templates' | 'users' | 'catalog' | 'subscriber' | 'audit';
|
|
5
|
+
type AdminPage = 'attention' | 'modules' | 'doctor' | 'environment' | 'routes' | 'migrations' | 'tokens' | 'operators' | 'log' | 'settings' | 'templates' | 'users' | 'catalog' | 'subscriber' | 'audit';
|
|
6
6
|
interface IAdminShellProps {
|
|
7
7
|
client: AdminClient;
|
|
8
8
|
configClient?: ConfigAdminClient;
|
|
@@ -16,8 +16,10 @@ interface IAdminShellProps {
|
|
|
16
16
|
appName?: string;
|
|
17
17
|
envLabel?: string;
|
|
18
18
|
footer?: ReactNode;
|
|
19
|
+
operators?: boolean;
|
|
20
|
+
currentOperator?: string;
|
|
19
21
|
}
|
|
20
|
-
declare function AdminShell({ client, configClient, courierClient, authClient, billingClient, auditClient, environment, page, onNavigate, appName, envLabel, footer, }: IAdminShellProps): react.JSX.Element;
|
|
22
|
+
declare function AdminShell({ client, configClient, courierClient, authClient, billingClient, auditClient, environment, page, onNavigate, appName, envLabel, footer, operators, currentOperator, }: IAdminShellProps): react.JSX.Element;
|
|
21
23
|
|
|
22
24
|
interface IAttentionScreenProps {
|
|
23
25
|
client: AdminClient;
|
|
@@ -83,4 +85,10 @@ interface IAuditScreenProps {
|
|
|
83
85
|
}
|
|
84
86
|
declare function AuditScreen({ client, pageSize }: IAuditScreenProps): react.JSX.Element;
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
interface IOperatorsScreenProps {
|
|
89
|
+
client: AdminClient;
|
|
90
|
+
me?: string | undefined;
|
|
91
|
+
}
|
|
92
|
+
declare function OperatorsScreen({ client, me }: IOperatorsScreenProps): react.JSX.Element;
|
|
93
|
+
|
|
94
|
+
export { AdminLogScreen, type AdminPage, AdminShell, AttentionScreen, AuditScreen, CatalogScreen, DoctorScreen, EnvironmentScreen, type IAdminLogScreenProps, type IAdminShellProps, type IAttentionScreenProps, type IAuditScreenProps, type ICatalogScreenProps, type IDoctorScreenProps, type IEnvironmentScreenProps, type IMigrationsScreenProps, type IModulesScreenProps, type IOperatorsScreenProps, type IRoutesScreenProps, type ISubscriberScreenProps, type ITokensScreenProps, type IUsersScreenProps, MigrationsScreen, ModulesScreen, OperatorsScreen, RoutesScreen, SubscriberScreen, TokensScreen, UsersScreen };
|