plugnmeet-protocol-js 1.0.3 → 1.0.5-rc.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/index.cjs.js +1626 -0
- package/package.json +13 -13
- package/src/gen/buf/validate/{expression_pb.d.ts → expression_pb.ts} +13 -8
- package/src/gen/buf/validate/priv/{private_pb.js → private_pb.ts} +42 -5
- package/src/gen/buf/validate/{validate_pb.d.ts → validate_pb.ts} +91 -57
- package/src/gen/{livekit_agent_dispatch_pb.d.ts → livekit_agent_dispatch_pb.ts} +30 -19
- package/src/gen/{livekit_agent_pb.d.ts → livekit_agent_pb.ts} +60 -38
- package/src/gen/{livekit_analytics_pb.d.ts → livekit_analytics_pb.ts} +46 -28
- package/src/gen/{livekit_egress_pb.d.ts → livekit_egress_pb.ts} +112 -71
- package/src/gen/{livekit_ingress_pb.d.ts → livekit_ingress_pb.ts} +56 -35
- package/src/gen/{livekit_internal_pb.d.ts → livekit_internal_pb.ts} +33 -19
- package/src/gen/{livekit_metrics_pb.d.ts → livekit_metrics_pb.ts} +18 -11
- package/src/gen/{livekit_models_pb.d.ts → livekit_models_pb.ts} +128 -78
- package/src/gen/{livekit_room_pb.d.ts → livekit_room_pb.ts} +73 -47
- package/src/gen/{livekit_rtc_pb.d.ts → livekit_rtc_pb.ts} +149 -92
- package/src/gen/{livekit_sip_pb.d.ts → livekit_sip_pb.ts} +80 -52
- package/src/gen/{livekit_webhook_pb.d.ts → livekit_webhook_pb.ts} +13 -7
- package/src/gen/{plugnmeet_analytics_pb.d.ts → plugnmeet_analytics_pb.ts} +31 -19
- package/src/gen/{plugnmeet_auth_analytics_pb.d.ts → plugnmeet_auth_analytics_pb.ts} +29 -18
- package/src/gen/{plugnmeet_auth_recording_pb.d.ts → plugnmeet_auth_recording_pb.ts} +37 -23
- package/src/gen/{plugnmeet_auth_room_pb.d.ts → plugnmeet_auth_room_pb.ts} +49 -31
- package/src/gen/{plugnmeet_breakout_room_pb.d.ts → plugnmeet_breakout_room_pb.ts} +28 -18
- package/src/gen/{plugnmeet_common_api_pb.d.ts → plugnmeet_common_api_pb.ts} +65 -41
- package/src/gen/{plugnmeet_common_pb.d.ts → plugnmeet_common_pb.ts} +21 -13
- package/src/gen/{plugnmeet_create_room_pb.d.ts → plugnmeet_create_room_pb.ts} +61 -39
- package/src/gen/{plugnmeet_datamessage_pb.d.ts → plugnmeet_datamessage_pb.ts} +9 -5
- package/src/gen/{plugnmeet_gen_token_pb.d.ts → plugnmeet_gen_token_pb.ts} +26 -16
- package/src/gen/{plugnmeet_ingress_pb.d.ts → plugnmeet_ingress_pb.ts} +12 -7
- package/src/gen/{plugnmeet_lti_v1_pb.d.ts → plugnmeet_lti_v1_pb.ts} +13 -8
- package/src/gen/{plugnmeet_nats_msg_pb.d.ts → plugnmeet_nats_msg_pb.ts} +40 -25
- package/src/gen/{plugnmeet_polls_pb.d.ts → plugnmeet_polls_pb.ts} +31 -20
- package/src/gen/{plugnmeet_recorder_pb.d.ts → plugnmeet_recorder_pb.ts} +45 -49
- package/src/gen/{plugnmeet_recording_pb.d.ts → plugnmeet_recording_pb.ts} +12 -7
- package/src/gen/{plugnmeet_speech_services_pb.d.ts → plugnmeet_speech_services_pb.ts} +21 -13
- package/src/gen/rpc/{analytics_pb.d.ts → analytics_pb.ts} +10 -5
- package/src/index.ts +17 -0
- package/src/gen/buf/validate/expression_pb.js +0 -47
- package/src/gen/buf/validate/priv/private_pb.d.ts +0 -80
- package/src/gen/buf/validate/validate_pb.js +0 -253
- package/src/gen/livekit_agent_dispatch_pb.js +0 -82
- package/src/gen/livekit_agent_pb.js +0 -175
- package/src/gen/livekit_analytics_pb.js +0 -124
- package/src/gen/livekit_egress_pb.js +0 -333
- package/src/gen/livekit_ingress_pb.js +0 -172
- package/src/gen/livekit_internal_pb.js +0 -101
- package/src/gen/livekit_metrics_pb.js +0 -54
- package/src/gen/livekit_models_pb.js +0 -440
- package/src/gen/livekit_room_pb.js +0 -178
- package/src/gen/livekit_rtc_pb.js +0 -384
- package/src/gen/livekit_sip_pb.js +0 -223
- package/src/gen/livekit_webhook_pb.js +0 -36
- package/src/gen/plugnmeet_analytics_pb.js +0 -97
- package/src/gen/plugnmeet_auth_analytics_pb.js +0 -69
- package/src/gen/plugnmeet_auth_recording_pb.js +0 -84
- package/src/gen/plugnmeet_auth_room_pb.js +0 -112
- package/src/gen/plugnmeet_breakout_room_pb.js +0 -68
- package/src/gen/plugnmeet_common_api_pb.js +0 -169
- package/src/gen/plugnmeet_common_pb.js +0 -48
- package/src/gen/plugnmeet_create_room_pb.js +0 -128
- package/src/gen/plugnmeet_datamessage_pb.js +0 -31
- package/src/gen/plugnmeet_gen_token_pb.js +0 -62
- package/src/gen/plugnmeet_ingress_pb.js +0 -38
- package/src/gen/plugnmeet_lti_v1_pb.js +0 -33
- package/src/gen/plugnmeet_nats_msg_pb.js +0 -118
- package/src/gen/plugnmeet_polls_pb.js +0 -75
- package/src/gen/plugnmeet_recorder_pb.js +0 -85
- package/src/gen/plugnmeet_recording_pb.js +0 -27
- package/src/gen/plugnmeet_speech_services_pb.js +0 -59
- package/src/gen/rpc/analytics_pb.js +0 -34
- package/src/index.d.ts +0 -17
- package/src/index.js +0 -17
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plugnmeet-protocol-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5-rc.0",
|
|
4
4
|
"description": "plugNmeet JS proto files",
|
|
5
5
|
"author": "Jibon L. Costa",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
"main": "
|
|
9
|
-
"
|
|
7
|
+
"source": "src/index.ts",
|
|
8
|
+
"main": "dist/index.cjs.js",
|
|
9
|
+
"module": "dist/index.mjs.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
10
11
|
"files": [
|
|
11
12
|
"src"
|
|
12
13
|
],
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"types": "./src/index.d.ts",
|
|
16
|
-
"default": "./src/index.js"
|
|
17
|
-
},
|
|
18
|
-
"./*": {
|
|
19
|
-
"types": "./src/gen/plugnmeet_*_pb.d.ts",
|
|
20
|
-
"default": "./src/gen/plugnmeet_*_pb.js"
|
|
21
|
-
}
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "rm -rf ./dist && parcel build"
|
|
22
16
|
},
|
|
23
17
|
"dependencies": {
|
|
24
18
|
"@bufbuild/protobuf": "2.0.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@parcel/packager-ts": "2.12.0",
|
|
22
|
+
"@parcel/transformer-typescript-types": "2.12.0",
|
|
23
|
+
"parcel": "2.12.0",
|
|
24
|
+
"typescript": "5.5.4"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -12,17 +12,19 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v2.0.0 with parameter "target=
|
|
15
|
+
// @generated by protoc-gen-es v2.0.0 with parameter "target=ts"
|
|
16
16
|
// @generated from file buf/validate/expression.proto (package buf.validate, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
|
|
19
19
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
20
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
20
21
|
import type { Message } from "@bufbuild/protobuf";
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* Describes the file buf/validate/expression.proto.
|
|
24
25
|
*/
|
|
25
|
-
export
|
|
26
|
+
export const file_buf_validate_expression: GenFile = /*@__PURE__*/
|
|
27
|
+
fileDesc("Ch1idWYvdmFsaWRhdGUvZXhwcmVzc2lvbi5wcm90bxIMYnVmLnZhbGlkYXRlIj0KCkNvbnN0cmFpbnQSCgoCaWQYASABKAkSDwoHbWVzc2FnZRgCIAEoCRISCgpleHByZXNzaW9uGAMgASgJIjkKClZpb2xhdGlvbnMSKwoKdmlvbGF0aW9ucxgBIAMoCzIXLmJ1Zi52YWxpZGF0ZS5WaW9sYXRpb24iWAoJVmlvbGF0aW9uEhIKCmZpZWxkX3BhdGgYASABKAkSFQoNY29uc3RyYWludF9pZBgCIAEoCRIPCgdtZXNzYWdlGAMgASgJEg8KB2Zvcl9rZXkYBCABKAhCvQEKEGNvbS5idWYudmFsaWRhdGVCD0V4cHJlc3Npb25Qcm90b1ABWkdidWYuYnVpbGQvZ2VuL2dvL2J1ZmJ1aWxkL3Byb3RvdmFsaWRhdGUvcHJvdG9jb2xidWZmZXJzL2dvL2J1Zi92YWxpZGF0ZaICA0JWWKoCDEJ1Zi5WYWxpZGF0ZcoCDEJ1ZlxWYWxpZGF0ZeICGEJ1ZlxWYWxpZGF0ZVxHUEJNZXRhZGF0YeoCDUJ1Zjo6VmFsaWRhdGViBnByb3RvMw");
|
|
26
28
|
|
|
27
29
|
/**
|
|
28
30
|
* `Constraint` represents a validation rule written in the Common Expression
|
|
@@ -43,7 +45,7 @@ export declare const file_buf_validate_expression: GenFile;
|
|
|
43
45
|
*
|
|
44
46
|
* @generated from message buf.validate.Constraint
|
|
45
47
|
*/
|
|
46
|
-
export
|
|
48
|
+
export type Constraint = Message<"buf.validate.Constraint"> & {
|
|
47
49
|
/**
|
|
48
50
|
* `id` is a string that serves as a machine-readable name for this Constraint.
|
|
49
51
|
* It should be unique within its scope, which could be either a message or a field.
|
|
@@ -77,7 +79,8 @@ export declare type Constraint = Message<"buf.validate.Constraint"> & {
|
|
|
77
79
|
* Describes the message buf.validate.Constraint.
|
|
78
80
|
* Use `create(ConstraintSchema)` to create a new message.
|
|
79
81
|
*/
|
|
80
|
-
export
|
|
82
|
+
export const ConstraintSchema: GenMessage<Constraint> = /*@__PURE__*/
|
|
83
|
+
messageDesc(file_buf_validate_expression, 0);
|
|
81
84
|
|
|
82
85
|
/**
|
|
83
86
|
* `Violations` is a collection of `Violation` messages. This message type is returned by
|
|
@@ -86,7 +89,7 @@ export declare const ConstraintSchema: GenMessage<Constraint>;
|
|
|
86
89
|
*
|
|
87
90
|
* @generated from message buf.validate.Violations
|
|
88
91
|
*/
|
|
89
|
-
export
|
|
92
|
+
export type Violations = Message<"buf.validate.Violations"> & {
|
|
90
93
|
/**
|
|
91
94
|
* `violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
|
92
95
|
*
|
|
@@ -99,7 +102,8 @@ export declare type Violations = Message<"buf.validate.Violations"> & {
|
|
|
99
102
|
* Describes the message buf.validate.Violations.
|
|
100
103
|
* Use `create(ViolationsSchema)` to create a new message.
|
|
101
104
|
*/
|
|
102
|
-
export
|
|
105
|
+
export const ViolationsSchema: GenMessage<Violations> = /*@__PURE__*/
|
|
106
|
+
messageDesc(file_buf_validate_expression, 1);
|
|
103
107
|
|
|
104
108
|
/**
|
|
105
109
|
* `Violation` represents a single instance where a validation rule, expressed
|
|
@@ -117,7 +121,7 @@ export declare const ViolationsSchema: GenMessage<Violations>;
|
|
|
117
121
|
*
|
|
118
122
|
* @generated from message buf.validate.Violation
|
|
119
123
|
*/
|
|
120
|
-
export
|
|
124
|
+
export type Violation = Message<"buf.validate.Violation"> & {
|
|
121
125
|
/**
|
|
122
126
|
* `field_path` is a machine-readable identifier that points to the specific field that failed the validation.
|
|
123
127
|
* This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation.
|
|
@@ -154,5 +158,6 @@ export declare type Violation = Message<"buf.validate.Violation"> & {
|
|
|
154
158
|
* Describes the message buf.validate.Violation.
|
|
155
159
|
* Use `create(ViolationSchema)` to create a new message.
|
|
156
160
|
*/
|
|
157
|
-
export
|
|
161
|
+
export const ViolationSchema: GenMessage<Violation> = /*@__PURE__*/
|
|
162
|
+
messageDesc(file_buf_validate_expression, 2);
|
|
158
163
|
|
|
@@ -12,31 +12,68 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v2.0.0 with parameter "target=
|
|
15
|
+
// @generated by protoc-gen-es v2.0.0 with parameter "target=ts"
|
|
16
16
|
// @generated from file buf/validate/priv/private.proto (package buf.validate.priv, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
|
|
19
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
19
20
|
import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
21
|
+
import type { FieldOptions } from "@bufbuild/protobuf/wkt";
|
|
20
22
|
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
23
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
24
|
|
|
22
25
|
/**
|
|
23
26
|
* Describes the file buf/validate/priv/private.proto.
|
|
24
27
|
*/
|
|
25
|
-
export const file_buf_validate_priv_private = /*@__PURE__*/
|
|
28
|
+
export const file_buf_validate_priv_private: GenFile = /*@__PURE__*/
|
|
26
29
|
fileDesc("Ch9idWYvdmFsaWRhdGUvcHJpdi9wcml2YXRlLnByb3RvEhFidWYudmFsaWRhdGUucHJpdiI+ChBGaWVsZENvbnN0cmFpbnRzEioKA2NlbBgBIAMoCzIdLmJ1Zi52YWxpZGF0ZS5wcml2LkNvbnN0cmFpbnQiPQoKQ29uc3RyYWludBIKCgJpZBgBIAEoCRIPCgdtZXNzYWdlGAIgASgJEhIKCmV4cHJlc3Npb24YAyABKAk6XAoFZmllbGQSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGIgJIAEoCzIjLmJ1Zi52YWxpZGF0ZS5wcml2LkZpZWxkQ29uc3RyYWludHNSBWZpZWxkiAEBQtkBChVjb20uYnVmLnZhbGlkYXRlLnByaXZCDFByaXZhdGVQcm90b1ABWkxidWYuYnVpbGQvZ2VuL2dvL2J1ZmJ1aWxkL3Byb3RvdmFsaWRhdGUvcHJvdG9jb2xidWZmZXJzL2dvL2J1Zi92YWxpZGF0ZS9wcml2ogIDQlZQqgIRQnVmLlZhbGlkYXRlLlByaXbKAhFCdWZcVmFsaWRhdGVcUHJpduICHUJ1ZlxWYWxpZGF0ZVxQcml2XEdQQk1ldGFkYXRh6gITQnVmOjpWYWxpZGF0ZTo6UHJpdmIGcHJvdG8z", [file_google_protobuf_descriptor]);
|
|
27
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Do not use. Internal to protovalidate library
|
|
33
|
+
*
|
|
34
|
+
* @generated from message buf.validate.priv.FieldConstraints
|
|
35
|
+
*/
|
|
36
|
+
export type FieldConstraints = Message<"buf.validate.priv.FieldConstraints"> & {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: repeated buf.validate.priv.Constraint cel = 1;
|
|
39
|
+
*/
|
|
40
|
+
cel: Constraint[];
|
|
41
|
+
};
|
|
42
|
+
|
|
28
43
|
/**
|
|
29
44
|
* Describes the message buf.validate.priv.FieldConstraints.
|
|
30
45
|
* Use `create(FieldConstraintsSchema)` to create a new message.
|
|
31
46
|
*/
|
|
32
|
-
export const FieldConstraintsSchema = /*@__PURE__*/
|
|
47
|
+
export const FieldConstraintsSchema: GenMessage<FieldConstraints> = /*@__PURE__*/
|
|
33
48
|
messageDesc(file_buf_validate_priv_private, 0);
|
|
34
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Do not use. Internal to protovalidate library
|
|
52
|
+
*
|
|
53
|
+
* @generated from message buf.validate.priv.Constraint
|
|
54
|
+
*/
|
|
55
|
+
export type Constraint = Message<"buf.validate.priv.Constraint"> & {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: string id = 1;
|
|
58
|
+
*/
|
|
59
|
+
id: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string message = 2;
|
|
63
|
+
*/
|
|
64
|
+
message: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string expression = 3;
|
|
68
|
+
*/
|
|
69
|
+
expression: string;
|
|
70
|
+
};
|
|
71
|
+
|
|
35
72
|
/**
|
|
36
73
|
* Describes the message buf.validate.priv.Constraint.
|
|
37
74
|
* Use `create(ConstraintSchema)` to create a new message.
|
|
38
75
|
*/
|
|
39
|
-
export const ConstraintSchema = /*@__PURE__*/
|
|
76
|
+
export const ConstraintSchema: GenMessage<Constraint> = /*@__PURE__*/
|
|
40
77
|
messageDesc(file_buf_validate_priv_private, 1);
|
|
41
78
|
|
|
42
79
|
/**
|
|
@@ -44,6 +81,6 @@ export const ConstraintSchema = /*@__PURE__*/
|
|
|
44
81
|
*
|
|
45
82
|
* @generated from extension: optional buf.validate.priv.FieldConstraints field = 1160;
|
|
46
83
|
*/
|
|
47
|
-
export const field = /*@__PURE__*/
|
|
84
|
+
export const field: GenExtension<FieldOptions, FieldConstraints> = /*@__PURE__*/
|
|
48
85
|
extDesc(file_buf_validate_priv_private, 0);
|
|
49
86
|
|