@octostar/platform-types 0.0.3-alpha.0 → 0.0.5-alpha.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/platform-types.d.ts +28 -0
- package/package.json +2 -2
package/dist/platform-types.d.ts
CHANGED
|
@@ -800,6 +800,13 @@ declare class DropInfo {
|
|
|
800
800
|
constructor(node: Node_2 & IDropTarget, rect: Rect, location: DockLocation, index: number, className: string);
|
|
801
801
|
}
|
|
802
802
|
|
|
803
|
+
export declare type DropZoneRequestFn = (args: any[]) => Promise<DropZoneRequestResult>;
|
|
804
|
+
|
|
805
|
+
export declare type DropZoneRequestResult = {
|
|
806
|
+
to: any;
|
|
807
|
+
data: any;
|
|
808
|
+
};
|
|
809
|
+
|
|
803
810
|
export declare type EConnection = {
|
|
804
811
|
entity1: Entity;
|
|
805
812
|
entity2: Entity;
|
|
@@ -4386,6 +4393,15 @@ export declare type RelationshipCountResult = {
|
|
|
4386
4393
|
expired?: boolean;
|
|
4387
4394
|
};
|
|
4388
4395
|
|
|
4396
|
+
export declare type RemoteAppApi = {
|
|
4397
|
+
subscribeToContext: SubscribeToContextFn;
|
|
4398
|
+
unsubscribeFromContext: UnsubscribeFromContextFn;
|
|
4399
|
+
subscribeToDragStart: SubscribeDragStartFn;
|
|
4400
|
+
unsubscribeFromDragStart: UnsubscribeFromDragStartFn;
|
|
4401
|
+
dropZoneRequest: DropZoneRequestFn;
|
|
4402
|
+
setTransformResult: SetTransformResultFn;
|
|
4403
|
+
};
|
|
4404
|
+
|
|
4389
4405
|
declare interface RenderIconInfo {
|
|
4390
4406
|
isSelected?: boolean;
|
|
4391
4407
|
isOpen?: boolean;
|
|
@@ -4483,6 +4499,8 @@ declare type SetQueryObjectFilterClause = BaseQueryObjectFilterClause & {
|
|
|
4483
4499
|
formattedVal?: string[];
|
|
4484
4500
|
};
|
|
4485
4501
|
|
|
4502
|
+
export declare type SetTransformResultFn = (args: any[]) => Promise<void>;
|
|
4503
|
+
|
|
4486
4504
|
export declare type ShowOntology = {
|
|
4487
4505
|
concept: string;
|
|
4488
4506
|
properties: string | undefined;
|
|
@@ -10666,6 +10684,10 @@ declare interface SubMenuType extends ItemSharedProps {
|
|
|
10666
10684
|
onTitleMouseLeave?: MenuHoverEventHandler;
|
|
10667
10685
|
}
|
|
10668
10686
|
|
|
10687
|
+
export declare type SubscribeDragStartFn = (id: string, callback: Callback<unknown>) => void;
|
|
10688
|
+
|
|
10689
|
+
export declare type SubscribeToContextFn = (id: string, callback: Callback<unknown>) => void;
|
|
10690
|
+
|
|
10669
10691
|
declare interface SvgProperties<TLength = (string & {}) | 0, TTime = string & {}> {
|
|
10670
10692
|
alignmentBaseline?: Property_2.AlignmentBaseline | undefined;
|
|
10671
10693
|
baselineShift?: Property_2.BaselineShift<TLength> | undefined;
|
|
@@ -10898,6 +10920,12 @@ declare type UnaryQueryObjectFilterClause = BaseQueryObjectFilterClause & {
|
|
|
10898
10920
|
|
|
10899
10921
|
export declare type Unsubscribe = () => Promise<void>;
|
|
10900
10922
|
|
|
10923
|
+
export declare type UnsubscribeFn = (id: string) => void;
|
|
10924
|
+
|
|
10925
|
+
export declare type UnsubscribeFromContextFn = UnsubscribeFn;
|
|
10926
|
+
|
|
10927
|
+
export declare type UnsubscribeFromDragStartFn = UnsubscribeFn;
|
|
10928
|
+
|
|
10901
10929
|
export declare type UserProfile = {
|
|
10902
10930
|
firstName: string;
|
|
10903
10931
|
lastName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octostar/platform-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5-alpha.0",
|
|
4
4
|
"description": "Types for the API exposed by Octostar platform to third parties",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"octostar",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c3f24d894a6fc929461610296050ea40cd300c8b"
|
|
44
44
|
}
|