@raystack/frontier 0.97.0 → 0.99.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/admin/dist/index.js +165 -161
- package/admin/dist/index.mjs +220 -216
- package/hooks/dist/index.d.ts +1 -0
- package/hooks/dist/index.js +3 -0
- package/hooks/dist/index.mjs +3 -0
- package/package.json +2 -2
- package/react/dist/index.d.ts +20 -1
- package/react/dist/index.js +8202 -3326
- package/react/dist/index.mjs +8544 -3518
package/hooks/dist/index.d.ts
CHANGED
package/hooks/dist/index.js
CHANGED
|
@@ -59,6 +59,9 @@ function handleConnectError(error, handlers) {
|
|
|
59
59
|
case import_connect.Code.NotFound:
|
|
60
60
|
(handlers == null ? void 0 : handlers.NotFound) ? handlers.NotFound(connectError) : defaultHandler(connectError);
|
|
61
61
|
break;
|
|
62
|
+
case import_connect.Code.FailedPrecondition:
|
|
63
|
+
(handlers == null ? void 0 : handlers.FailedPrecondition) ? handlers.FailedPrecondition(connectError) : defaultHandler(connectError);
|
|
64
|
+
break;
|
|
62
65
|
default:
|
|
63
66
|
defaultHandler(connectError);
|
|
64
67
|
}
|
package/hooks/dist/index.mjs
CHANGED
|
@@ -32,6 +32,9 @@ function handleConnectError(error, handlers) {
|
|
|
32
32
|
case Code.NotFound:
|
|
33
33
|
(handlers == null ? void 0 : handlers.NotFound) ? handlers.NotFound(connectError) : defaultHandler(connectError);
|
|
34
34
|
break;
|
|
35
|
+
case Code.FailedPrecondition:
|
|
36
|
+
(handlers == null ? void 0 : handlers.FailedPrecondition) ? handlers.FailedPrecondition(connectError) : defaultHandler(connectError);
|
|
37
|
+
break;
|
|
35
38
|
default:
|
|
36
39
|
defaultHandler(connectError);
|
|
37
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raystack/frontier",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.99.0",
|
|
4
4
|
"description": "A js library for frontier",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@connectrpc/connect-web": "2.1.1",
|
|
103
103
|
"@hookform/resolvers": "^3.10.0",
|
|
104
104
|
"@raystack/apsara-v1": "npm:@raystack/apsara@1.0.0-rc.2",
|
|
105
|
-
"@raystack/proton": "0.1.0-
|
|
105
|
+
"@raystack/proton": "0.1.0-3b6b44c18601494a2e8201f26cbf9c8335f0f0ea",
|
|
106
106
|
"@tanstack/react-query": "^5.90.2",
|
|
107
107
|
"@tanstack/react-router": "^1.168.3",
|
|
108
108
|
"axios": "^1.9.0",
|
package/react/dist/index.d.ts
CHANGED
|
@@ -491,6 +491,11 @@ interface ProjectDetailsViewProps {
|
|
|
491
491
|
}
|
|
492
492
|
declare function ProjectDetailsView({ projectId, projectsLabel, onNavigateToProjects, onDeleteSuccess }: ProjectDetailsViewProps): react_jsx_runtime.JSX.Element;
|
|
493
493
|
|
|
494
|
+
interface BillingViewProps {
|
|
495
|
+
onNavigateToPlans?: () => void;
|
|
496
|
+
}
|
|
497
|
+
declare function BillingView({ onNavigateToPlans }: BillingViewProps): react_jsx_runtime.JSX.Element;
|
|
498
|
+
|
|
494
499
|
declare function TokensView(): react_jsx_runtime.JSX.Element;
|
|
495
500
|
|
|
496
501
|
interface TeamsViewProps {
|
|
@@ -521,6 +526,20 @@ interface ServiceAccountDetailsViewProps {
|
|
|
521
526
|
}
|
|
522
527
|
declare function ServiceAccountDetailsView({ serviceAccountId, serviceAccountsLabel, onNavigateToServiceAccounts, onDeleteSuccess }: ServiceAccountDetailsViewProps): react_jsx_runtime.JSX.Element;
|
|
523
528
|
|
|
529
|
+
declare function PlansView(): react_jsx_runtime.JSX.Element;
|
|
530
|
+
|
|
531
|
+
interface PatsViewProps {
|
|
532
|
+
onPATClick?: (patId: string) => void;
|
|
533
|
+
}
|
|
534
|
+
declare function PatsView({ onPATClick }?: PatsViewProps): react_jsx_runtime.JSX.Element;
|
|
535
|
+
|
|
536
|
+
interface PATDetailsViewProps {
|
|
537
|
+
patId: string;
|
|
538
|
+
onNavigateToPats?: () => void;
|
|
539
|
+
onDeleteSuccess?: () => void;
|
|
540
|
+
}
|
|
541
|
+
declare function PATDetailsView({ patId, onNavigateToPats, onDeleteSuccess }: PATDetailsViewProps): react_jsx_runtime.JSX.Element;
|
|
542
|
+
|
|
524
543
|
declare const PREFERENCE_OPTIONS: {
|
|
525
544
|
readonly NEWSLETTER: "newsletter";
|
|
526
545
|
};
|
|
@@ -539,4 +558,4 @@ declare function timestampToDayjs(timestamp?: Timestamp): Dayjs | null;
|
|
|
539
558
|
declare function isNullTimestamp(timestamp?: Timestamp): boolean;
|
|
540
559
|
type TimeStamp = Timestamp;
|
|
541
560
|
|
|
542
|
-
export { AvatarUpload, Container, CreateOrganization, CustomizationProvider, FrontierClientBillingOptions, FrontierClientCustomizationOptions, FrontierClientOptions, FrontierProvider, GeneralView, Header, ImageUpload, Layout, MagicLink, MagicLinkVerify, MembersView, OrganizationProfile, PREFERENCE_OPTIONS, PageHeader, PreferenceRow, PreferencesView, ProfileView, ProjectDetailsView, ProjectsView, SecurityView, ServiceAccountDetailsView, ServiceAccountsView, SessionsView, SignIn, SignUp, Subscribe, TeamDetailsView, TeamsView, TimeStamp, TokensView, Updates, ViewContainer, ViewHeader, Window, isNullTimestamp, queryClient, timestampToDate, timestampToDayjs, useBillingPermission, useConnectQueryPolling, useFrontier, usePreferences, useTerminology, useTokens };
|
|
561
|
+
export { AvatarUpload, BillingView, Container, CreateOrganization, CustomizationProvider, FrontierClientBillingOptions, FrontierClientCustomizationOptions, FrontierClientOptions, FrontierProvider, GeneralView, Header, ImageUpload, Layout, MagicLink, MagicLinkVerify, MembersView, OrganizationProfile, PATDetailsView, PREFERENCE_OPTIONS, PageHeader, PatsView, PlansView, PreferenceRow, PreferencesView, ProfileView, ProjectDetailsView, ProjectsView, SecurityView, ServiceAccountDetailsView, ServiceAccountsView, SessionsView, SignIn, SignUp, Subscribe, TeamDetailsView, TeamsView, TimeStamp, TokensView, Updates, ViewContainer, ViewHeader, Window, isNullTimestamp, queryClient, timestampToDate, timestampToDayjs, useBillingPermission, useConnectQueryPolling, useFrontier, usePreferences, useTerminology, useTokens };
|