@burdenoff/microfe-devportal 2026.510.110
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/README.md +12 -0
- package/dist/__tests__/setup.d.ts +2 -0
- package/dist/__tests__/setup.d.ts.map +1 -0
- package/dist/__tests__/utils/renderWithProviders.d.ts +32 -0
- package/dist/__tests__/utils/renderWithProviders.d.ts.map +1 -0
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/dev/main.d.ts +8 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/devportal/AdminDevportalRoot.d.ts +17 -0
- package/dist/devportal/AdminDevportalRoot.d.ts.map +1 -0
- package/dist/devportal/AdminDevportalRoot.js +63 -0
- package/dist/devportal/AdminDevportalRoot.js.map +1 -0
- package/dist/devportal/AdminDevportalRoutes.d.ts +2 -0
- package/dist/devportal/AdminDevportalRoutes.d.ts.map +1 -0
- package/dist/devportal/AdminDevportalRoutes.js +41 -0
- package/dist/devportal/AdminDevportalRoutes.js.map +1 -0
- package/dist/devportal/DevportalRoot.d.ts +30 -0
- package/dist/devportal/DevportalRoot.d.ts.map +1 -0
- package/dist/devportal/DevportalRoot.js +138 -0
- package/dist/devportal/DevportalRoot.js.map +1 -0
- package/dist/devportal/DevportalRoutes.d.ts +18 -0
- package/dist/devportal/DevportalRoutes.d.ts.map +1 -0
- package/dist/devportal/DevportalRoutes.js +174 -0
- package/dist/devportal/DevportalRoutes.js.map +1 -0
- package/dist/devportal/components/AppCard.d.ts +35 -0
- package/dist/devportal/components/AppCard.d.ts.map +1 -0
- package/dist/devportal/components/AppCard.js +145 -0
- package/dist/devportal/components/AppCard.js.map +1 -0
- package/dist/devportal/components/ConfirmDialog.d.ts +29 -0
- package/dist/devportal/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/devportal/components/ConfirmDialog.js +154 -0
- package/dist/devportal/components/ConfirmDialog.js.map +1 -0
- package/dist/devportal/components/DataTable.d.ts +41 -0
- package/dist/devportal/components/DataTable.d.ts.map +1 -0
- package/dist/devportal/components/DataTable.js +126 -0
- package/dist/devportal/components/DataTable.js.map +1 -0
- package/dist/devportal/components/EmptyState.d.ts +15 -0
- package/dist/devportal/components/EmptyState.d.ts.map +1 -0
- package/dist/devportal/components/EmptyState.js +28 -0
- package/dist/devportal/components/EmptyState.js.map +1 -0
- package/dist/devportal/components/FeatureFlaggedRoute.d.ts +10 -0
- package/dist/devportal/components/FeatureFlaggedRoute.d.ts.map +1 -0
- package/dist/devportal/components/FeatureFlaggedRoute.js +29 -0
- package/dist/devportal/components/FeatureFlaggedRoute.js.map +1 -0
- package/dist/devportal/components/FormField.d.ts +70 -0
- package/dist/devportal/components/FormField.d.ts.map +1 -0
- package/dist/devportal/components/FormField.js +177 -0
- package/dist/devportal/components/FormField.js.map +1 -0
- package/dist/devportal/components/GrantDelegationModal.d.ts +23 -0
- package/dist/devportal/components/GrantDelegationModal.d.ts.map +1 -0
- package/dist/devportal/components/GrantDelegationModal.js +359 -0
- package/dist/devportal/components/GrantDelegationModal.js.map +1 -0
- package/dist/devportal/components/LoadingState.d.ts +31 -0
- package/dist/devportal/components/LoadingState.d.ts.map +1 -0
- package/dist/devportal/components/LoadingState.js +32 -0
- package/dist/devportal/components/LoadingState.js.map +1 -0
- package/dist/devportal/components/PageLayout.d.ts +28 -0
- package/dist/devportal/components/PageLayout.d.ts.map +1 -0
- package/dist/devportal/components/PageLayout.js +63 -0
- package/dist/devportal/components/PageLayout.js.map +1 -0
- package/dist/devportal/components/PermissionGuard.d.ts +15 -0
- package/dist/devportal/components/PermissionGuard.d.ts.map +1 -0
- package/dist/devportal/components/PermissionGuard.js +36 -0
- package/dist/devportal/components/PermissionGuard.js.map +1 -0
- package/dist/devportal/components/SecretDisplay.d.ts +32 -0
- package/dist/devportal/components/SecretDisplay.d.ts.map +1 -0
- package/dist/devportal/components/SecretDisplay.js +119 -0
- package/dist/devportal/components/SecretDisplay.js.map +1 -0
- package/dist/devportal/components/SelectionCheckbox.d.ts +11 -0
- package/dist/devportal/components/SelectionCheckbox.d.ts.map +1 -0
- package/dist/devportal/components/SelectionCheckbox.js +26 -0
- package/dist/devportal/components/SelectionCheckbox.js.map +1 -0
- package/dist/devportal/components/StatCard.d.ts +27 -0
- package/dist/devportal/components/StatCard.d.ts.map +1 -0
- package/dist/devportal/components/StatCard.js +54 -0
- package/dist/devportal/components/StatCard.js.map +1 -0
- package/dist/devportal/components/StatusBadge.d.ts +33 -0
- package/dist/devportal/components/StatusBadge.d.ts.map +1 -0
- package/dist/devportal/components/StatusBadge.js +49 -0
- package/dist/devportal/components/StatusBadge.js.map +1 -0
- package/dist/devportal/components/TelemetryErrorBoundary.d.ts +11 -0
- package/dist/devportal/components/TelemetryErrorBoundary.d.ts.map +1 -0
- package/dist/devportal/components/TelemetryErrorBoundary.js +49 -0
- package/dist/devportal/components/TelemetryErrorBoundary.js.map +1 -0
- package/dist/devportal/components/index.d.ts +20 -0
- package/dist/devportal/components/index.d.ts.map +1 -0
- package/dist/devportal/components/index.js +14 -0
- package/dist/devportal/constants/permissions.d.ts +90 -0
- package/dist/devportal/constants/permissions.d.ts.map +1 -0
- package/dist/devportal/constants/permissions.js +65 -0
- package/dist/devportal/constants/permissions.js.map +1 -0
- package/dist/devportal/events/index.d.ts +19 -0
- package/dist/devportal/events/index.d.ts.map +1 -0
- package/dist/devportal/events/index.js +28 -0
- package/dist/devportal/events/index.js.map +1 -0
- package/dist/devportal/hooks/DevPortalProvider.d.ts +18 -0
- package/dist/devportal/hooks/DevPortalProvider.d.ts.map +1 -0
- package/dist/devportal/hooks/DevPortalProvider.js +14 -0
- package/dist/devportal/hooks/DevPortalProvider.js.map +1 -0
- package/dist/devportal/hooks/index.d.ts +10 -0
- package/dist/devportal/hooks/index.d.ts.map +1 -0
- package/dist/devportal/hooks/index.js +4 -0
- package/dist/devportal/hooks/useGraphQL.d.ts +56 -0
- package/dist/devportal/hooks/useGraphQL.d.ts.map +1 -0
- package/dist/devportal/hooks/useGraphQL.js +223 -0
- package/dist/devportal/hooks/useGraphQL.js.map +1 -0
- package/dist/devportal/hooks/usePermission.d.ts +24 -0
- package/dist/devportal/hooks/usePermission.d.ts.map +1 -0
- package/dist/devportal/hooks/usePermission.js +20 -0
- package/dist/devportal/hooks/usePermission.js.map +1 -0
- package/dist/devportal/index.d.ts +36 -0
- package/dist/devportal/index.d.ts.map +1 -0
- package/dist/devportal/index.js +12 -0
- package/dist/devportal/pages/AdminReviewPage.d.ts +4 -0
- package/dist/devportal/pages/AdminReviewPage.d.ts.map +1 -0
- package/dist/devportal/pages/AdminReviewPage.js +344 -0
- package/dist/devportal/pages/AdminReviewPage.js.map +1 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.d.ts +4 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.d.ts.map +1 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.js +349 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.js.map +1 -0
- package/dist/devportal/pages/ApiKeysPage.d.ts +12 -0
- package/dist/devportal/pages/ApiKeysPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApiKeysPage.js +481 -0
- package/dist/devportal/pages/ApiKeysPage.js.map +1 -0
- package/dist/devportal/pages/AppLogsPage.d.ts +4 -0
- package/dist/devportal/pages/AppLogsPage.d.ts.map +1 -0
- package/dist/devportal/pages/AppLogsPage.js +196 -0
- package/dist/devportal/pages/AppLogsPage.js.map +1 -0
- package/dist/devportal/pages/ApplicationDetailPage.d.ts +7 -0
- package/dist/devportal/pages/ApplicationDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApplicationDetailPage.js +1269 -0
- package/dist/devportal/pages/ApplicationDetailPage.js.map +1 -0
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts +4 -0
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApplicationVersionsPage.js +384 -0
- package/dist/devportal/pages/ApplicationVersionsPage.js.map +1 -0
- package/dist/devportal/pages/ApplicationsPage.d.ts +10 -0
- package/dist/devportal/pages/ApplicationsPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApplicationsPage.js +357 -0
- package/dist/devportal/pages/ApplicationsPage.js.map +1 -0
- package/dist/devportal/pages/CreateApiKeyPage.d.ts +11 -0
- package/dist/devportal/pages/CreateApiKeyPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateApiKeyPage.js +285 -0
- package/dist/devportal/pages/CreateApiKeyPage.js.map +1 -0
- package/dist/devportal/pages/CreateApplicationPage.d.ts +7 -0
- package/dist/devportal/pages/CreateApplicationPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateApplicationPage.js +422 -0
- package/dist/devportal/pages/CreateApplicationPage.js.map +1 -0
- package/dist/devportal/pages/CreateOAuthClientPage.d.ts +10 -0
- package/dist/devportal/pages/CreateOAuthClientPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateOAuthClientPage.js +251 -0
- package/dist/devportal/pages/CreateOAuthClientPage.js.map +1 -0
- package/dist/devportal/pages/CreateOrganizationPage.d.ts +7 -0
- package/dist/devportal/pages/CreateOrganizationPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateOrganizationPage.js +499 -0
- package/dist/devportal/pages/CreateOrganizationPage.js.map +1 -0
- package/dist/devportal/pages/CreateWebhookPage.d.ts +4 -0
- package/dist/devportal/pages/CreateWebhookPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateWebhookPage.js +283 -0
- package/dist/devportal/pages/CreateWebhookPage.js.map +1 -0
- package/dist/devportal/pages/DashboardPage.d.ts +10 -0
- package/dist/devportal/pages/DashboardPage.d.ts.map +1 -0
- package/dist/devportal/pages/DashboardPage.js +257 -0
- package/dist/devportal/pages/DashboardPage.js.map +1 -0
- package/dist/devportal/pages/DelegationsPage.d.ts +12 -0
- package/dist/devportal/pages/DelegationsPage.d.ts.map +1 -0
- package/dist/devportal/pages/DelegationsPage.js +602 -0
- package/dist/devportal/pages/DelegationsPage.js.map +1 -0
- package/dist/devportal/pages/DocumentationPage.d.ts +4 -0
- package/dist/devportal/pages/DocumentationPage.d.ts.map +1 -0
- package/dist/devportal/pages/DocumentationPage.js +349 -0
- package/dist/devportal/pages/DocumentationPage.js.map +1 -0
- package/dist/devportal/pages/EditApplicationPage.d.ts +7 -0
- package/dist/devportal/pages/EditApplicationPage.d.ts.map +1 -0
- package/dist/devportal/pages/EditApplicationPage.js +569 -0
- package/dist/devportal/pages/EditApplicationPage.js.map +1 -0
- package/dist/devportal/pages/ListingPreviewPage.d.ts +4 -0
- package/dist/devportal/pages/ListingPreviewPage.d.ts.map +1 -0
- package/dist/devportal/pages/ListingPreviewPage.js +353 -0
- package/dist/devportal/pages/ListingPreviewPage.js.map +1 -0
- package/dist/devportal/pages/OAuthClientDetailPage.d.ts +10 -0
- package/dist/devportal/pages/OAuthClientDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/OAuthClientDetailPage.js +332 -0
- package/dist/devportal/pages/OAuthClientDetailPage.js.map +1 -0
- package/dist/devportal/pages/OAuthClientsPage.d.ts +11 -0
- package/dist/devportal/pages/OAuthClientsPage.d.ts.map +1 -0
- package/dist/devportal/pages/OAuthClientsPage.js +289 -0
- package/dist/devportal/pages/OAuthClientsPage.js.map +1 -0
- package/dist/devportal/pages/OrganizationDetailPage.d.ts +7 -0
- package/dist/devportal/pages/OrganizationDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/OrganizationDetailPage.js +635 -0
- package/dist/devportal/pages/OrganizationDetailPage.js.map +1 -0
- package/dist/devportal/pages/OrganizationMembersPage.d.ts +4 -0
- package/dist/devportal/pages/OrganizationMembersPage.d.ts.map +1 -0
- package/dist/devportal/pages/OrganizationMembersPage.js +559 -0
- package/dist/devportal/pages/OrganizationMembersPage.js.map +1 -0
- package/dist/devportal/pages/OrganizationsPage.d.ts +10 -0
- package/dist/devportal/pages/OrganizationsPage.d.ts.map +1 -0
- package/dist/devportal/pages/OrganizationsPage.js +199 -0
- package/dist/devportal/pages/OrganizationsPage.js.map +1 -0
- package/dist/devportal/pages/PublishPage.d.ts +4 -0
- package/dist/devportal/pages/PublishPage.d.ts.map +1 -0
- package/dist/devportal/pages/PublishPage.js +349 -0
- package/dist/devportal/pages/PublishPage.js.map +1 -0
- package/dist/devportal/pages/PublisherProfilePage.d.ts +12 -0
- package/dist/devportal/pages/PublisherProfilePage.d.ts.map +1 -0
- package/dist/devportal/pages/PublisherProfilePage.js +258 -0
- package/dist/devportal/pages/PublisherProfilePage.js.map +1 -0
- package/dist/devportal/pages/ResourcesPage.d.ts +4 -0
- package/dist/devportal/pages/ResourcesPage.d.ts.map +1 -0
- package/dist/devportal/pages/ResourcesPage.js +536 -0
- package/dist/devportal/pages/ResourcesPage.js.map +1 -0
- package/dist/devportal/pages/RevenueDashboardPage.d.ts +4 -0
- package/dist/devportal/pages/RevenueDashboardPage.d.ts.map +1 -0
- package/dist/devportal/pages/RevenueRedirectPage.d.ts +4 -0
- package/dist/devportal/pages/RevenueRedirectPage.d.ts.map +1 -0
- package/dist/devportal/pages/RevenueRedirectPage.js +14 -0
- package/dist/devportal/pages/RevenueRedirectPage.js.map +1 -0
- package/dist/devportal/pages/SettingsPage.d.ts +4 -0
- package/dist/devportal/pages/SettingsPage.d.ts.map +1 -0
- package/dist/devportal/pages/SettingsPage.js +365 -0
- package/dist/devportal/pages/SettingsPage.js.map +1 -0
- package/dist/devportal/pages/StoreSubmissionPage.d.ts +4 -0
- package/dist/devportal/pages/StoreSubmissionPage.d.ts.map +1 -0
- package/dist/devportal/pages/StoreSubmissionPage.js +333 -0
- package/dist/devportal/pages/StoreSubmissionPage.js.map +1 -0
- package/dist/devportal/pages/WebhookDetailPage.d.ts +4 -0
- package/dist/devportal/pages/WebhookDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/WebhookDetailPage.js +283 -0
- package/dist/devportal/pages/WebhookDetailPage.js.map +1 -0
- package/dist/devportal/pages/WebhooksPage.d.ts +10 -0
- package/dist/devportal/pages/WebhooksPage.d.ts.map +1 -0
- package/dist/devportal/pages/WebhooksPage.js +454 -0
- package/dist/devportal/pages/WebhooksPage.js.map +1 -0
- package/dist/devportal/providers/DevportalProvider.d.ts +13 -0
- package/dist/devportal/providers/DevportalProvider.d.ts.map +1 -0
- package/dist/devportal/providers/DevportalProvider.js +44 -0
- package/dist/devportal/providers/DevportalProvider.js.map +1 -0
- package/dist/devportal/store/devportalStore.d.ts +60 -0
- package/dist/devportal/store/devportalStore.d.ts.map +1 -0
- package/dist/devportal/store/devportalStore.js +93 -0
- package/dist/devportal/store/devportalStore.js.map +1 -0
- package/dist/devportal/types/index.d.ts +682 -0
- package/dist/devportal/types/index.d.ts.map +1 -0
- package/dist/devportal/types/index.js +107 -0
- package/dist/devportal/types/index.js.map +1 -0
- package/dist/devportal/utils/cn.d.ts +8 -0
- package/dist/devportal/utils/cn.d.ts.map +1 -0
- package/dist/devportal/utils/cn.js +10 -0
- package/dist/devportal/utils/cn.js.map +1 -0
- package/dist/devportal/utils/constants.d.ts +107 -0
- package/dist/devportal/utils/constants.d.ts.map +1 -0
- package/dist/devportal/utils/constants.js +64 -0
- package/dist/devportal/utils/constants.js.map +1 -0
- package/dist/devportal/utils/i18n.d.ts +13 -0
- package/dist/devportal/utils/i18n.d.ts.map +1 -0
- package/dist/devportal/utils/i18n.js +17 -0
- package/dist/devportal/utils/i18n.js.map +1 -0
- package/dist/devportal/utils/recaptcha.d.ts +2 -0
- package/dist/devportal/utils/recaptcha.d.ts.map +1 -0
- package/dist/devportal/utils/recaptcha.js +6 -0
- package/dist/devportal/utils/recaptcha.js.map +1 -0
- package/dist/generated/global-operations.d.ts +6237 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +1898 -0
- package/dist/generated/global-operations.js.map +1 -0
- package/dist/generated/global-types.d.ts +20716 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +46 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +27 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +53363 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +24 -0
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
- package/dist/node_modules/@apollo/client/errors/ServerError.js +17 -0
- package/dist/node_modules/@apollo/client/errors/ServerError.js.map +1 -0
- package/dist/node_modules/@apollo/client/errors/utils.js +16 -0
- package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +9 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +384 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +45 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +42 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +10 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +25 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
- package/dist/node_modules/date-fns/constants.js +7 -0
- package/dist/node_modules/date-fns/constants.js.map +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/constructFrom.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +12 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
- package/dist/node_modules/date-fns/format.js +61 -0
- package/dist/node_modules/date-fns/format.js.map +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +12 -0
- package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeek.js +13 -0
- package/dist/node_modules/date-fns/getISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +16 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/getWeek.js +13 -0
- package/dist/node_modules/date-fns/getWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/isDate.js +8 -0
- package/dist/node_modules/date-fns/isDate.js.map +1 -0
- package/dist/node_modules/date-fns/isValid.js +12 -0
- package/dist/node_modules/date-fns/isValid.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +11 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +24 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +20 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +13 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +204 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +126 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US.js +22 -0
- package/dist/node_modules/date-fns/locale/en-US.js.map +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +12 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfYear.js +11 -0
- package/dist/node_modules/date-fns/startOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/toDate.js +9 -0
- package/dist/node_modules/date-fns/toDate.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_DataView.js.map +1 -0
- package/dist/node_modules/lodash/_Hash.js +23 -0
- package/dist/node_modules/lodash/_Hash.js.map +1 -0
- package/dist/node_modules/lodash/_ListCache.js +23 -0
- package/dist/node_modules/lodash/_ListCache.js.map +1 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_Map.js.map +1 -0
- package/dist/node_modules/lodash/_MapCache.js +23 -0
- package/dist/node_modules/lodash/_MapCache.js.map +1 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Promise.js.map +1 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_Set.js.map +1 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_SetCache.js.map +1 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Stack.js.map +1 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
- package/dist/node_modules/lodash/_apply.js +19 -0
- package/dist/node_modules/lodash/_apply.js.map +1 -0
- package/dist/node_modules/lodash/_arrayEvery.js +14 -0
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
- package/dist/node_modules/lodash/_arrayFilter.js +17 -0
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
- package/dist/node_modules/lodash/_arraySome.js +14 -0
- package/dist/node_modules/lodash/_arraySome.js.map +1 -0
- package/dist/node_modules/lodash/_asciiToArray.js +13 -0
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseEach.js +13 -0
- package/dist/node_modules/lodash/_baseEach.js.map +1 -0
- package/dist/node_modules/lodash/_baseEvery.js +18 -0
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
- package/dist/node_modules/lodash/_baseExtremum.js +19 -0
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
- package/dist/node_modules/lodash/_baseFlatten.js +21 -0
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseFor.js.map +1 -0
- package/dist/node_modules/lodash/_baseForOwn.js +16 -0
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGet.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetTag.js +17 -0
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash/_baseGt.js +13 -0
- package/dist/node_modules/lodash/_baseGt.js.map +1 -0
- package/dist/node_modules/lodash/_baseHasIn.js +13 -0
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNative.js +18 -0
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_baseIteratee.js +19 -0
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeys.js +19 -0
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseLt.js +13 -0
- package/dist/node_modules/lodash/_baseLt.js.map +1 -0
- package/dist/node_modules/lodash/_baseMap.js +19 -0
- package/dist/node_modules/lodash/_baseMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatches.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseProperty.js +15 -0
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseRange.js +15 -0
- package/dist/node_modules/lodash/_baseRange.js.map +1 -0
- package/dist/node_modules/lodash/_baseRest.js +17 -0
- package/dist/node_modules/lodash/_baseRest.js.map +1 -0
- package/dist/node_modules/lodash/_baseSetToString.js +21 -0
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
- package/dist/node_modules/lodash/_baseSome.js +18 -0
- package/dist/node_modules/lodash/_baseSome.js.map +1 -0
- package/dist/node_modules/lodash/_baseSortBy.js +15 -0
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
- package/dist/node_modules/lodash/_baseToString.js +22 -0
- package/dist/node_modules/lodash/_baseToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseTrim.js +15 -0
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnary.js +15 -0
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
- package/dist/node_modules/lodash/_baseUniq.js +34 -0
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
- package/dist/node_modules/lodash/_cacheHas.js +13 -0
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_castPath.js +18 -0
- package/dist/node_modules/lodash/_castPath.js.map +1 -0
- package/dist/node_modules/lodash/_castSlice.js +16 -0
- package/dist/node_modules/lodash/_castSlice.js.map +1 -0
- package/dist/node_modules/lodash/_compareAscending.js +20 -0
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
- package/dist/node_modules/lodash/_compareMultiple.js +19 -0
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseEach.js +20 -0
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
- package/dist/node_modules/lodash/_createFind.js +27 -0
- package/dist/node_modules/lodash/_createFind.js.map +1 -0
- package/dist/node_modules/lodash/_createRange.js +19 -0
- package/dist/node_modules/lodash/_createRange.js.map +1 -0
- package/dist/node_modules/lodash/_createSet.js +16 -0
- package/dist/node_modules/lodash/_createSet.js.map +1 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
- package/dist/node_modules/lodash/_equalArrays.js +42 -0
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
- package/dist/node_modules/lodash/_equalByTag.js +42 -0
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
- package/dist/node_modules/lodash/_equalObjects.js +39 -0
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
- package/dist/node_modules/lodash/_freeGlobal.js +10 -0
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeys.js +17 -0
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_getMapData.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js.map +1 -0
- package/dist/node_modules/lodash/_getMatchData.js +24 -0
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
- package/dist/node_modules/lodash/_getNative.js +17 -0
- package/dist/node_modules/lodash/_getNative.js.map +1 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbols.js +17 -0
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
- package/dist/node_modules/lodash/_getTag.js +28 -0
- package/dist/node_modules/lodash/_getTag.js.map +1 -0
- package/dist/node_modules/lodash/_getValue.js +13 -0
- package/dist/node_modules/lodash/_getValue.js.map +1 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasPath.js.map +1 -0
- package/dist/node_modules/lodash/_hasUnicode.js +14 -0
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
- package/dist/node_modules/lodash/_hashClear.js +15 -0
- package/dist/node_modules/lodash/_hashClear.js.map +1 -0
- package/dist/node_modules/lodash/_hashDelete.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
- package/dist/node_modules/lodash/_hashGet.js +20 -0
- package/dist/node_modules/lodash/_hashGet.js.map +1 -0
- package/dist/node_modules/lodash/_hashHas.js +16 -0
- package/dist/node_modules/lodash/_hashHas.js.map +1 -0
- package/dist/node_modules/lodash/_hashSet.js +16 -0
- package/dist/node_modules/lodash/_hashSet.js.map +1 -0
- package/dist/node_modules/lodash/_isFlattenable.js +17 -0
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
- package/dist/node_modules/lodash/_isIndex.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKey.js.map +1 -0
- package/dist/node_modules/lodash/_isKeyable.js +14 -0
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
- package/dist/node_modules/lodash/_isMasked.js +18 -0
- package/dist/node_modules/lodash/_isMasked.js.map +1 -0
- package/dist/node_modules/lodash/_isPrototype.js +15 -0
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheClear.js +13 -0
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheGet.js +16 -0
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheHas.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheSet.js +16 -0
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapToArray.js +16 -0
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_nodeUtil.js +16 -0
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
- package/dist/node_modules/lodash/_objectToString.js +14 -0
- package/dist/node_modules/lodash/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash/_overArg.js +15 -0
- package/dist/node_modules/lodash/_overArg.js.map +1 -0
- package/dist/node_modules/lodash/_overRest.js +20 -0
- package/dist/node_modules/lodash/_overRest.js.map +1 -0
- package/dist/node_modules/lodash/_root.js +12 -0
- package/dist/node_modules/lodash/_root.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheHas.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_setToArray.js +16 -0
- package/dist/node_modules/lodash/_setToArray.js.map +1 -0
- package/dist/node_modules/lodash/_setToString.js +13 -0
- package/dist/node_modules/lodash/_setToString.js.map +1 -0
- package/dist/node_modules/lodash/_shortOut.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js.map +1 -0
- package/dist/node_modules/lodash/_stackClear.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js.map +1 -0
- package/dist/node_modules/lodash/_stackDelete.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
- package/dist/node_modules/lodash/_stackGet.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js.map +1 -0
- package/dist/node_modules/lodash/_stackHas.js +13 -0
- package/dist/node_modules/lodash/_stackHas.js.map +1 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stackSet.js.map +1 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_stringToArray.js +17 -0
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
- package/dist/node_modules/lodash/_stringToPath.js +17 -0
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toKey.js.map +1 -0
- package/dist/node_modules/lodash/_toSource.js +22 -0
- package/dist/node_modules/lodash/_toSource.js.map +1 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
- package/dist/node_modules/lodash/constant.js +15 -0
- package/dist/node_modules/lodash/constant.js.map +1 -0
- package/dist/node_modules/lodash/debounce.js +57 -0
- package/dist/node_modules/lodash/debounce.js.map +1 -0
- package/dist/node_modules/lodash/eq.js +13 -0
- package/dist/node_modules/lodash/eq.js.map +1 -0
- package/dist/node_modules/lodash/every.js +20 -0
- package/dist/node_modules/lodash/every.js.map +1 -0
- package/dist/node_modules/lodash/find.js +12 -0
- package/dist/node_modules/lodash/find.js.map +1 -0
- package/dist/node_modules/lodash/findIndex.js +20 -0
- package/dist/node_modules/lodash/findIndex.js.map +1 -0
- package/dist/node_modules/lodash/flatMap.js +16 -0
- package/dist/node_modules/lodash/flatMap.js.map +1 -0
- package/dist/node_modules/lodash/get.js +16 -0
- package/dist/node_modules/lodash/get.js.map +1 -0
- package/dist/node_modules/lodash/hasIn.js +16 -0
- package/dist/node_modules/lodash/hasIn.js.map +1 -0
- package/dist/node_modules/lodash/identity.js +13 -0
- package/dist/node_modules/lodash/identity.js.map +1 -0
- package/dist/node_modules/lodash/isArguments.js +17 -0
- package/dist/node_modules/lodash/isArguments.js.map +1 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArray.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLike.js +16 -0
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash/isBoolean.js +16 -0
- package/dist/node_modules/lodash/isBoolean.js.map +1 -0
- package/dist/node_modules/lodash/isBuffer.js +13 -0
- package/dist/node_modules/lodash/isBuffer.js.map +1 -0
- package/dist/node_modules/lodash/isEqual.js +15 -0
- package/dist/node_modules/lodash/isEqual.js.map +1 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isFunction.js.map +1 -0
- package/dist/node_modules/lodash/isLength.js +14 -0
- package/dist/node_modules/lodash/isLength.js.map +1 -0
- package/dist/node_modules/lodash/isNaN.js +15 -0
- package/dist/node_modules/lodash/isNaN.js.map +1 -0
- package/dist/node_modules/lodash/isNil.js +13 -0
- package/dist/node_modules/lodash/isNil.js.map +1 -0
- package/dist/node_modules/lodash/isNumber.js +16 -0
- package/dist/node_modules/lodash/isNumber.js.map +1 -0
- package/dist/node_modules/lodash/isObject.js +14 -0
- package/dist/node_modules/lodash/isObject.js.map +1 -0
- package/dist/node_modules/lodash/isObjectLike.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash/isPlainObject.js +21 -0
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
- package/dist/node_modules/lodash/isString.js +17 -0
- package/dist/node_modules/lodash/isString.js.map +1 -0
- package/dist/node_modules/lodash/isSymbol.js +16 -0
- package/dist/node_modules/lodash/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash/isTypedArray.js +14 -0
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/keys.js +17 -0
- package/dist/node_modules/lodash/keys.js.map +1 -0
- package/dist/node_modules/lodash/last.js +14 -0
- package/dist/node_modules/lodash/last.js.map +1 -0
- package/dist/node_modules/lodash/map.js +18 -0
- package/dist/node_modules/lodash/map.js.map +1 -0
- package/dist/node_modules/lodash/mapValues.js +20 -0
- package/dist/node_modules/lodash/mapValues.js.map +1 -0
- package/dist/node_modules/lodash/max.js +17 -0
- package/dist/node_modules/lodash/max.js.map +1 -0
- package/dist/node_modules/lodash/memoize.js +22 -0
- package/dist/node_modules/lodash/memoize.js.map +1 -0
- package/dist/node_modules/lodash/min.js +17 -0
- package/dist/node_modules/lodash/min.js.map +1 -0
- package/dist/node_modules/lodash/noop.js +11 -0
- package/dist/node_modules/lodash/noop.js.map +1 -0
- package/dist/node_modules/lodash/now.js +14 -0
- package/dist/node_modules/lodash/now.js.map +1 -0
- package/dist/node_modules/lodash/property.js +18 -0
- package/dist/node_modules/lodash/property.js.map +1 -0
- package/dist/node_modules/lodash/range.js +11 -0
- package/dist/node_modules/lodash/range.js.map +1 -0
- package/dist/node_modules/lodash/some.js +20 -0
- package/dist/node_modules/lodash/some.js.map +1 -0
- package/dist/node_modules/lodash/sortBy.js +19 -0
- package/dist/node_modules/lodash/sortBy.js.map +1 -0
- package/dist/node_modules/lodash/stubArray.js +13 -0
- package/dist/node_modules/lodash/stubArray.js.map +1 -0
- package/dist/node_modules/lodash/stubFalse.js +13 -0
- package/dist/node_modules/lodash/stubFalse.js.map +1 -0
- package/dist/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/lodash/throttle.js.map +1 -0
- package/dist/node_modules/lodash/toFinite.js +15 -0
- package/dist/node_modules/lodash/toFinite.js.map +1 -0
- package/dist/node_modules/lodash/toInteger.js +16 -0
- package/dist/node_modules/lodash/toInteger.js.map +1 -0
- package/dist/node_modules/lodash/toNumber.js +26 -0
- package/dist/node_modules/lodash/toNumber.js.map +1 -0
- package/dist/node_modules/lodash/toString.js +15 -0
- package/dist/node_modules/lodash/toString.js.map +1 -0
- package/dist/node_modules/lodash/uniqBy.js +16 -0
- package/dist/node_modules/lodash/uniqBy.js.map +1 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/upperFirst.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/easing.js +152 -0
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/index.js +9 -0
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/util.js +92 -0
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +24 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +353 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +225 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +21 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +116 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +43 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/index.js +1 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1674 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +123 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Developer Portal Permission Constants
|
|
3
|
+
*
|
|
4
|
+
* All permission strings for DevPortal resources.
|
|
5
|
+
* Use with the usePermissions hook: hasPermission(DEVPORTAL_PERMISSIONS.APP_READ)
|
|
6
|
+
*
|
|
7
|
+
* Resource types match the @rbac directives in global-devportal-svc:
|
|
8
|
+
* - devportal-app: read, create, update, delete, submit, publish, approve, reject
|
|
9
|
+
* - devportal-app-version: create, update, publish, deprecate
|
|
10
|
+
* - devportal-webhook: read, create, update, delete
|
|
11
|
+
* - devportal-webhook-delivery: read
|
|
12
|
+
* - devportal-profile: read, create
|
|
13
|
+
* - devportal-audit-log: read
|
|
14
|
+
* - devportal-org: read, create, update, delete, verify
|
|
15
|
+
* - devportal-org-invitation: read, create, update, send, delete
|
|
16
|
+
* - devportal-org-member: read, update, activate, deactivate, delete
|
|
17
|
+
* - devportal-sale: read
|
|
18
|
+
* - devportal-revenue: read
|
|
19
|
+
* - devportal-payment-method: read
|
|
20
|
+
* - devportal-payout: read, delete, approve, execute
|
|
21
|
+
* - devportal-installation: read, create
|
|
22
|
+
* - devportal-review: read, update, delete, manage
|
|
23
|
+
* - devportal-review-report: create
|
|
24
|
+
* - devportal-review-vote: create
|
|
25
|
+
* - devportal-collection: read, create
|
|
26
|
+
* - devportal-analytics: read
|
|
27
|
+
* - devportal-subscription: read
|
|
28
|
+
*/
|
|
29
|
+
export declare const DEVPORTAL_PERMISSIONS: {
|
|
30
|
+
readonly APP_READ: "devportal-app:read";
|
|
31
|
+
readonly APP_CREATE: "devportal-app:create";
|
|
32
|
+
readonly APP_UPDATE: "devportal-app:update";
|
|
33
|
+
readonly APP_DELETE: "devportal-app:delete";
|
|
34
|
+
readonly APP_SUBMIT: "devportal-app:submit";
|
|
35
|
+
readonly APP_PUBLISH: "devportal-app:publish";
|
|
36
|
+
readonly APP_APPROVE: "devportal-app:approve";
|
|
37
|
+
readonly APP_REJECT: "devportal-app:reject";
|
|
38
|
+
readonly APP_VERSION_CREATE: "devportal-app-version:create";
|
|
39
|
+
readonly APP_VERSION_UPDATE: "devportal-app-version:update";
|
|
40
|
+
readonly APP_VERSION_PUBLISH: "devportal-app-version:publish";
|
|
41
|
+
readonly APP_VERSION_DEPRECATE: "devportal-app-version:deprecate";
|
|
42
|
+
readonly WEBHOOK_READ: "devportal-webhook:read";
|
|
43
|
+
readonly WEBHOOK_CREATE: "devportal-webhook:create";
|
|
44
|
+
readonly WEBHOOK_UPDATE: "devportal-webhook:update";
|
|
45
|
+
readonly WEBHOOK_DELETE: "devportal-webhook:delete";
|
|
46
|
+
readonly WEBHOOK_DELIVERY_READ: "devportal-webhook-delivery:read";
|
|
47
|
+
readonly PROFILE_READ: "devportal-profile:read";
|
|
48
|
+
readonly PROFILE_CREATE: "devportal-profile:create";
|
|
49
|
+
readonly PROFILE_UPDATE: "devportal-profile:update";
|
|
50
|
+
readonly AUDIT_LOG_READ: "devportal-audit-log:read";
|
|
51
|
+
readonly ORG_READ: "devportal-org:read";
|
|
52
|
+
readonly ORG_CREATE: "devportal-org:create";
|
|
53
|
+
readonly ORG_UPDATE: "devportal-org:update";
|
|
54
|
+
readonly ORG_DELETE: "devportal-org:delete";
|
|
55
|
+
readonly ORG_VERIFY: "devportal-org:verify";
|
|
56
|
+
readonly ORG_INVITATION_READ: "devportal-org-invitation:read";
|
|
57
|
+
readonly ORG_INVITATION_CREATE: "devportal-org-invitation:create";
|
|
58
|
+
readonly ORG_INVITATION_UPDATE: "devportal-org-invitation:update";
|
|
59
|
+
readonly ORG_INVITATION_SEND: "devportal-org-invitation:send";
|
|
60
|
+
readonly ORG_INVITATION_DELETE: "devportal-org-invitation:delete";
|
|
61
|
+
readonly ORG_MEMBER_READ: "devportal-org-member:read";
|
|
62
|
+
readonly ORG_MEMBER_UPDATE: "devportal-org-member:update";
|
|
63
|
+
readonly ORG_MEMBER_ACTIVATE: "devportal-org-member:activate";
|
|
64
|
+
readonly ORG_MEMBER_DEACTIVATE: "devportal-org-member:deactivate";
|
|
65
|
+
readonly ORG_MEMBER_DELETE: "devportal-org-member:delete";
|
|
66
|
+
readonly DELEGATION_READ: "devportal-delegation:read";
|
|
67
|
+
readonly DELEGATION_REVOKE: "devportal-delegation:revoke";
|
|
68
|
+
readonly DELEGATION_DELETE: "devportal-delegation:delete";
|
|
69
|
+
readonly SALE_READ: "devportal-sale:read";
|
|
70
|
+
readonly REVENUE_READ: "devportal-revenue:read";
|
|
71
|
+
readonly PAYMENT_METHOD_READ: "devportal-payment-method:read";
|
|
72
|
+
readonly PAYOUT_READ: "devportal-payout:read";
|
|
73
|
+
readonly PAYOUT_APPROVE: "devportal-payout:approve";
|
|
74
|
+
readonly PAYOUT_DELETE: "devportal-payout:delete";
|
|
75
|
+
readonly PAYOUT_EXECUTE: "devportal-payout:execute";
|
|
76
|
+
readonly INSTALLATION_READ: "devportal-installation:read";
|
|
77
|
+
readonly INSTALLATION_CREATE: "devportal-installation:create";
|
|
78
|
+
readonly COLLECTION_READ: "devportal-collection:read";
|
|
79
|
+
readonly COLLECTION_CREATE: "devportal-collection:create";
|
|
80
|
+
readonly SUBSCRIPTION_READ: "devportal-subscription:read";
|
|
81
|
+
readonly REVIEW_READ: "devportal-review:read";
|
|
82
|
+
readonly REVIEW_UPDATE: "devportal-review:update";
|
|
83
|
+
readonly REVIEW_DELETE: "devportal-review:delete";
|
|
84
|
+
readonly REVIEW_MANAGE: "devportal-review:manage";
|
|
85
|
+
readonly REVIEW_REPORT_CREATE: "devportal-review-report:create";
|
|
86
|
+
readonly REVIEW_VOTE_CREATE: "devportal-review-vote:create";
|
|
87
|
+
readonly ANALYTICS_READ: "devportal-analytics:read";
|
|
88
|
+
};
|
|
89
|
+
export type DevportalPermission = (typeof DEVPORTAL_PERMISSIONS)[keyof typeof DEVPORTAL_PERMISSIONS];
|
|
90
|
+
//# sourceMappingURL=permissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/devportal/constants/permissions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFxB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
//#region src/devportal/constants/permissions.ts
|
|
2
|
+
var e = {
|
|
3
|
+
APP_READ: "devportal-app:read",
|
|
4
|
+
APP_CREATE: "devportal-app:create",
|
|
5
|
+
APP_UPDATE: "devportal-app:update",
|
|
6
|
+
APP_DELETE: "devportal-app:delete",
|
|
7
|
+
APP_SUBMIT: "devportal-app:submit",
|
|
8
|
+
APP_PUBLISH: "devportal-app:publish",
|
|
9
|
+
APP_APPROVE: "devportal-app:approve",
|
|
10
|
+
APP_REJECT: "devportal-app:reject",
|
|
11
|
+
APP_VERSION_CREATE: "devportal-app-version:create",
|
|
12
|
+
APP_VERSION_UPDATE: "devportal-app-version:update",
|
|
13
|
+
APP_VERSION_PUBLISH: "devportal-app-version:publish",
|
|
14
|
+
APP_VERSION_DEPRECATE: "devportal-app-version:deprecate",
|
|
15
|
+
WEBHOOK_READ: "devportal-webhook:read",
|
|
16
|
+
WEBHOOK_CREATE: "devportal-webhook:create",
|
|
17
|
+
WEBHOOK_UPDATE: "devportal-webhook:update",
|
|
18
|
+
WEBHOOK_DELETE: "devportal-webhook:delete",
|
|
19
|
+
WEBHOOK_DELIVERY_READ: "devportal-webhook-delivery:read",
|
|
20
|
+
PROFILE_READ: "devportal-profile:read",
|
|
21
|
+
PROFILE_CREATE: "devportal-profile:create",
|
|
22
|
+
PROFILE_UPDATE: "devportal-profile:update",
|
|
23
|
+
AUDIT_LOG_READ: "devportal-audit-log:read",
|
|
24
|
+
ORG_READ: "devportal-org:read",
|
|
25
|
+
ORG_CREATE: "devportal-org:create",
|
|
26
|
+
ORG_UPDATE: "devportal-org:update",
|
|
27
|
+
ORG_DELETE: "devportal-org:delete",
|
|
28
|
+
ORG_VERIFY: "devportal-org:verify",
|
|
29
|
+
ORG_INVITATION_READ: "devportal-org-invitation:read",
|
|
30
|
+
ORG_INVITATION_CREATE: "devportal-org-invitation:create",
|
|
31
|
+
ORG_INVITATION_UPDATE: "devportal-org-invitation:update",
|
|
32
|
+
ORG_INVITATION_SEND: "devportal-org-invitation:send",
|
|
33
|
+
ORG_INVITATION_DELETE: "devportal-org-invitation:delete",
|
|
34
|
+
ORG_MEMBER_READ: "devportal-org-member:read",
|
|
35
|
+
ORG_MEMBER_UPDATE: "devportal-org-member:update",
|
|
36
|
+
ORG_MEMBER_ACTIVATE: "devportal-org-member:activate",
|
|
37
|
+
ORG_MEMBER_DEACTIVATE: "devportal-org-member:deactivate",
|
|
38
|
+
ORG_MEMBER_DELETE: "devportal-org-member:delete",
|
|
39
|
+
DELEGATION_READ: "devportal-delegation:read",
|
|
40
|
+
DELEGATION_REVOKE: "devportal-delegation:revoke",
|
|
41
|
+
DELEGATION_DELETE: "devportal-delegation:delete",
|
|
42
|
+
SALE_READ: "devportal-sale:read",
|
|
43
|
+
REVENUE_READ: "devportal-revenue:read",
|
|
44
|
+
PAYMENT_METHOD_READ: "devportal-payment-method:read",
|
|
45
|
+
PAYOUT_READ: "devportal-payout:read",
|
|
46
|
+
PAYOUT_APPROVE: "devportal-payout:approve",
|
|
47
|
+
PAYOUT_DELETE: "devportal-payout:delete",
|
|
48
|
+
PAYOUT_EXECUTE: "devportal-payout:execute",
|
|
49
|
+
INSTALLATION_READ: "devportal-installation:read",
|
|
50
|
+
INSTALLATION_CREATE: "devportal-installation:create",
|
|
51
|
+
COLLECTION_READ: "devportal-collection:read",
|
|
52
|
+
COLLECTION_CREATE: "devportal-collection:create",
|
|
53
|
+
SUBSCRIPTION_READ: "devportal-subscription:read",
|
|
54
|
+
REVIEW_READ: "devportal-review:read",
|
|
55
|
+
REVIEW_UPDATE: "devportal-review:update",
|
|
56
|
+
REVIEW_DELETE: "devportal-review:delete",
|
|
57
|
+
REVIEW_MANAGE: "devportal-review:manage",
|
|
58
|
+
REVIEW_REPORT_CREATE: "devportal-review-report:create",
|
|
59
|
+
REVIEW_VOTE_CREATE: "devportal-review-vote:create",
|
|
60
|
+
ANALYTICS_READ: "devportal-analytics:read"
|
|
61
|
+
};
|
|
62
|
+
//#endregion
|
|
63
|
+
export { e as DEVPORTAL_PERMISSIONS };
|
|
64
|
+
|
|
65
|
+
//# sourceMappingURL=permissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissions.js","names":[],"sources":["../../../src/devportal/constants/permissions.ts"],"sourcesContent":["/**\n * Developer Portal Permission Constants\n *\n * All permission strings for DevPortal resources.\n * Use with the usePermissions hook: hasPermission(DEVPORTAL_PERMISSIONS.APP_READ)\n *\n * Resource types match the @rbac directives in global-devportal-svc:\n * - devportal-app: read, create, update, delete, submit, publish, approve, reject\n * - devportal-app-version: create, update, publish, deprecate\n * - devportal-webhook: read, create, update, delete\n * - devportal-webhook-delivery: read\n * - devportal-profile: read, create\n * - devportal-audit-log: read\n * - devportal-org: read, create, update, delete, verify\n * - devportal-org-invitation: read, create, update, send, delete\n * - devportal-org-member: read, update, activate, deactivate, delete\n * - devportal-sale: read\n * - devportal-revenue: read\n * - devportal-payment-method: read\n * - devportal-payout: read, delete, approve, execute\n * - devportal-installation: read, create\n * - devportal-review: read, update, delete, manage\n * - devportal-review-report: create\n * - devportal-review-vote: create\n * - devportal-collection: read, create\n * - devportal-analytics: read\n * - devportal-subscription: read\n */\n\nexport const DEVPORTAL_PERMISSIONS = {\n // Applications\n APP_READ: \"devportal-app:read\",\n APP_CREATE: \"devportal-app:create\",\n APP_UPDATE: \"devportal-app:update\",\n APP_DELETE: \"devportal-app:delete\",\n APP_SUBMIT: \"devportal-app:submit\",\n APP_PUBLISH: \"devportal-app:publish\",\n APP_APPROVE: \"devportal-app:approve\",\n APP_REJECT: \"devportal-app:reject\",\n\n // App Versions\n APP_VERSION_CREATE: \"devportal-app-version:create\",\n APP_VERSION_UPDATE: \"devportal-app-version:update\",\n APP_VERSION_PUBLISH: \"devportal-app-version:publish\",\n APP_VERSION_DEPRECATE: \"devportal-app-version:deprecate\",\n\n // Webhooks\n WEBHOOK_READ: \"devportal-webhook:read\",\n WEBHOOK_CREATE: \"devportal-webhook:create\",\n WEBHOOK_UPDATE: \"devportal-webhook:update\",\n WEBHOOK_DELETE: \"devportal-webhook:delete\",\n WEBHOOK_DELIVERY_READ: \"devportal-webhook-delivery:read\",\n\n // Profile\n PROFILE_READ: \"devportal-profile:read\",\n PROFILE_CREATE: \"devportal-profile:create\",\n PROFILE_UPDATE: \"devportal-profile:update\",\n\n // Audit Log\n AUDIT_LOG_READ: \"devportal-audit-log:read\",\n\n // Organizations\n ORG_READ: \"devportal-org:read\",\n ORG_CREATE: \"devportal-org:create\",\n ORG_UPDATE: \"devportal-org:update\",\n ORG_DELETE: \"devportal-org:delete\",\n ORG_VERIFY: \"devportal-org:verify\",\n\n // Org Invitations\n ORG_INVITATION_READ: \"devportal-org-invitation:read\",\n ORG_INVITATION_CREATE: \"devportal-org-invitation:create\",\n ORG_INVITATION_UPDATE: \"devportal-org-invitation:update\",\n ORG_INVITATION_SEND: \"devportal-org-invitation:send\",\n ORG_INVITATION_DELETE: \"devportal-org-invitation:delete\",\n\n // Org Members\n ORG_MEMBER_READ: \"devportal-org-member:read\",\n ORG_MEMBER_UPDATE: \"devportal-org-member:update\",\n ORG_MEMBER_ACTIVATE: \"devportal-org-member:activate\",\n ORG_MEMBER_DEACTIVATE: \"devportal-org-member:deactivate\",\n ORG_MEMBER_DELETE: \"devportal-org-member:delete\",\n\n // Delegations\n DELEGATION_READ: \"devportal-delegation:read\",\n DELEGATION_REVOKE: \"devportal-delegation:revoke\",\n DELEGATION_DELETE: \"devportal-delegation:delete\",\n\n // Revenue & Payments\n SALE_READ: \"devportal-sale:read\",\n REVENUE_READ: \"devportal-revenue:read\",\n PAYMENT_METHOD_READ: \"devportal-payment-method:read\",\n PAYOUT_READ: \"devportal-payout:read\",\n PAYOUT_APPROVE: \"devportal-payout:approve\",\n PAYOUT_DELETE: \"devportal-payout:delete\",\n PAYOUT_EXECUTE: \"devportal-payout:execute\",\n\n // Marketplace\n INSTALLATION_READ: \"devportal-installation:read\",\n INSTALLATION_CREATE: \"devportal-installation:create\",\n COLLECTION_READ: \"devportal-collection:read\",\n COLLECTION_CREATE: \"devportal-collection:create\",\n SUBSCRIPTION_READ: \"devportal-subscription:read\",\n\n // Reviews\n REVIEW_READ: \"devportal-review:read\",\n REVIEW_UPDATE: \"devportal-review:update\",\n REVIEW_DELETE: \"devportal-review:delete\",\n REVIEW_MANAGE: \"devportal-review:manage\",\n REVIEW_REPORT_CREATE: \"devportal-review-report:create\",\n REVIEW_VOTE_CREATE: \"devportal-review-vote:create\",\n\n // Analytics\n ANALYTICS_READ: \"devportal-analytics:read\",\n} as const;\n\nexport type DevportalPermission =\n (typeof DEVPORTAL_PERMISSIONS)[keyof typeof DEVPORTAL_PERMISSIONS];\n"],"mappings":";AA6BA,IAAa,IAAwB;CAEnC,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,aAAa;CACb,YAAY;CAGZ,oBAAoB;CACpB,oBAAoB;CACpB,qBAAqB;CACrB,uBAAuB;CAGvB,cAAc;CACd,gBAAgB;CAChB,gBAAgB;CAChB,gBAAgB;CAChB,uBAAuB;CAGvB,cAAc;CACd,gBAAgB;CAChB,gBAAgB;CAGhB,gBAAgB;CAGhB,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CAGZ,qBAAqB;CACrB,uBAAuB;CACvB,uBAAuB;CACvB,qBAAqB;CACrB,uBAAuB;CAGvB,iBAAiB;CACjB,mBAAmB;CACnB,qBAAqB;CACrB,uBAAuB;CACvB,mBAAmB;CAGnB,iBAAiB;CACjB,mBAAmB;CACnB,mBAAmB;CAGnB,WAAW;CACX,cAAc;CACd,qBAAqB;CACrB,aAAa;CACb,gBAAgB;CAChB,eAAe;CACf,gBAAgB;CAGhB,mBAAmB;CACnB,qBAAqB;CACrB,iBAAiB;CACjB,mBAAmB;CACnB,mBAAmB;CAGnB,aAAa;CACb,eAAe;CACf,eAAe;CACf,eAAe;CACf,sBAAsB;CACtB,oBAAoB;CAGpB,gBAAgB;CACjB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type DevportalEventName = "devportal.app.created" | "devportal.app.updated" | "devportal.app.deleted" | "devportal.app.published" | "devportal.app.submitted" | "devportal.app.review_status_changed" | "devportal.version.created" | "devportal.version.published" | "devportal.org.created" | "devportal.org.updated" | "devportal.org.member.added" | "devportal.org.member.removed" | "devportal.org.invitation.sent" | "devportal.org.invitation.accepted" | "devportal.webhook.created" | "devportal.webhook.updated" | "devportal.webhook.deleted" | "devportal.webhook.delivered" | "devportal.webhook.delivery_failed" | "devportal.oauth.client.created" | "devportal.oauth.client.deleted" | "devportal.apikey.generated" | "devportal.apikey.revoked" | "devportal.delegation.granted" | "devportal.delegation.revoked" | "devportal.revenue.updated" | "devportal.error.boundary" | "devportal.page.viewed";
|
|
2
|
+
export interface DevportalEventPayload {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
}
|
|
5
|
+
export interface DevportalEventBus {
|
|
6
|
+
emit: (name: DevportalEventName, payload: DevportalEventPayload) => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Optional bridge: app shell (or DevportalRoot wrapper) may call this with
|
|
10
|
+
* the fe-libs `useEventBus()` value to forward all devportal events.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setDevportalEventBusBridge(bus: {
|
|
13
|
+
emit: (name: string, payload: unknown) => void;
|
|
14
|
+
} | null): void;
|
|
15
|
+
/**
|
|
16
|
+
* Hook used by devportal pages to emit events. Always returns a working bus.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDevportalEventBus(): DevportalEventBus;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/devportal/events/index.ts"],"names":[],"mappings":"AAsBA,MAAM,MAAM,kBAAkB,GAC1B,uBAAuB,GACvB,uBAAuB,GACvB,uBAAuB,GACvB,yBAAyB,GACzB,yBAAyB,GACzB,qCAAqC,GACrC,2BAA2B,GAC3B,6BAA6B,GAC7B,uBAAuB,GACvB,uBAAuB,GACvB,4BAA4B,GAC5B,8BAA8B,GAC9B,+BAA+B,GAC/B,mCAAmC,GACnC,2BAA2B,GAC3B,2BAA2B,GAC3B,2BAA2B,GAC3B,6BAA6B,GAC7B,mCAAmC,GACnC,gCAAgC,GAChC,gCAAgC,GAChC,4BAA4B,GAC5B,0BAA0B,GAC1B,8BAA8B,GAC9B,8BAA8B,GAC9B,2BAA2B,GAC3B,0BAA0B,GAC1B,uBAAuB,CAAC;AAE5B,MAAM,WAAW,qBAAqB;IAGpC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,qBAAqB,KAAK,IAAI,CAAC;CAC1E;AA6BD;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE;IAAE,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CAAE,GAAG,IAAI,GAC7D,IAAI,CAEN;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,iBAAiB,CAkBxD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useCallback as e } from "react";
|
|
2
|
+
//#region src/devportal/events/index.ts
|
|
3
|
+
var t = { emit: (e, t) => {} }, n = null;
|
|
4
|
+
function r() {
|
|
5
|
+
if (n) return n;
|
|
6
|
+
try {
|
|
7
|
+
return null;
|
|
8
|
+
} catch {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function i(e) {
|
|
13
|
+
n = e;
|
|
14
|
+
}
|
|
15
|
+
function a() {
|
|
16
|
+
return { emit: e((e, i) => {
|
|
17
|
+
let a = r() ?? n;
|
|
18
|
+
if (a) try {
|
|
19
|
+
a.emit(e, i);
|
|
20
|
+
return;
|
|
21
|
+
} catch {}
|
|
22
|
+
t.emit(e, i);
|
|
23
|
+
}, []) };
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { i as setDevportalEventBusBridge, a as useDevportalEventBus };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/devportal/events/index.ts"],"sourcesContent":["/**\n * Devportal frontend event bus\n *\n * Per spec `infra-specs/microfrontends/47-FRONTEND-EVENT-BUS.md`, MFEs emit\n * domain events through the central `@burdenoff/fe-libs/shared/events` bus\n * which the app shell wires to RybbitSink / BackendAuditSink / OtelBrowserSink.\n *\n * The fe-libs core registry is statically typed (`BurdenoffEventName`), so\n * extending it requires a fe-libs PR. To unblock devportal shipping today\n * we define a typed wrapper that:\n * - degrades gracefully when no `EventBusProvider` is mounted\n * - logs to a devtools sink in dev (`console.debug`)\n * - tags every event with `name` + `payload` and forwards to fe-libs bus\n * using a pass-through escape hatch (the bus accepts arbitrary string\n * names at runtime; the type system is the only guard)\n *\n * Once fe-libs registry is updated with `devportal.*` entries, swap the\n * `EventBusFacade` for direct `useEventBus()` consumption — no caller-site\n * change required.\n */\nimport { useCallback } from \"react\";\n\nexport type DevportalEventName =\n | \"devportal.app.created\"\n | \"devportal.app.updated\"\n | \"devportal.app.deleted\"\n | \"devportal.app.published\"\n | \"devportal.app.submitted\"\n | \"devportal.app.review_status_changed\"\n | \"devportal.version.created\"\n | \"devportal.version.published\"\n | \"devportal.org.created\"\n | \"devportal.org.updated\"\n | \"devportal.org.member.added\"\n | \"devportal.org.member.removed\"\n | \"devportal.org.invitation.sent\"\n | \"devportal.org.invitation.accepted\"\n | \"devportal.webhook.created\"\n | \"devportal.webhook.updated\"\n | \"devportal.webhook.deleted\"\n | \"devportal.webhook.delivered\"\n | \"devportal.webhook.delivery_failed\"\n | \"devportal.oauth.client.created\"\n | \"devportal.oauth.client.deleted\"\n | \"devportal.apikey.generated\"\n | \"devportal.apikey.revoked\"\n | \"devportal.delegation.granted\"\n | \"devportal.delegation.revoked\"\n | \"devportal.revenue.updated\"\n | \"devportal.error.boundary\"\n | \"devportal.page.viewed\";\n\nexport interface DevportalEventPayload {\n // common envelope; specific payloads are loose by design — fe-libs bus\n // enforces structural typing once registry entry is added.\n [key: string]: unknown;\n}\n\nexport interface DevportalEventBus {\n emit: (name: DevportalEventName, payload: DevportalEventPayload) => void;\n}\n\nconst NOOP_BUS: DevportalEventBus = {\n emit: (name, payload) => {\n if (typeof window !== \"undefined\" && import.meta.env?.DEV) {\n // dev fallback when shell didn't mount EventBusProvider\n // eslint-disable-next-line no-console\n console.debug(\"[devportal-event]\", name, payload);\n }\n },\n};\n\nlet cachedFeLibsBus: { emit: (name: string, payload: unknown) => void } | null =\n null;\n\nfunction tryResolveFeLibsBus(): {\n emit: (name: string, payload: unknown) => void;\n} | null {\n if (cachedFeLibsBus) return cachedFeLibsBus;\n try {\n // Dynamic import via require is unavailable in ESM strict — instead we\n // rely on the consumer (DevportalRoot) to optionally call setEventBusBridge\n // at mount. Until then the noop bus catches calls.\n return null;\n } catch {\n return null;\n }\n}\n\n/**\n * Optional bridge: app shell (or DevportalRoot wrapper) may call this with\n * the fe-libs `useEventBus()` value to forward all devportal events.\n */\nexport function setDevportalEventBusBridge(\n bus: { emit: (name: string, payload: unknown) => void } | null,\n): void {\n cachedFeLibsBus = bus;\n}\n\n/**\n * Hook used by devportal pages to emit events. Always returns a working bus.\n */\nexport function useDevportalEventBus(): DevportalEventBus {\n const emit = useCallback(\n (name: DevportalEventName, payload: DevportalEventPayload): void => {\n const bridged = tryResolveFeLibsBus() ?? cachedFeLibsBus;\n if (bridged) {\n try {\n bridged.emit(name, payload);\n return;\n } catch {\n // fall through to noop\n }\n }\n NOOP_BUS.emit(name, payload);\n },\n [],\n );\n\n return { emit };\n}\n"],"mappings":";;AA8DA,IAAM,IAA8B,EAClC,OAAO,GAAM,MAAY,IAO1B,EAEG,IACF;AAEF,SAAS,IAEA;AACP,KAAI,EAAiB,QAAO;AAC5B,KAAI;AAIF,SAAO;SACD;AACN,SAAO;;;AAQX,SAAgB,EACd,GACM;AACN,KAAkB;;AAMpB,SAAgB,IAA0C;AAiBxD,QAAO,EAAE,MAhBI,GACV,GAA0B,MAAyC;EAClE,IAAM,IAAU,GAAqB,IAAI;AACzC,MAAI,EACF,KAAI;AACF,KAAQ,KAAK,GAAM,EAAQ;AAC3B;UACM;AAIV,IAAS,KAAK,GAAM,EAAQ;IAE9B,EAAE,CACH,EAEc"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface DevPortalProviderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* DevPortalProvider - Wraps children with Apollo Client context
|
|
8
|
+
*
|
|
9
|
+
* Usage:
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <DevPortalProvider>
|
|
12
|
+
* <YourApp />
|
|
13
|
+
* </DevPortalProvider>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function DevPortalProvider({ children }: DevPortalProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default DevPortalProvider;
|
|
18
|
+
//# sourceMappingURL=DevPortalProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DevPortalProvider.d.ts","sourceRoot":"","sources":["../../../src/devportal/hooks/DevPortalProvider.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAErE;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { apolloClient as e } from "./useGraphQL.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { ApolloProvider as n } from "@apollo/client/react";
|
|
4
|
+
//#region src/devportal/hooks/DevPortalProvider.tsx
|
|
5
|
+
function r({ children: r }) {
|
|
6
|
+
return /* @__PURE__ */ t(n, {
|
|
7
|
+
client: e,
|
|
8
|
+
children: r
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=DevPortalProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DevPortalProvider.js","names":[],"sources":["../../../src/devportal/hooks/DevPortalProvider.tsx"],"sourcesContent":["/**\n * DevPortal Apollo Provider\n *\n * Wraps the application with Apollo Client context for GraphQL operations.\n * This provider should be used at the root of the DevPortal microfrontend.\n */\n\nimport { ApolloProvider } from \"@apollo/client/react\";\nimport { type ReactNode } from \"react\";\nimport { apolloClient } from \"./useGraphQL\";\n\ninterface DevPortalProviderProps {\n children: ReactNode;\n}\n\n/**\n * DevPortalProvider - Wraps children with Apollo Client context\n *\n * Usage:\n * ```tsx\n * <DevPortalProvider>\n * <YourApp />\n * </DevPortalProvider>\n * ```\n */\nexport function DevPortalProvider({ children }: DevPortalProviderProps) {\n return <ApolloProvider client={apolloClient}>{children}</ApolloProvider>;\n}\n\nexport default DevPortalProvider;\n"],"mappings":";;;;AAyBA,SAAgB,EAAkB,EAAE,eAAoC;AACtE,QAAO,kBAAC,GAAD;EAAgB,QAAQ;EAAe;EAA0B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevPortal Hooks
|
|
3
|
+
*
|
|
4
|
+
* Exports all GraphQL hooks and utilities for the Developer Portal.
|
|
5
|
+
*/
|
|
6
|
+
export { apolloClient, parseGraphQLError, getErrorMessage, isAuthError, isValidationError, clearApolloCache, resetApolloStore, type GraphQLErrorInfo, } from './useGraphQL';
|
|
7
|
+
export { DevPortalProvider } from './DevPortalProvider';
|
|
8
|
+
export { useDevportalPermission } from './usePermission';
|
|
9
|
+
export * from '../../generated/global-operations';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/devportal/hooks/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,gBAAgB,GACtB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ApolloClient } from '@apollo/client/core';
|
|
2
|
+
|
|
3
|
+
export * from '../../generated/global-operations';
|
|
4
|
+
declare global {
|
|
5
|
+
interface ImportMeta {
|
|
6
|
+
readonly env: {
|
|
7
|
+
readonly VITE_GRAPHQL_ENDPOINT?: string;
|
|
8
|
+
readonly VITE_AUTH_GRAPHQL_ENDPOINT?: string;
|
|
9
|
+
readonly VITE_DEV_ACTOR_ID?: string;
|
|
10
|
+
readonly VITE_DEV_ACTOR_TYPE?: string;
|
|
11
|
+
readonly DEV?: boolean;
|
|
12
|
+
[key: string]: string | boolean | undefined;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export declare const apolloClient: ApolloClient;
|
|
17
|
+
/**
|
|
18
|
+
* Error handling utilities
|
|
19
|
+
*/
|
|
20
|
+
export interface GraphQLErrorInfo {
|
|
21
|
+
message: string;
|
|
22
|
+
code?: string;
|
|
23
|
+
path?: readonly (string | number)[];
|
|
24
|
+
}
|
|
25
|
+
export type ApolloErrorLike = Error & {
|
|
26
|
+
graphQLErrors?: readonly {
|
|
27
|
+
message: string;
|
|
28
|
+
extensions?: {
|
|
29
|
+
code?: string;
|
|
30
|
+
};
|
|
31
|
+
path?: readonly (string | number)[];
|
|
32
|
+
}[];
|
|
33
|
+
networkError?: Error | null;
|
|
34
|
+
};
|
|
35
|
+
export declare function parseGraphQLError(error: ApolloErrorLike): GraphQLErrorInfo[];
|
|
36
|
+
/**
|
|
37
|
+
* Get a user-friendly error message from an Apollo error
|
|
38
|
+
*/
|
|
39
|
+
export declare function getErrorMessage(error: ApolloErrorLike): string;
|
|
40
|
+
/**
|
|
41
|
+
* Check if an error is an authentication error
|
|
42
|
+
*/
|
|
43
|
+
export declare function isAuthError(error: ApolloErrorLike): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Check if an error is a validation error
|
|
46
|
+
*/
|
|
47
|
+
export declare function isValidationError(error: ApolloErrorLike): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Clear Apollo cache (useful for logout)
|
|
50
|
+
*/
|
|
51
|
+
export declare function clearApolloCache(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Reset Apollo store and refetch queries
|
|
54
|
+
*/
|
|
55
|
+
export declare function resetApolloStore(): Promise<void>;
|
|
56
|
+
//# sourceMappingURL=useGraphQL.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGraphQL.d.ts","sourceRoot":"","sources":["../../../src/devportal/hooks/useGraphQL.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EAKb,MAAM,qBAAqB,CAAC;AAuC7B,cAAc,mCAAmC,CAAC;AAGlD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,UAAU;QAClB,QAAQ,CAAC,GAAG,EAAE;YACZ,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,CAAC;YACxC,QAAQ,CAAC,0BAA0B,CAAC,EAAE,MAAM,CAAC;YAC7C,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;YACpC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;YACtC,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC;YACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;SAC7C,CAAC;KACH;CACF;AA4HD,eAAO,MAAM,YAAY,cAuKvB,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CACrC;AAGD,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG;IACpC,aAAa,CAAC,EAAE,SAAS;QACvB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QAC/B,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;KACrC,EAAE,CAAC;IACJ,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,gBAAgB,EAAE,CAgC5E;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAG9D;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAK3D;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAKjE;AAED;;GAEG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAEtD;AAED;;GAEG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAEtD"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import "../../generated/global-operations.js";
|
|
2
|
+
import { CombinedGraphQLErrors as e } from "../../node_modules/@apollo/client/errors/CombinedGraphQLErrors.js";
|
|
3
|
+
import { ServerError as t } from "../../node_modules/@apollo/client/errors/ServerError.js";
|
|
4
|
+
import { ApolloClient as n, InMemoryCache as r, createHttpLink as i, from as a, split as o } from "@apollo/client/core";
|
|
5
|
+
import { setContext as s } from "@apollo/client/link/context";
|
|
6
|
+
import { onError as c } from "@apollo/client/link/error";
|
|
7
|
+
import { isAuthNetworkError as l, redirectToLogin as u } from "@burdenoff/fe-libs/shared/utils";
|
|
8
|
+
//#region src/devportal/hooks/useGraphQL.ts
|
|
9
|
+
function d(e = []) {
|
|
10
|
+
return e.some((e) => {
|
|
11
|
+
let t = typeof e.extensions?.code == "string" ? e.extensions.code : "", n = typeof e.extensions?.errorCode == "string" ? e.extensions.errorCode : "", r = (e.message ?? "").toLowerCase();
|
|
12
|
+
return t === "UNAUTHENTICATED" || n === "TOKEN_EXPIRED" || r.includes("token_expired") || r.includes("token expired") || r.includes("session expired") || r.includes("unauthorized") || r.includes("unauthenticated") || r.includes("authentication required") || r.includes("workspace context missing");
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
var f = !1, p = f ? "/devportal-graphql" : "http://localhost:4015/graphql", m = f ? "/auth-graphql" : "http://localhost:4011/graphql", h = new Set([
|
|
16
|
+
"CurrentUserApps",
|
|
17
|
+
"GetAuthApp",
|
|
18
|
+
"AppsActingAsCurrentUser",
|
|
19
|
+
"CreateAuthApp",
|
|
20
|
+
"UpdateAuthApp",
|
|
21
|
+
"DeactivateApp",
|
|
22
|
+
"RotateAppSecret",
|
|
23
|
+
"AuthenticateApp",
|
|
24
|
+
"GenerateAppToken",
|
|
25
|
+
"GenerateAppAsUserToken",
|
|
26
|
+
"ExchangeToken",
|
|
27
|
+
"CurrentUserDelegations",
|
|
28
|
+
"CurrentUserGrantedDelegations",
|
|
29
|
+
"GrantDelegation",
|
|
30
|
+
"RevokeDelegation",
|
|
31
|
+
"MyApiKeys",
|
|
32
|
+
"GenerateAPIKey",
|
|
33
|
+
"RevokeAPIKeyAuth",
|
|
34
|
+
"RotateAPIKeyAuth",
|
|
35
|
+
"AuthenticateAPIKey"
|
|
36
|
+
]), g = "dev-user-001", _ = "user", v = i({ uri: p }), y = o(({ operationName: e }) => e ? h.has(e) : !1, i({ uri: m }), v), b = s((e, { headers: t }) => {
|
|
37
|
+
let n = typeof window < "u" ? localStorage.getItem("auth_token") : null, r = { ...t };
|
|
38
|
+
if (n && (r.authorization = `Bearer ${n}`), f) {
|
|
39
|
+
let e = typeof window < "u" && localStorage.getItem("dev_actor_id") || g, t = typeof window < "u" && localStorage.getItem("dev_actor_type") || _;
|
|
40
|
+
r["x-actor-id"] = e, r["x-actor-type"] = t;
|
|
41
|
+
}
|
|
42
|
+
return { headers: r };
|
|
43
|
+
}), x = new n({
|
|
44
|
+
link: a([
|
|
45
|
+
c(({ error: e }) => {
|
|
46
|
+
if (e) {
|
|
47
|
+
if (d("errors" in e && Array.isArray(e.errors) ? e.errors : [])) {
|
|
48
|
+
u();
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
e instanceof Error && l(e) && u();
|
|
52
|
+
}
|
|
53
|
+
}),
|
|
54
|
+
b,
|
|
55
|
+
y
|
|
56
|
+
]),
|
|
57
|
+
cache: new r({ typePolicies: {
|
|
58
|
+
Query: { fields: {
|
|
59
|
+
developerOrganizations: {
|
|
60
|
+
keyArgs: [
|
|
61
|
+
"tier",
|
|
62
|
+
"isVerified",
|
|
63
|
+
"isCertified",
|
|
64
|
+
"partnerTier"
|
|
65
|
+
],
|
|
66
|
+
merge(e, t, { args: n }) {
|
|
67
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
68
|
+
...t,
|
|
69
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
applications: {
|
|
74
|
+
keyArgs: [
|
|
75
|
+
"status",
|
|
76
|
+
"visibility",
|
|
77
|
+
"developerId"
|
|
78
|
+
],
|
|
79
|
+
merge(e, t, { args: n }) {
|
|
80
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
81
|
+
...t,
|
|
82
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
developerOrgSales: {
|
|
87
|
+
keyArgs: [
|
|
88
|
+
"organizationId",
|
|
89
|
+
"applicationId",
|
|
90
|
+
"status",
|
|
91
|
+
"pricingModel",
|
|
92
|
+
"isPaidOut"
|
|
93
|
+
],
|
|
94
|
+
merge(e, t, { args: n }) {
|
|
95
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
96
|
+
...t,
|
|
97
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
developerOrgPayouts: {
|
|
102
|
+
keyArgs: ["organizationId", "status"],
|
|
103
|
+
merge(e, t, { args: n }) {
|
|
104
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
105
|
+
...t,
|
|
106
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
developerOrgMembers: {
|
|
111
|
+
keyArgs: ["organizationId", "role"],
|
|
112
|
+
merge(e, t, { args: n }) {
|
|
113
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
114
|
+
...t,
|
|
115
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
developerOrgInvitations: {
|
|
120
|
+
keyArgs: ["organizationId", "status"],
|
|
121
|
+
merge(e, t, { args: n }) {
|
|
122
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
123
|
+
...t,
|
|
124
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
webhooks: {
|
|
129
|
+
keyArgs: ["applicationId", "status"],
|
|
130
|
+
merge(e, t, { args: n }) {
|
|
131
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
132
|
+
...t,
|
|
133
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
webhookDeliveries: {
|
|
138
|
+
keyArgs: ["webhookId", "status"],
|
|
139
|
+
merge(e, t, { args: n }) {
|
|
140
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
141
|
+
...t,
|
|
142
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
auditLogs: {
|
|
147
|
+
keyArgs: [
|
|
148
|
+
"resource",
|
|
149
|
+
"resourceId",
|
|
150
|
+
"actorId"
|
|
151
|
+
],
|
|
152
|
+
merge(e, t, { args: n }) {
|
|
153
|
+
return !n?.offset || n.offset === 0 ? t : {
|
|
154
|
+
...t,
|
|
155
|
+
edges: [...e?.edges || [], ...t.edges]
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
applicationVersions: {
|
|
160
|
+
keyArgs: ["applicationId"],
|
|
161
|
+
merge(e, t, { args: n }) {
|
|
162
|
+
return !n?.offset || n.offset === 0 ? t : Array.isArray(t) && Array.isArray(e) ? [...e, ...t] : t;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
} },
|
|
166
|
+
WebhookDelivery: { keyFields: ["id"] },
|
|
167
|
+
ApplicationVersion: { keyFields: ["id"] },
|
|
168
|
+
DeveloperOrganization: { keyFields: ["id"] },
|
|
169
|
+
Application: { keyFields: ["id"] },
|
|
170
|
+
DeveloperOrgMember: { keyFields: ["id"] },
|
|
171
|
+
DeveloperOrgInvitation: { keyFields: ["id"] },
|
|
172
|
+
Webhook: { keyFields: ["id"] },
|
|
173
|
+
ApiKey: { keyFields: ["id"] },
|
|
174
|
+
OAuthClient: { keyFields: ["id"] }
|
|
175
|
+
} }),
|
|
176
|
+
defaultOptions: {
|
|
177
|
+
watchQuery: {
|
|
178
|
+
fetchPolicy: "cache-and-network",
|
|
179
|
+
errorPolicy: "all"
|
|
180
|
+
},
|
|
181
|
+
query: {
|
|
182
|
+
fetchPolicy: "cache-first",
|
|
183
|
+
errorPolicy: "all"
|
|
184
|
+
},
|
|
185
|
+
mutate: { errorPolicy: "all" }
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
function S(n) {
|
|
189
|
+
return n instanceof e ? n.errors.map((e) => ({
|
|
190
|
+
message: e.message,
|
|
191
|
+
code: e.extensions?.code,
|
|
192
|
+
path: e.path
|
|
193
|
+
})) : n.graphQLErrors && n.graphQLErrors.length > 0 ? n.graphQLErrors.map((e) => ({
|
|
194
|
+
message: e.message,
|
|
195
|
+
code: e.extensions?.code,
|
|
196
|
+
path: e.path
|
|
197
|
+
})) : n instanceof t || n.networkError ? [{
|
|
198
|
+
message: "Network error. Please check your connection and try again.",
|
|
199
|
+
code: "NETWORK_ERROR"
|
|
200
|
+
}] : [{
|
|
201
|
+
message: n.message || "An unexpected error occurred",
|
|
202
|
+
code: "UNKNOWN_ERROR"
|
|
203
|
+
}];
|
|
204
|
+
}
|
|
205
|
+
function C(e) {
|
|
206
|
+
return S(e).map((e) => e.message).join(", ");
|
|
207
|
+
}
|
|
208
|
+
function w(e) {
|
|
209
|
+
return S(e).some((e) => e.code === "UNAUTHENTICATED" || e.code === "FORBIDDEN");
|
|
210
|
+
}
|
|
211
|
+
function T(e) {
|
|
212
|
+
return S(e).some((e) => e.code === "BAD_USER_INPUT" || e.code === "VALIDATION_ERROR");
|
|
213
|
+
}
|
|
214
|
+
async function E() {
|
|
215
|
+
await x.clearStore();
|
|
216
|
+
}
|
|
217
|
+
async function D() {
|
|
218
|
+
await x.resetStore();
|
|
219
|
+
}
|
|
220
|
+
//#endregion
|
|
221
|
+
export { x as apolloClient, E as clearApolloCache, C as getErrorMessage, w as isAuthError, T as isValidationError, S as parseGraphQLError, D as resetApolloStore };
|
|
222
|
+
|
|
223
|
+
//# sourceMappingURL=useGraphQL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGraphQL.js","names":[],"sources":["../../../src/devportal/hooks/useGraphQL.ts"],"sourcesContent":["/**\n * Apollo Client hooks and utilities for DevPortal\n *\n * This file provides the GraphQL client setup and custom hooks for the Developer Portal.\n * It wraps the generated Apollo hooks with additional functionality like error handling,\n * loading states, and authentication context.\n */\n\nimport {\n ApolloClient,\n InMemoryCache,\n createHttpLink,\n from,\n split,\n} from \"@apollo/client/core\";\nimport { CombinedGraphQLErrors, ServerError } from \"@apollo/client/errors\";\nimport { setContext } from \"@apollo/client/link/context\";\nimport { onError } from \"@apollo/client/link/error\";\nimport {\n isAuthNetworkError,\n redirectToLogin,\n} from \"@burdenoff/fe-libs/shared/utils\";\n\nfunction hasSessionAuthErrors(\n errors: ReadonlyArray<{\n message?: string;\n extensions?: Record<string, unknown>;\n }> = [],\n): boolean {\n return errors.some((error) => {\n const code =\n typeof error.extensions?.code === \"string\" ? error.extensions.code : \"\";\n const errorCode =\n typeof error.extensions?.errorCode === \"string\"\n ? error.extensions.errorCode\n : \"\";\n const message = (error.message ?? \"\").toLowerCase();\n\n return (\n code === \"UNAUTHENTICATED\" ||\n errorCode === \"TOKEN_EXPIRED\" ||\n message.includes(\"token_expired\") ||\n message.includes(\"token expired\") ||\n message.includes(\"session expired\") ||\n message.includes(\"unauthorized\") ||\n message.includes(\"unauthenticated\") ||\n message.includes(\"authentication required\") ||\n message.includes(\"workspace context missing\")\n );\n });\n}\n\n// Re-export all generated hooks for direct use\nexport * from \"../../generated/global-operations\";\n\n// Vite environment variable declaration\ndeclare global {\n interface ImportMeta {\n readonly env: {\n readonly VITE_GRAPHQL_ENDPOINT?: string;\n readonly VITE_AUTH_GRAPHQL_ENDPOINT?: string;\n readonly VITE_DEV_ACTOR_ID?: string;\n readonly VITE_DEV_ACTOR_TYPE?: string;\n readonly DEV?: boolean;\n [key: string]: string | boolean | undefined;\n };\n }\n}\n\n// Development mode check\nconst isDevelopment =\n typeof import.meta !== \"undefined\" && import.meta.env?.DEV === true;\n\n// Default GraphQL endpoints - can be overridden via environment.\n// In standalone dev mode we route through same-origin Vite proxies to avoid CORS.\nconst DEFAULT_GRAPHQL_ENDPOINT =\n (typeof import.meta !== \"undefined\" &&\n import.meta.env?.VITE_GRAPHQL_ENDPOINT) ||\n (isDevelopment ? \"/devportal-graphql\" : \"http://localhost:4015/graphql\");\n\nconst DEFAULT_AUTH_GRAPHQL_ENDPOINT =\n (typeof import.meta !== \"undefined\" &&\n import.meta.env?.VITE_AUTH_GRAPHQL_ENDPOINT) ||\n (isDevelopment ? \"/auth-graphql\" : \"http://localhost:4011/graphql\");\n\nconst AUTH_OPERATION_NAMES = new Set([\n \"CurrentUserApps\",\n \"GetAuthApp\",\n \"AppsActingAsCurrentUser\",\n \"CreateAuthApp\",\n \"UpdateAuthApp\",\n \"DeactivateApp\",\n \"RotateAppSecret\",\n \"AuthenticateApp\",\n \"GenerateAppToken\",\n \"GenerateAppAsUserToken\",\n \"ExchangeToken\",\n \"CurrentUserDelegations\",\n \"CurrentUserGrantedDelegations\",\n \"GrantDelegation\",\n \"RevokeDelegation\",\n \"MyApiKeys\",\n \"GenerateAPIKey\",\n \"RevokeAPIKeyAuth\",\n \"RotateAPIKeyAuth\",\n \"AuthenticateAPIKey\",\n]);\n\n// Development actor ID - simulates gateway-injected headers\n// In production, the gateway adds these after JWT verification\nconst DEV_ACTOR_ID =\n (typeof import.meta !== \"undefined\" && import.meta.env?.VITE_DEV_ACTOR_ID) ||\n \"dev-user-001\";\n\nconst DEV_ACTOR_TYPE =\n (typeof import.meta !== \"undefined\" &&\n import.meta.env?.VITE_DEV_ACTOR_TYPE) ||\n \"user\";\n\n// Create the HTTP links\nconst devportalHttpLink = createHttpLink({\n uri: DEFAULT_GRAPHQL_ENDPOINT,\n});\n\nconst authHttpLink = createHttpLink({\n uri: DEFAULT_AUTH_GRAPHQL_ENDPOINT,\n});\n\nconst httpLink = split(\n ({ operationName }) => {\n if (!operationName) {\n return false;\n }\n\n return AUTH_OPERATION_NAMES.has(operationName);\n },\n authHttpLink,\n devportalHttpLink,\n);\n\n// Auth link to add authentication headers\nconst authLink = setContext((_, { headers }) => {\n // Get auth token from storage or context\n const token =\n typeof window !== \"undefined\" ? localStorage.getItem(\"auth_token\") : null;\n\n // Build headers\n const authHeaders: Record<string, string> = {\n ...headers,\n };\n\n if (token) {\n authHeaders[\"authorization\"] = `Bearer ${token}`;\n }\n\n // In development mode, add actor headers to simulate gateway behavior\n // In production, the API Gateway adds these headers after JWT verification\n if (isDevelopment) {\n // Use actor ID from localStorage (set by dev tools) or fall back to env/default\n const actorId =\n (typeof window !== \"undefined\" && localStorage.getItem(\"dev_actor_id\")) ||\n DEV_ACTOR_ID;\n const actorType =\n (typeof window !== \"undefined\" &&\n localStorage.getItem(\"dev_actor_type\")) ||\n DEV_ACTOR_TYPE;\n\n authHeaders[\"x-actor-id\"] = actorId;\n authHeaders[\"x-actor-type\"] = actorType;\n }\n\n return { headers: authHeaders };\n});\n\nconst errorLink = onError(({ error }) => {\n if (!error) return;\n\n const graphQLErrors =\n \"errors\" in error && Array.isArray(error.errors) ? error.errors : [];\n\n if (hasSessionAuthErrors(graphQLErrors)) {\n redirectToLogin();\n return;\n }\n\n if (error instanceof Error && isAuthNetworkError(error)) {\n redirectToLogin();\n }\n});\n\n// Create the Apollo Client instance\nexport const apolloClient = new ApolloClient({\n link: from([errorLink, authLink, httpLink]),\n cache: new InMemoryCache({\n typePolicies: {\n Query: {\n fields: {\n // Pagination policies for connection types\n developerOrganizations: {\n keyArgs: [\"tier\", \"isVerified\", \"isCertified\", \"partnerTier\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) {\n return incoming;\n }\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n applications: {\n keyArgs: [\"status\", \"visibility\", \"developerId\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) {\n return incoming;\n }\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n developerOrgSales: {\n keyArgs: [\n \"organizationId\",\n \"applicationId\",\n \"status\",\n \"pricingModel\",\n \"isPaidOut\",\n ],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) {\n return incoming;\n }\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n developerOrgPayouts: {\n keyArgs: [\"organizationId\", \"status\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) {\n return incoming;\n }\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n developerOrgMembers: {\n keyArgs: [\"organizationId\", \"role\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) return incoming;\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n developerOrgInvitations: {\n keyArgs: [\"organizationId\", \"status\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) return incoming;\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n webhooks: {\n keyArgs: [\"applicationId\", \"status\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) return incoming;\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n webhookDeliveries: {\n keyArgs: [\"webhookId\", \"status\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) return incoming;\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n auditLogs: {\n keyArgs: [\"resource\", \"resourceId\", \"actorId\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) return incoming;\n return {\n ...incoming,\n edges: [...(existing?.edges || []), ...incoming.edges],\n };\n },\n },\n applicationVersions: {\n // TODO(phase1-backend): Switch to ApplicationVersionConnection cursor pagination\n // once backend ships connection type. See stability tracker.\n keyArgs: [\"applicationId\"],\n merge(existing, incoming, { args }) {\n if (!args?.offset || args.offset === 0) return incoming;\n if (Array.isArray(incoming) && Array.isArray(existing)) {\n return [...existing, ...incoming];\n }\n return incoming;\n },\n },\n },\n },\n WebhookDelivery: {\n keyFields: [\"id\"],\n },\n ApplicationVersion: {\n keyFields: [\"id\"],\n },\n DeveloperOrganization: {\n keyFields: [\"id\"],\n },\n Application: {\n keyFields: [\"id\"],\n },\n DeveloperOrgMember: {\n keyFields: [\"id\"],\n },\n DeveloperOrgInvitation: {\n keyFields: [\"id\"],\n },\n Webhook: {\n keyFields: [\"id\"],\n },\n ApiKey: {\n keyFields: [\"id\"],\n },\n OAuthClient: {\n keyFields: [\"id\"],\n },\n },\n }),\n defaultOptions: {\n watchQuery: {\n fetchPolicy: \"cache-and-network\",\n errorPolicy: \"all\",\n },\n query: {\n fetchPolicy: \"cache-first\",\n errorPolicy: \"all\",\n },\n mutate: {\n errorPolicy: \"all\",\n },\n },\n});\n\n/**\n * Error handling utilities\n */\nexport interface GraphQLErrorInfo {\n message: string;\n code?: string;\n path?: readonly (string | number)[];\n}\n\n// Type for Apollo errors (can be CombinedGraphQLErrors, ServerError, or Error)\nexport type ApolloErrorLike = Error & {\n graphQLErrors?: readonly {\n message: string;\n extensions?: { code?: string };\n path?: readonly (string | number)[];\n }[];\n networkError?: Error | null;\n};\n\nexport function parseGraphQLError(error: ApolloErrorLike): GraphQLErrorInfo[] {\n if (error instanceof CombinedGraphQLErrors) {\n return error.errors.map((err) => ({\n message: err.message,\n code: err.extensions?.code as string | undefined,\n path: err.path,\n }));\n }\n\n if (error.graphQLErrors && error.graphQLErrors.length > 0) {\n return error.graphQLErrors.map((err) => ({\n message: err.message,\n code: err.extensions?.code as string | undefined,\n path: err.path,\n }));\n }\n\n if (error instanceof ServerError || error.networkError) {\n return [\n {\n message: \"Network error. Please check your connection and try again.\",\n code: \"NETWORK_ERROR\",\n },\n ];\n }\n\n return [\n {\n message: error.message || \"An unexpected error occurred\",\n code: \"UNKNOWN_ERROR\",\n },\n ];\n}\n\n/**\n * Get a user-friendly error message from an Apollo error\n */\nexport function getErrorMessage(error: ApolloErrorLike): string {\n const errors = parseGraphQLError(error);\n return errors.map((e) => e.message).join(\", \");\n}\n\n/**\n * Check if an error is an authentication error\n */\nexport function isAuthError(error: ApolloErrorLike): boolean {\n const errors = parseGraphQLError(error);\n return errors.some(\n (e) => e.code === \"UNAUTHENTICATED\" || e.code === \"FORBIDDEN\",\n );\n}\n\n/**\n * Check if an error is a validation error\n */\nexport function isValidationError(error: ApolloErrorLike): boolean {\n const errors = parseGraphQLError(error);\n return errors.some(\n (e) => e.code === \"BAD_USER_INPUT\" || e.code === \"VALIDATION_ERROR\",\n );\n}\n\n/**\n * Clear Apollo cache (useful for logout)\n */\nexport async function clearApolloCache(): Promise<void> {\n await apolloClient.clearStore();\n}\n\n/**\n * Reset Apollo store and refetch queries\n */\nexport async function resetApolloStore(): Promise<void> {\n await apolloClient.resetStore();\n}\n"],"mappings":";;;;;;;;AAuBA,SAAS,EACP,IAGK,EAAE,EACE;AACT,QAAO,EAAO,MAAM,MAAU;EAC5B,IAAM,IACJ,OAAO,EAAM,YAAY,QAAS,WAAW,EAAM,WAAW,OAAO,IACjE,IACJ,OAAO,EAAM,YAAY,aAAc,WACnC,EAAM,WAAW,YACjB,IACA,KAAW,EAAM,WAAW,IAAI,aAAa;AAEnD,SACE,MAAS,qBACT,MAAc,mBACd,EAAQ,SAAS,gBAAgB,IACjC,EAAQ,SAAS,gBAAgB,IACjC,EAAQ,SAAS,kBAAkB,IACnC,EAAQ,SAAS,eAAe,IAChC,EAAQ,SAAS,kBAAkB,IACnC,EAAQ,SAAS,0BAA0B,IAC3C,EAAQ,SAAS,4BAA4B;GAE/C;;AAqBJ,IAAM,IACkC,IAIlC,IAGH,IAAgB,uBAAuB,iCAEpC,IAGH,IAAgB,kBAAkB,iCAE/B,IAAuB,IAAI,IAAI;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,EAII,IAEJ,gBAEI,IAGJ,QAGI,IAAoB,EAAe,EACvC,KAAK,GACN,CAAC,EAMI,IAAW,GACd,EAAE,uBACI,IAIE,EAAqB,IAAI,EAAc,GAHrC,IAPQ,EAAe,EAClC,KAAK,GACN,CAAC,EAWA,EACD,EAGK,IAAW,GAAY,GAAG,EAAE,iBAAc;CAE9C,IAAM,IACJ,OAAO,SAAW,MAAc,aAAa,QAAQ,aAAa,GAAG,MAGjE,IAAsC,EAC1C,GAAG,GACJ;AAQD,KANI,MACF,EAAY,gBAAmB,UAAU,MAKvC,GAAe;EAEjB,IAAM,IACH,OAAO,SAAW,OAAe,aAAa,QAAQ,eAAe,IACtE,GACI,IACH,OAAO,SAAW,OACjB,aAAa,QAAQ,iBAAiB,IACxC;AAGF,EADA,EAAY,gBAAgB,GAC5B,EAAY,kBAAkB;;AAGhC,QAAO,EAAE,SAAS,GAAa;EAC/B,EAmBW,IAAe,IAAI,EAAa;CAC3C,MAAM,EAAK;EAlBK,GAAS,EAAE,eAAY;AAClC,UAKL;QAAI,EAFF,YAAY,KAAS,MAAM,QAAQ,EAAM,OAAO,GAAG,EAAM,SAAS,EAAE,CAE/B,EAAE;AACvC,QAAiB;AACjB;;AAGF,IAAI,aAAiB,SAAS,EAAmB,EAAM,IACrD,GAAiB;;IAEnB;EAIuB;EAAU;EAAS,CAAC;CAC3C,OAAO,IAAI,EAAc,EACvB,cAAc;EACZ,OAAO,EACL,QAAQ;GAEN,wBAAwB;IACtB,SAAS;KAAC;KAAQ;KAAc;KAAe;KAAc;IAC7D,MAAM,GAAU,GAAU,EAAE,WAAQ;AAIlC,YAHI,CAAC,GAAM,UAAU,EAAK,WAAW,IAC5B,IAEF;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,cAAc;IACZ,SAAS;KAAC;KAAU;KAAc;KAAc;IAChD,MAAM,GAAU,GAAU,EAAE,WAAQ;AAIlC,YAHI,CAAC,GAAM,UAAU,EAAK,WAAW,IAC5B,IAEF;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,mBAAmB;IACjB,SAAS;KACP;KACA;KACA;KACA;KACA;KACD;IACD,MAAM,GAAU,GAAU,EAAE,WAAQ;AAIlC,YAHI,CAAC,GAAM,UAAU,EAAK,WAAW,IAC5B,IAEF;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,qBAAqB;IACnB,SAAS,CAAC,kBAAkB,SAAS;IACrC,MAAM,GAAU,GAAU,EAAE,WAAQ;AAIlC,YAHI,CAAC,GAAM,UAAU,EAAK,WAAW,IAC5B,IAEF;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,qBAAqB;IACnB,SAAS,CAAC,kBAAkB,OAAO;IACnC,MAAM,GAAU,GAAU,EAAE,WAAQ;AAElC,YADI,CAAC,GAAM,UAAU,EAAK,WAAW,IAAU,IACxC;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,yBAAyB;IACvB,SAAS,CAAC,kBAAkB,SAAS;IACrC,MAAM,GAAU,GAAU,EAAE,WAAQ;AAElC,YADI,CAAC,GAAM,UAAU,EAAK,WAAW,IAAU,IACxC;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,UAAU;IACR,SAAS,CAAC,iBAAiB,SAAS;IACpC,MAAM,GAAU,GAAU,EAAE,WAAQ;AAElC,YADI,CAAC,GAAM,UAAU,EAAK,WAAW,IAAU,IACxC;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,mBAAmB;IACjB,SAAS,CAAC,aAAa,SAAS;IAChC,MAAM,GAAU,GAAU,EAAE,WAAQ;AAElC,YADI,CAAC,GAAM,UAAU,EAAK,WAAW,IAAU,IACxC;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,WAAW;IACT,SAAS;KAAC;KAAY;KAAc;KAAU;IAC9C,MAAM,GAAU,GAAU,EAAE,WAAQ;AAElC,YADI,CAAC,GAAM,UAAU,EAAK,WAAW,IAAU,IACxC;MACL,GAAG;MACH,OAAO,CAAC,GAAI,GAAU,SAAS,EAAE,EAAG,GAAG,EAAS,MAAM;MACvD;;IAEJ;GACD,qBAAqB;IAGnB,SAAS,CAAC,gBAAgB;IAC1B,MAAM,GAAU,GAAU,EAAE,WAAQ;AAKlC,YAJI,CAAC,GAAM,UAAU,EAAK,WAAW,IAAU,IAC3C,MAAM,QAAQ,EAAS,IAAI,MAAM,QAAQ,EAAS,GAC7C,CAAC,GAAG,GAAU,GAAG,EAAS,GAE5B;;IAEV;GACF,EACF;EACD,iBAAiB,EACf,WAAW,CAAC,KAAK,EAClB;EACD,oBAAoB,EAClB,WAAW,CAAC,KAAK,EAClB;EACD,uBAAuB,EACrB,WAAW,CAAC,KAAK,EAClB;EACD,aAAa,EACX,WAAW,CAAC,KAAK,EAClB;EACD,oBAAoB,EAClB,WAAW,CAAC,KAAK,EAClB;EACD,wBAAwB,EACtB,WAAW,CAAC,KAAK,EAClB;EACD,SAAS,EACP,WAAW,CAAC,KAAK,EAClB;EACD,QAAQ,EACN,WAAW,CAAC,KAAK,EAClB;EACD,aAAa,EACX,WAAW,CAAC,KAAK,EAClB;EACF,EACF,CAAC;CACF,gBAAgB;EACd,YAAY;GACV,aAAa;GACb,aAAa;GACd;EACD,OAAO;GACL,aAAa;GACb,aAAa;GACd;EACD,QAAQ,EACN,aAAa,OACd;EACF;CACF,CAAC;AAqBF,SAAgB,EAAkB,GAA4C;AA0B5E,QAzBI,aAAiB,IACZ,EAAM,OAAO,KAAK,OAAS;EAChC,SAAS,EAAI;EACb,MAAM,EAAI,YAAY;EACtB,MAAM,EAAI;EACX,EAAE,GAGD,EAAM,iBAAiB,EAAM,cAAc,SAAS,IAC/C,EAAM,cAAc,KAAK,OAAS;EACvC,SAAS,EAAI;EACb,MAAM,EAAI,YAAY;EACtB,MAAM,EAAI;EACX,EAAE,GAGD,aAAiB,KAAe,EAAM,eACjC,CACL;EACE,SAAS;EACT,MAAM;EACP,CACF,GAGI,CACL;EACE,SAAS,EAAM,WAAW;EAC1B,MAAM;EACP,CACF;;AAMH,SAAgB,EAAgB,GAAgC;AAE9D,QADe,EAAkB,EAAM,CACzB,KAAK,MAAM,EAAE,QAAQ,CAAC,KAAK,KAAK;;AAMhD,SAAgB,EAAY,GAAiC;AAE3D,QADe,EAAkB,EAAM,CACzB,MACX,MAAM,EAAE,SAAS,qBAAqB,EAAE,SAAS,YACnD;;AAMH,SAAgB,EAAkB,GAAiC;AAEjE,QADe,EAAkB,EAAM,CACzB,MACX,MAAM,EAAE,SAAS,oBAAoB,EAAE,SAAS,mBAClD;;AAMH,eAAsB,IAAkC;AACtD,OAAM,EAAa,YAAY;;AAMjC,eAAsB,IAAkC;AACtD,OAAM,EAAa,YAAY"}
|