diff --git a/internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap b/internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap index b0076b7..0296c89 100644 --- a/internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap +++ b/internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap @@ -260,6 +260,13 @@ export type CompressedAudio = { * Supported values: \`opus\`. */ format: string; + + /** + * Frame type. + * + * Supported values: \`key\`, \`delta\`. + */ + type: string; }; ", "CylinderPrimitive" => "// Generated by https://github.com/foxglove/schemas diff --git a/internal/schemas.ts b/internal/schemas.ts index 19c7e1b..a41a7d1 100644 --- a/internal/schemas.ts +++ b/internal/schemas.ts @@ -865,6 +865,11 @@ TK`, type: { type: "primitive", name: "string" }, description: "Audio format.\n\nSupported values: `opus`.", }, + { + name: "type", + type: { type: "primitive", name: "string" }, + description: "Frame type.\n\n Supported values: `key`, `delta`.", + } ], }; diff --git a/ros_foxglove_msgs/ros1/CompressedAudio.msg b/ros_foxglove_msgs/ros1/CompressedAudio.msg index 90da460..f9cdfc0 100644 --- a/ros_foxglove_msgs/ros1/CompressedAudio.msg +++ b/ros_foxglove_msgs/ros1/CompressedAudio.msg @@ -15,3 +15,8 @@ uint8[] data # # Supported values: `opus`. string format + +# Frame type. +# +# Supported values: `key`, `delta`. +string type diff --git a/ros_foxglove_msgs/ros2/CompressedAudio.msg b/ros_foxglove_msgs/ros2/CompressedAudio.msg index 7afd869..31dc397 100644 --- a/ros_foxglove_msgs/ros2/CompressedAudio.msg +++ b/ros_foxglove_msgs/ros2/CompressedAudio.msg @@ -15,3 +15,8 @@ uint8[] data # # Supported values: `opus`. string format + +# Frame type. +# +# Supported values: `key`, `delta`. +string type diff --git a/schemas/README.md b/schemas/README.md index 97f188b..57b041c 100644 --- a/schemas/README.md +++ b/schemas/README.md @@ -602,6 +602,21 @@ Audio format. Supported values: `opus`. + + + +type + + +string + + + + +Frame type. + + Supported values: `key`, `delta`. + diff --git a/schemas/flatbuffer/CompressedAudio.fbs b/schemas/flatbuffer/CompressedAudio.fbs index 48f8462..211df16 100644 --- a/schemas/flatbuffer/CompressedAudio.fbs +++ b/schemas/flatbuffer/CompressedAudio.fbs @@ -18,6 +18,11 @@ table CompressedAudio { /// /// Supported values: `opus`. format:string (id: 2); + + /// Frame type. + /// + /// Supported values: `key`, `delta`. + type:string (id: 3); } root_type CompressedAudio; diff --git a/schemas/jsonschema/CompressedAudio.json b/schemas/jsonschema/CompressedAudio.json index 763393c..c4d1274 100644 --- a/schemas/jsonschema/CompressedAudio.json +++ b/schemas/jsonschema/CompressedAudio.json @@ -28,6 +28,10 @@ "format": { "type": "string", "description": "Audio format.\n\nSupported values: `opus`." + }, + "type": { + "type": "string", + "description": "Frame type.\n\n Supported values: `key`, `delta`." } } } diff --git a/schemas/jsonschema/index.ts b/schemas/jsonschema/index.ts index 7143fdb..8c06a1e 100644 --- a/schemas/jsonschema/index.ts +++ b/schemas/jsonschema/index.ts @@ -399,6 +399,10 @@ export const CompressedAudio = { "format": { "type": "string", "description": "Audio format.\n\nSupported values: `opus`." + }, + "type": { + "type": "string", + "description": "Frame type.\n\n Supported values: `key`, `delta`." } } }; diff --git a/schemas/omgidl/foxglove/CompressedAudio.idl b/schemas/omgidl/foxglove/CompressedAudio.idl index 45042d6..c16a510 100644 --- a/schemas/omgidl/foxglove/CompressedAudio.idl +++ b/schemas/omgidl/foxglove/CompressedAudio.idl @@ -18,6 +18,11 @@ struct CompressedAudio { // // Supported values: `opus`. string format; + + // Frame type. + // + // Supported values: `key`, `delta`. + string type; }; }; diff --git a/schemas/proto/foxglove/CompressedAudio.proto b/schemas/proto/foxglove/CompressedAudio.proto index 7f26ae8..61c3f8b 100644 --- a/schemas/proto/foxglove/CompressedAudio.proto +++ b/schemas/proto/foxglove/CompressedAudio.proto @@ -20,4 +20,9 @@ message CompressedAudio { // // Supported values: `opus`. string format = 3; + + // Frame type. + // + // Supported values: `key`, `delta`. + string type = 4; } diff --git a/schemas/ros1/CompressedAudio.msg b/schemas/ros1/CompressedAudio.msg index 90da460..f9cdfc0 100644 --- a/schemas/ros1/CompressedAudio.msg +++ b/schemas/ros1/CompressedAudio.msg @@ -15,3 +15,8 @@ uint8[] data # # Supported values: `opus`. string format + +# Frame type. +# +# Supported values: `key`, `delta`. +string type diff --git a/schemas/ros2/CompressedAudio.msg b/schemas/ros2/CompressedAudio.msg index 7afd869..31dc397 100644 --- a/schemas/ros2/CompressedAudio.msg +++ b/schemas/ros2/CompressedAudio.msg @@ -15,3 +15,8 @@ uint8[] data # # Supported values: `opus`. string format + +# Frame type. +# +# Supported values: `key`, `delta`. +string type diff --git a/schemas/typescript/CompressedAudio.ts b/schemas/typescript/CompressedAudio.ts index b689379..4b29a2c 100644 --- a/schemas/typescript/CompressedAudio.ts +++ b/schemas/typescript/CompressedAudio.ts @@ -21,4 +21,11 @@ export type CompressedAudio = { * Supported values: `opus`. */ format: string; + + /** + * Frame type. + * + * Supported values: `key`, `delta`. + */ + type: string; };