@spaceandtimelabs/makeinfinite-ui 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -141,6 +141,7 @@ export declare const APIHandler: (baseUrl: string) => {
141
141
  deleteProject: (projectName: string) => Promise<Response>;
142
142
  requestErrorCorrection: (projectName: string, componentId: string, errorMessage: string) => Promise<Response>;
143
143
  addImage: (formData: FormData) => Promise<Response>;
144
+ initializeProject: (projectName: string) => Promise<Response>;
144
145
  };
145
146
 
146
147
  export declare const APIProxyHandler: (baseUrl: string) => {
@@ -252,6 +253,8 @@ declare type CarouselProps = {
252
253
 
253
254
  declare const Checkbox: ForwardRefExoticComponent<Omit<Checkbox_2.CheckboxProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
254
255
 
256
+ export declare const checkoutCommit: (projectName: string, commitHash: string) => Promise<void>;
257
+
255
258
  declare const Collapsible: ForwardRefExoticComponent<Collapsible_2.CollapsibleProps & RefAttributes<HTMLDivElement>>;
256
259
 
257
260
  declare const CollapsibleContent: ForwardRefExoticComponent<Omit<Collapsible_2.CollapsibleContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
@@ -329,6 +332,13 @@ declare const CommandShortcut: {
329
332
  displayName: string;
330
333
  };
331
334
 
335
+ declare interface Commit {
336
+ hash: string;
337
+ timestamp: number;
338
+ message: string;
339
+ isRelease: boolean;
340
+ }
341
+
332
342
  declare const ContextMenu: FC<ContextMenu_2.ContextMenuProps>;
333
343
 
334
344
  declare const ContextMenuCheckboxItem: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
@@ -856,11 +866,13 @@ declare const FormLabel: ForwardRefExoticComponent<Omit<Label.LabelProps & RefAt
856
866
 
857
867
  declare const FormMessage: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
858
868
 
869
+ export declare const getCommits: (projectName: string, projectUrl: string, commitsCount?: number) => Promise<Commit[]>;
870
+
859
871
  export declare const getHeadCommit: (projectName: string) => Promise<string>;
860
872
 
861
873
  export declare const getRedoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
862
874
 
863
- export declare const getTags: (projectName: string, projectUrl: string) => Promise<{
875
+ export declare const getTags: (projectName: string, projectUrl: string, tagsCount?: number) => Promise<{
864
876
  tag: string;
865
877
  targetCommitTimestamp: number;
866
878
  targetCommit: string;
@@ -1211,7 +1223,7 @@ declare const Slider: ForwardRefExoticComponent<Omit<Slider_2.SliderProps & RefA
1211
1223
 
1212
1224
  declare const Switch: ForwardRefExoticComponent<Omit<Switch_2.SwitchProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
1213
1225
 
1214
- export declare const syncAndRetry: (projectName: string, projectRepository: string) => Promise<void>;
1226
+ export declare const syncAndRetry: (projectName: string, projectRepository: string, commitHash?: string) => Promise<void>;
1215
1227
 
1216
1228
  declare const Table: ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & RefAttributes<HTMLTableElement>>;
1217
1229