@raystack/frontier 0.90.0 → 0.91.1-test4

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.
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as _raystack_proton_frontier from '@raystack/proton/frontier';
3
3
  import { RQLRequest, RQLQueryPaginationResponse, RQLQueryGroupResponse } from '@raystack/proton/frontier';
4
+ import React from 'react';
4
5
  import * as _bufbuild_protobuf from '@bufbuild/protobuf';
5
6
  import { DataTableQuery } from '@raystack/apsara';
6
7
 
@@ -39,8 +40,86 @@ declare function ProductPricesView({ productId, appName, onBreadcrumbClick, }: P
39
40
  type AuditLogsViewProps = {
40
41
  appName?: string;
41
42
  onExportCsv?: (query: RQLRequest) => Promise<void>;
43
+ onNavigate?: (path: string) => void;
42
44
  };
43
- declare function AuditLogsView({ appName, onExportCsv }?: AuditLogsViewProps): react_jsx_runtime.JSX.Element;
45
+ declare function AuditLogsView({ appName, onExportCsv, onNavigate }?: AuditLogsViewProps): react_jsx_runtime.JSX.Element;
46
+
47
+ type AdminsViewProps = {
48
+ onNavigateToOrg?: (orgId: string) => void;
49
+ };
50
+ declare function AdminsView({ onNavigateToOrg }?: AdminsViewProps): react_jsx_runtime.JSX.Element;
51
+
52
+ type PlansViewProps = {
53
+ selectedPlanId?: string;
54
+ onCloseDetail?: () => void;
55
+ onSelectPlan?: (planId: string) => void;
56
+ appName?: string;
57
+ };
58
+ declare function PlansView({ selectedPlanId, onCloseDetail, onSelectPlan, appName, }?: PlansViewProps): react_jsx_runtime.JSX.Element;
59
+
60
+ type WebhooksViewProps = {
61
+ selectedWebhookId?: string;
62
+ createOpen?: boolean;
63
+ onCloseDetail?: () => void;
64
+ onSelectWebhook?: (id: string) => void;
65
+ onOpenCreate?: () => void;
66
+ enableDelete?: boolean;
67
+ };
68
+ declare function WebhooksView({ selectedWebhookId, createOpen, onCloseDetail, onSelectWebhook, onOpenCreate, enableDelete, }?: WebhooksViewProps): react_jsx_runtime.JSX.Element;
69
+
70
+ type PreferencesViewProps = {
71
+ selectedPreferenceName?: string;
72
+ onCloseDetail?: () => void;
73
+ onSelectPreference?: (name: string) => void;
74
+ };
75
+ declare function PreferencesView({ selectedPreferenceName, onCloseDetail, onSelectPreference, }?: PreferencesViewProps): react_jsx_runtime.JSX.Element;
76
+
77
+ type UsersViewProps = {
78
+ selectedUserId?: string;
79
+ onCloseDetail?: () => void;
80
+ onExportUsers?: () => Promise<void>;
81
+ onNavigateToUser?: (userId: string) => void;
82
+ currentPath?: string;
83
+ onNavigate?: (path: string) => void;
84
+ };
85
+ declare function UsersView({ selectedUserId, onCloseDetail, onExportUsers, onNavigateToUser, currentPath, onNavigate, }?: UsersViewProps): react_jsx_runtime.JSX.Element;
86
+
87
+ type OrganizationListProps = {
88
+ appName?: string;
89
+ onNavigateToOrg?: (id: string) => void;
90
+ onExportCsv?: () => Promise<void>;
91
+ organizationTypes?: string[];
92
+ appUrl?: string;
93
+ countries?: string[];
94
+ };
95
+ declare const OrganizationList: ({ appName, onNavigateToOrg, onExportCsv, organizationTypes, appUrl, countries, }?: OrganizationListProps) => react_jsx_runtime.JSX.Element;
96
+
97
+ type OrganizationDetailsProps = {
98
+ organizationId: string | undefined;
99
+ onExportMembers?: () => Promise<void>;
100
+ onExportProjects?: () => Promise<void>;
101
+ onExportTokens?: () => Promise<void>;
102
+ appUrl?: string;
103
+ tokenProductId?: string;
104
+ countries?: string[];
105
+ organizationTypes?: string[];
106
+ currentPath: string;
107
+ onNavigate: (path: string) => void;
108
+ children?: React.ReactNode;
109
+ };
110
+ declare const OrganizationDetails: ({ organizationId, onExportMembers, onExportProjects, onExportTokens, appUrl, tokenProductId, countries, organizationTypes, currentPath, onNavigate, children, }: OrganizationDetailsProps) => react_jsx_runtime.JSX.Element;
111
+
112
+ declare const OrganizationSecurity: () => react_jsx_runtime.JSX.Element;
113
+
114
+ declare function OrganizationMembersPage(): react_jsx_runtime.JSX.Element;
115
+
116
+ declare function OrganizationProjectssPage(): react_jsx_runtime.JSX.Element;
117
+
118
+ declare function OrganizationInvoicesPage(): react_jsx_runtime.JSX.Element;
119
+
120
+ declare function OrganizationTokensPage(): react_jsx_runtime.JSX.Element;
121
+
122
+ declare function OrganizationApisPage(): react_jsx_runtime.JSX.Element;
44
123
 
45
124
  declare const DEFAULT_PAGE_SIZE = 50;
46
125
  type ConnectRPCPaginatedResponse = {
@@ -74,4 +153,4 @@ interface TransformOptions {
74
153
  }
75
154
  declare function transformDataTableQueryToRQLRequest(query: DataTableQuery, options?: TransformOptions): RQLRequest;
76
155
 
77
- export { AuditLogsView, ConnectRPCPaginatedResponse, DEFAULT_PAGE_SIZE, InvoicesView, ProductPricesView, ProductsView, RolesView, TransformOptions, getConnectNextPageParam, getGroupCountMapFromFirstPage, transformDataTableQueryToRQLRequest };
156
+ export { AdminsView, AuditLogsView, ConnectRPCPaginatedResponse, DEFAULT_PAGE_SIZE, InvoicesView, OrganizationApisPage, OrganizationDetails, OrganizationDetailsProps, OrganizationInvoicesPage, OrganizationList, OrganizationListProps, OrganizationMembersPage, OrganizationProjectssPage, OrganizationSecurity, OrganizationTokensPage, PlansView, PreferencesView, ProductPricesView, ProductsView, RolesView, TransformOptions, UsersView, WebhooksView, getConnectNextPageParam, getGroupCountMapFromFirstPage, transformDataTableQueryToRQLRequest };