@retinalabsllc/zairusjs 4.0.1 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -860,7 +860,7 @@ interface FileIconMapperProps {
860
860
  }
861
861
  declare const FileIconMapper: React.FC<FileIconMapperProps>;
862
862
 
863
- interface DriveItem {
863
+ interface DriveItem$1 {
864
864
  id: string;
865
865
  name: string;
866
866
  type: DriveItemType | string;
@@ -881,12 +881,13 @@ interface UniversalDriveViewProps {
881
881
  id: string | null;
882
882
  name: string;
883
883
  }>;
884
- items: DriveItem[];
884
+ items: DriveItem$1[];
885
885
  uploadQueue: UploadQueueJob[];
886
886
  isLoading: boolean;
887
887
  searchQuery: string;
888
888
  currentPage: number;
889
889
  totalPages: number;
890
+ connect?: boolean;
890
891
  onSearchChange: (val: string) => void;
891
892
  onNavigateFolder: (folderId: string | null) => void;
892
893
  onCreateFolder: (name: string) => Promise<void>;
@@ -897,23 +898,47 @@ interface UniversalDriveViewProps {
897
898
  onPageChange: (page: number) => void;
898
899
  onRefresh: () => void;
899
900
  onFetchFoldersForExplorer: (folderId: string | null) => Promise<{
900
- folders: DriveItem[];
901
+ folders: DriveItem$1[];
901
902
  breadcrumbs: any[];
902
903
  }>;
903
904
  onExecuteMoveCopy: (action: 'copy' | 'move', targetFolderId: string | null, itemIds: string[]) => Promise<void>;
904
- onOpenFile: (item: DriveItem) => void;
905
- onShareItems: (items: DriveItem[]) => void;
905
+ onOpenFile: (item: DriveItem$1) => void;
906
+ onShareItems: (items: DriveItem$1[]) => void;
906
907
  }
907
908
  declare const UniversalDriveView: React.FC<UniversalDriveViewProps>;
908
909
 
910
+ interface DriveItem {
911
+ id: string;
912
+ name: string;
913
+ type: DriveItemType | string;
914
+ mimeType?: string;
915
+ size: number | bigint;
916
+ parentId: string | null;
917
+ updatedAt: string | Date;
918
+ }
919
+ interface UniversalTrashViewProps {
920
+ items: DriveItem[];
921
+ isLoading: boolean;
922
+ searchQuery: string;
923
+ currentPage: number;
924
+ totalPages: number;
925
+ onSearchChange: (val: string) => void;
926
+ onRestoreItems: (ids: string[]) => Promise<void>;
927
+ onDeletePermanently: (ids: string[]) => Promise<void>;
928
+ onEmptyTrash: () => Promise<void>;
929
+ onPageChange: (page: number) => void;
930
+ onRefresh: () => void;
931
+ }
932
+ declare const UniversalTrashView: React.FC<UniversalTrashViewProps>;
933
+
909
934
  interface DriveItemOpenerProps {
910
- item: DriveItem | null;
935
+ item: DriveItem$1 | null;
911
936
  onClose: () => void;
912
937
  }
913
938
  declare const DriveItemOpener: React.FC<DriveItemOpenerProps>;
914
939
 
915
940
  interface DriveShareModalProps {
916
- items: DriveItem[] | null;
941
+ items: DriveItem$1[] | null;
917
942
  onClose: () => void;
918
943
  }
919
944
  declare const DriveShareModal: React.FC<DriveShareModalProps>;
@@ -1093,4 +1118,4 @@ interface ContentGridBlockProps {
1093
1118
  }
1094
1119
  declare const ContentGridBlock: React.FC<ContentGridBlockProps>;
1095
1120
 
1096
- export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, Banner, type BannerProps, type BentoFeature, type BoardMember, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, type UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
1121
+ export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, Banner, type BannerProps, type BentoFeature, type BoardMember, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem$1 as DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, UniversalTrashView, type UniversalTrashViewProps, type UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
package/dist/index.d.ts CHANGED
@@ -860,7 +860,7 @@ interface FileIconMapperProps {
860
860
  }
861
861
  declare const FileIconMapper: React.FC<FileIconMapperProps>;
862
862
 
863
- interface DriveItem {
863
+ interface DriveItem$1 {
864
864
  id: string;
865
865
  name: string;
866
866
  type: DriveItemType | string;
@@ -881,12 +881,13 @@ interface UniversalDriveViewProps {
881
881
  id: string | null;
882
882
  name: string;
883
883
  }>;
884
- items: DriveItem[];
884
+ items: DriveItem$1[];
885
885
  uploadQueue: UploadQueueJob[];
886
886
  isLoading: boolean;
887
887
  searchQuery: string;
888
888
  currentPage: number;
889
889
  totalPages: number;
890
+ connect?: boolean;
890
891
  onSearchChange: (val: string) => void;
891
892
  onNavigateFolder: (folderId: string | null) => void;
892
893
  onCreateFolder: (name: string) => Promise<void>;
@@ -897,23 +898,47 @@ interface UniversalDriveViewProps {
897
898
  onPageChange: (page: number) => void;
898
899
  onRefresh: () => void;
899
900
  onFetchFoldersForExplorer: (folderId: string | null) => Promise<{
900
- folders: DriveItem[];
901
+ folders: DriveItem$1[];
901
902
  breadcrumbs: any[];
902
903
  }>;
903
904
  onExecuteMoveCopy: (action: 'copy' | 'move', targetFolderId: string | null, itemIds: string[]) => Promise<void>;
904
- onOpenFile: (item: DriveItem) => void;
905
- onShareItems: (items: DriveItem[]) => void;
905
+ onOpenFile: (item: DriveItem$1) => void;
906
+ onShareItems: (items: DriveItem$1[]) => void;
906
907
  }
907
908
  declare const UniversalDriveView: React.FC<UniversalDriveViewProps>;
908
909
 
910
+ interface DriveItem {
911
+ id: string;
912
+ name: string;
913
+ type: DriveItemType | string;
914
+ mimeType?: string;
915
+ size: number | bigint;
916
+ parentId: string | null;
917
+ updatedAt: string | Date;
918
+ }
919
+ interface UniversalTrashViewProps {
920
+ items: DriveItem[];
921
+ isLoading: boolean;
922
+ searchQuery: string;
923
+ currentPage: number;
924
+ totalPages: number;
925
+ onSearchChange: (val: string) => void;
926
+ onRestoreItems: (ids: string[]) => Promise<void>;
927
+ onDeletePermanently: (ids: string[]) => Promise<void>;
928
+ onEmptyTrash: () => Promise<void>;
929
+ onPageChange: (page: number) => void;
930
+ onRefresh: () => void;
931
+ }
932
+ declare const UniversalTrashView: React.FC<UniversalTrashViewProps>;
933
+
909
934
  interface DriveItemOpenerProps {
910
- item: DriveItem | null;
935
+ item: DriveItem$1 | null;
911
936
  onClose: () => void;
912
937
  }
913
938
  declare const DriveItemOpener: React.FC<DriveItemOpenerProps>;
914
939
 
915
940
  interface DriveShareModalProps {
916
- items: DriveItem[] | null;
941
+ items: DriveItem$1[] | null;
917
942
  onClose: () => void;
918
943
  }
919
944
  declare const DriveShareModal: React.FC<DriveShareModalProps>;
@@ -1093,4 +1118,4 @@ interface ContentGridBlockProps {
1093
1118
  }
1094
1119
  declare const ContentGridBlock: React.FC<ContentGridBlockProps>;
1095
1120
 
1096
- export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, Banner, type BannerProps, type BentoFeature, type BoardMember, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, type UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
1121
+ export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, Banner, type BannerProps, type BentoFeature, type BoardMember, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem$1 as DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, UniversalTrashView, type UniversalTrashViewProps, type UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };