@vuu-ui/vuu-protocol-types 0.5.16 → 0.5.17

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.
Files changed (2) hide show
  1. package/index.d.ts +21 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -63,14 +63,28 @@ export declare type VuuAggregation = {
63
63
  column: string;
64
64
  aggType: VuuAggType;
65
65
  };
66
- export declare type VuuLink = {
66
+
67
+ export interface VuuLink {
68
+ fromColumn: string;
69
+ toTable: string;
70
+ toColumn: string;
71
+ }
72
+
73
+ export declare type VuuLinkDescriptor = {
67
74
  parentVpId: string;
68
- link: {
69
- fromColumn: string;
70
- toTable: string;
71
- toColumn: string;
72
- };
75
+ link: VuuLink;
73
76
  };
77
+
78
+ /**
79
+ * LinkDescriptor with label is not strictly part of the Vuu Protocol
80
+ *
81
+ * The Label is added by client code, if user has assigned a custom
82
+ * Title to component bound to viewport.
83
+ */
84
+ export type LinkDescriptorWithLabel = VuuLinkDescriptor & {
85
+ label?: string;
86
+ };
87
+
74
88
  export declare type VuuColumns = string[];
75
89
  export declare type VuuGroupBy = string[];
76
90
  export interface ServerToClientHeartBeat {
@@ -116,7 +130,7 @@ export interface ServerToClientMenu {
116
130
  }
117
131
  export interface ServerToClientViewPortVisualLinks {
118
132
  type: "VP_VISUAL_LINKS_RESP";
119
- links: VuuLink[];
133
+ links: VuuLinkDescriptor[];
120
134
  vpId: string;
121
135
  }
122
136
  export interface ServerToClientCreateViewPortSuccess {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-protocol-types",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {},