@fi-ts/api 0.0.0-pr.20.1fc22450 → 0.0.0-pr.20.6e0fa847

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.
@@ -0,0 +1,55 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file fits/api/v1/vpn.proto.
6
+ */
7
+ export declare const file_fits_api_v1_vpn: GenFile;
8
+ /**
9
+ * VPNNode represents a machine connected to the VPN.
10
+ *
11
+ * @generated from message fits.api.v1.VPNNode
12
+ */
13
+ export type VPNNode = Message<"fits.api.v1.VPNNode"> & {
14
+ /**
15
+ * ID of this node
16
+ *
17
+ * @generated from field: uint64 id = 1;
18
+ */
19
+ id: bigint;
20
+ /**
21
+ * Name of this node
22
+ *
23
+ * @generated from field: string name = 2;
24
+ */
25
+ name: string;
26
+ /**
27
+ * Project of this node, maps to a project
28
+ *
29
+ * @generated from field: string project = 3;
30
+ */
31
+ project: string;
32
+ /**
33
+ * IPAddresses of this node in the VPN
34
+ *
35
+ * @generated from field: repeated string ip_addresses = 4;
36
+ */
37
+ ipAddresses: string[];
38
+ /**
39
+ * LastSeen timestamp when this node reached out to the control plane
40
+ *
41
+ * @generated from field: google.protobuf.Timestamp last_seen = 5;
42
+ */
43
+ lastSeen?: Timestamp | undefined;
44
+ /**
45
+ * Online indicates if this node is online
46
+ *
47
+ * @generated from field: bool online = 6;
48
+ */
49
+ online: boolean;
50
+ };
51
+ /**
52
+ * Describes the message fits.api.v1.VPNNode.
53
+ * Use `create(VPNNodeSchema)` to create a new message.
54
+ */
55
+ export declare const VPNNodeSchema: GenMessage<VPNNode>;
@@ -0,0 +1,14 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
+ // @generated from file fits/api/v1/vpn.proto (package fits.api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ /**
7
+ * Describes the file fits/api/v1/vpn.proto.
8
+ */
9
+ export const file_fits_api_v1_vpn = /*@__PURE__*/ fileDesc("ChVmaXRzL2FwaS92MS92cG4ucHJvdG8SC2ZpdHMuYXBpLnYxIokBCgdWUE5Ob2RlEgoKAmlkGAEgASgEEgwKBG5hbWUYAiABKAkSDwoHcHJvamVjdBgDIAEoCRIUCgxpcF9hZGRyZXNzZXMYBCADKAkSLQoJbGFzdF9zZWVuGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIOCgZvbmxpbmUYBiABKAhClAEKD2NvbS5maXRzLmFwaS52MUIIVnBuUHJvdG9QAVopZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvdjE7YXBpdjGiAgNGQViqAgtGaXRzLkFwaS5WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYxYgZwcm90bzM", [file_google_protobuf_timestamp]);
10
+ /**
11
+ * Describes the message fits.api.v1.VPNNode.
12
+ * Use `create(VPNNodeSchema)` to create a new message.
13
+ */
14
+ export const VPNNodeSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_vpn, 0);
@@ -0,0 +1,72 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
+ // @generated from file fits/api/v1/vpn.proto (package fits.api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file fits/api/v1/vpn.proto.
13
+ */
14
+ export const file_fits_api_v1_vpn: GenFile = /*@__PURE__*/
15
+ fileDesc("ChVmaXRzL2FwaS92MS92cG4ucHJvdG8SC2ZpdHMuYXBpLnYxIokBCgdWUE5Ob2RlEgoKAmlkGAEgASgEEgwKBG5hbWUYAiABKAkSDwoHcHJvamVjdBgDIAEoCRIUCgxpcF9hZGRyZXNzZXMYBCADKAkSLQoJbGFzdF9zZWVuGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIOCgZvbmxpbmUYBiABKAhClAEKD2NvbS5maXRzLmFwaS52MUIIVnBuUHJvdG9QAVopZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvdjE7YXBpdjGiAgNGQViqAgtGaXRzLkFwaS5WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYxYgZwcm90bzM", [file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * VPNNode represents a machine connected to the VPN.
19
+ *
20
+ * @generated from message fits.api.v1.VPNNode
21
+ */
22
+ export type VPNNode = Message<"fits.api.v1.VPNNode"> & {
23
+ /**
24
+ * ID of this node
25
+ *
26
+ * @generated from field: uint64 id = 1;
27
+ */
28
+ id: bigint;
29
+
30
+ /**
31
+ * Name of this node
32
+ *
33
+ * @generated from field: string name = 2;
34
+ */
35
+ name: string;
36
+
37
+ /**
38
+ * Project of this node, maps to a project
39
+ *
40
+ * @generated from field: string project = 3;
41
+ */
42
+ project: string;
43
+
44
+ /**
45
+ * IPAddresses of this node in the VPN
46
+ *
47
+ * @generated from field: repeated string ip_addresses = 4;
48
+ */
49
+ ipAddresses: string[];
50
+
51
+ /**
52
+ * LastSeen timestamp when this node reached out to the control plane
53
+ *
54
+ * @generated from field: google.protobuf.Timestamp last_seen = 5;
55
+ */
56
+ lastSeen?: Timestamp | undefined;
57
+
58
+ /**
59
+ * Online indicates if this node is online
60
+ *
61
+ * @generated from field: bool online = 6;
62
+ */
63
+ online: boolean;
64
+ };
65
+
66
+ /**
67
+ * Describes the message fits.api.v1.VPNNode.
68
+ * Use `create(VPNNodeSchema)` to create a new message.
69
+ */
70
+ export const VPNNodeSchema: GenMessage<VPNNode> = /*@__PURE__*/
71
+ messageDesc(file_fits_api_v1_vpn, 0);
72
+
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "fits",
22
22
  "buf"
23
23
  ],
24
- "version": "0.0.0-pr.20.1fc22450"
24
+ "version": "0.0.0-pr.20.6e0fa847"
25
25
  }