@octostar/platform-types 0.0.4-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.
@@ -2397,8 +2397,6 @@ declare interface ObsoleteProperties<TLength = (string & {}) | 0, TTime = string
2397
2397
  WebkitBoxPack?: Property_2.BoxPack | undefined;
2398
2398
  }
2399
2399
 
2400
- export declare type OnDragStartFn = (callback: Callback<unknown>) => Unsubscribe;
2401
-
2402
2400
  export declare interface Ontology {
2403
2401
  cancelQueries: (context: string) => Promise<void>;
2404
2402
  getAvailableOntologies: () => Promise<string[]>;
@@ -4398,7 +4396,8 @@ export declare type RelationshipCountResult = {
4398
4396
  export declare type RemoteAppApi = {
4399
4397
  subscribeToContext: SubscribeToContextFn;
4400
4398
  unsubscribeFromContext: UnsubscribeFromContextFn;
4401
- onDragStart: OnDragStartFn;
4399
+ subscribeToDragStart: SubscribeDragStartFn;
4400
+ unsubscribeFromDragStart: UnsubscribeFromDragStartFn;
4402
4401
  dropZoneRequest: DropZoneRequestFn;
4403
4402
  setTransformResult: SetTransformResultFn;
4404
4403
  };
@@ -10685,6 +10684,8 @@ declare interface SubMenuType extends ItemSharedProps {
10685
10684
  onTitleMouseLeave?: MenuHoverEventHandler;
10686
10685
  }
10687
10686
 
10687
+ export declare type SubscribeDragStartFn = (id: string, callback: Callback<unknown>) => void;
10688
+
10688
10689
  export declare type SubscribeToContextFn = (id: string, callback: Callback<unknown>) => void;
10689
10690
 
10690
10691
  declare interface SvgProperties<TLength = (string & {}) | 0, TTime = string & {}> {
@@ -10919,7 +10920,11 @@ declare type UnaryQueryObjectFilterClause = BaseQueryObjectFilterClause & {
10919
10920
 
10920
10921
  export declare type Unsubscribe = () => Promise<void>;
10921
10922
 
10922
- export declare type UnsubscribeFromContextFn = (id: string) => void;
10923
+ export declare type UnsubscribeFn = (id: string) => void;
10924
+
10925
+ export declare type UnsubscribeFromContextFn = UnsubscribeFn;
10926
+
10927
+ export declare type UnsubscribeFromDragStartFn = UnsubscribeFn;
10923
10928
 
10924
10929
  export declare type UserProfile = {
10925
10930
  firstName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octostar/platform-types",
3
- "version": "0.0.4-alpha.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": "d095564c26cc5c917a74b6f42c9c0d83a12c16a3"
43
+ "gitHead": "c3f24d894a6fc929461610296050ea40cd300c8b"
44
44
  }