@routr/common 2.0.6-alpha.2 → 2.0.8-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/connect/types.d.ts
CHANGED
|
@@ -26,11 +26,10 @@ export interface DataAPI {
|
|
|
26
26
|
export interface Resource {
|
|
27
27
|
apiVersion: string;
|
|
28
28
|
kind: string;
|
|
29
|
+
ref: string;
|
|
29
30
|
metadata: {
|
|
30
|
-
ref: string;
|
|
31
31
|
name: string;
|
|
32
32
|
region?: string;
|
|
33
|
-
linkTo?: Array<string>;
|
|
34
33
|
};
|
|
35
34
|
spec: Record<string, any>;
|
|
36
35
|
}
|
|
@@ -79,7 +79,7 @@ message MessageRequest {
|
|
|
79
79
|
Method method = 3;
|
|
80
80
|
NetInterface sender = 4;
|
|
81
81
|
NetInterface listening_point = 5;
|
|
82
|
-
repeated string
|
|
82
|
+
repeated string external_addrs = 6;
|
|
83
83
|
repeated string localnets = 7;
|
|
84
84
|
fonoster.routr.sipmessage.v2draft1.SIPMessage message = 8;
|
|
85
85
|
// .google.protobuf.Struct metadata = 8;
|
|
@@ -16,15 +16,12 @@ service Resources {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
message Metadata {
|
|
19
|
-
string ref = 1;
|
|
20
19
|
// The resource's name
|
|
21
|
-
string name =
|
|
22
|
-
// Link to dependencies of this resource
|
|
23
|
-
repeated string depends_on = 3;
|
|
20
|
+
string name = 1;
|
|
24
21
|
// Created at
|
|
25
|
-
int32 create_time =
|
|
22
|
+
int32 create_time = 2;
|
|
26
23
|
// Updated at
|
|
27
|
-
int32 update_time =
|
|
24
|
+
int32 update_time = 3;
|
|
28
25
|
}
|
|
29
26
|
|
|
30
27
|
message Resource {
|
|
@@ -32,10 +29,12 @@ message Resource {
|
|
|
32
29
|
string apiVersion = 1;
|
|
33
30
|
// The resource's kind
|
|
34
31
|
string kind = 2;
|
|
32
|
+
// The resource's unique identifier
|
|
33
|
+
string ref = 3;
|
|
35
34
|
// The resource's metadata
|
|
36
|
-
Metadata metadata =
|
|
35
|
+
Metadata metadata = 4;
|
|
37
36
|
// The resource's data
|
|
38
|
-
.google.protobuf.Struct spec =
|
|
37
|
+
.google.protobuf.Struct spec = 5;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
message CreateRequest {
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/common",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8-alpha.0",
|
|
4
4
|
"description": "Common package",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"bugs": {
|
|
46
46
|
"url": "https://github.com/fonoster/routr/issues"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "69c60f113c27bc00cbadb62dbdbbb70960ef0f4d"
|
|
49
49
|
}
|