@procore/saved-views 1.0.1-estimatingFork.5 → 1.0.1-estimatingFork.6.1

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.
@@ -79,11 +79,13 @@ interface ISavedViewsBackend {
79
79
  interface IBaseSavedViewsProps {
80
80
  tableName: string;
81
81
  domain: string;
82
- userId: number;
82
+ userId: string;
83
83
  projectId?: number;
84
84
  companyId: number;
85
85
  stickyViewsKey: string;
86
86
  backend?: ISavedViewsBackend;
87
+ /** When false, hides the copy share link action on collection menu items. Defaults to true. */
88
+ enableSharingViews?: boolean;
87
89
  }
88
90
  interface ISavedViewsProps extends Omit<IBaseSavedViewsProps, 'stickyViewsKey'> {
89
91
  defaultView: ISavedView;
@@ -130,6 +132,7 @@ interface IPanelContentProps {
130
132
  savedViews?: ISavedView[];
131
133
  onClearTemporary?: () => void;
132
134
  backend: ISavedViewsBackend;
135
+ enableSharingViews?: boolean;
133
136
  }
134
137
 
135
138
  type SavedViewCollectionMenuItemProps = {
@@ -79,11 +79,13 @@ interface ISavedViewsBackend {
79
79
  interface IBaseSavedViewsProps {
80
80
  tableName: string;
81
81
  domain: string;
82
- userId: number;
82
+ userId: string;
83
83
  projectId?: number;
84
84
  companyId: number;
85
85
  stickyViewsKey: string;
86
86
  backend?: ISavedViewsBackend;
87
+ /** When false, hides the copy share link action on collection menu items. Defaults to true. */
88
+ enableSharingViews?: boolean;
87
89
  }
88
90
  interface ISavedViewsProps extends Omit<IBaseSavedViewsProps, 'stickyViewsKey'> {
89
91
  defaultView: ISavedView;
@@ -130,6 +132,7 @@ interface IPanelContentProps {
130
132
  savedViews?: ISavedView[];
131
133
  onClearTemporary?: () => void;
132
134
  backend: ISavedViewsBackend;
135
+ enableSharingViews?: boolean;
133
136
  }
134
137
 
135
138
  type SavedViewCollectionMenuItemProps = {