@procore/bim-webviewer-sdk 17.0.0-pins-hackathon.1 → 17.0.0-pins-hackathon.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/Procore.Bim.Webviewer.d.ts +187 -6
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/api/coordination_issues.d.ts +12 -0
- package/dist/types/src/controllers/ApiController/ApiController.d.ts +2 -0
- package/dist/types/src/pins/PinsManager.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1 +1,13 @@
|
|
|
1
1
|
export declare const GetCoordinationIssues: (projectId: number) => Promise<Response>;
|
|
2
|
+
export declare const CreateSnapshotUpload: (params: {
|
|
3
|
+
snapshotDataUrl: string;
|
|
4
|
+
projectId: number;
|
|
5
|
+
}) => Promise<Response>;
|
|
6
|
+
export declare const PostCoordinationIssue: (projectId: number, data: {
|
|
7
|
+
project_id: number;
|
|
8
|
+
coordination_issue: {
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
viewpoints: any[] | null;
|
|
12
|
+
};
|
|
13
|
+
}) => Promise<Response>;
|
|
@@ -21,6 +21,8 @@ export class ApiController {
|
|
|
21
21
|
GetSimilarObjects(query: any): Promise<Response>;
|
|
22
22
|
trackEvent(key: any, properties?: {}): Promise<void>;
|
|
23
23
|
GetPins(): Promise<any>;
|
|
24
|
+
CreateCoordinationIssue(data: any): Promise<any>;
|
|
25
|
+
UploadSnapshot(data: any): Promise<any>;
|
|
24
26
|
}
|
|
25
27
|
export const api: ApiController;
|
|
26
28
|
import * as ModelRevisions from '../../api/bim_model_revisions';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SvgRenderer } from '../components/Markup/SvgRenderer';
|
|
2
2
|
import { WindowPinsCreationComponent } from '../components/WindowPinsCreationComponent';
|
|
3
3
|
import { RenderControllerProxy } from '../controllers/RenderControllerProxy';
|
|
4
|
+
import { ViewpointManager } from '../components/ViewpointManager';
|
|
4
5
|
type Configuration = {
|
|
5
6
|
dropdown?: boolean;
|
|
6
7
|
selectCIs?: boolean;
|
|
@@ -28,7 +29,8 @@ export declare class PinsManager {
|
|
|
28
29
|
private configuration;
|
|
29
30
|
private windowPinsCreationComponent;
|
|
30
31
|
private renderControllerProxy;
|
|
31
|
-
|
|
32
|
+
private viewpointManager;
|
|
33
|
+
constructor(svgRenderer: SvgRenderer, renderControllerProxy: RenderControllerProxy, viewpointManager: ViewpointManager, windowPinsCreationComponent: WindowPinsCreationComponent);
|
|
32
34
|
static readonly DEFAULT_CONFIG: Readonly<Required<Configuration>>;
|
|
33
35
|
init(): Promise<void>;
|
|
34
36
|
private onIntersectPointClick;
|
package/package.json
CHANGED