Skip to content

Commit

Permalink
Add frame type - key or delta
Browse files Browse the repository at this point in the history
  • Loading branch information
fgwt202412 committed Dec 15, 2024
1 parent 44e7921 commit af32368
Show file tree
Hide file tree
Showing 13 changed files with 77 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions internal/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.",
}

Check failure on line 872 in internal/schemas.ts

View workflow job for this annotation

GitHub Actions / build

Insert `,`
],
};

Expand Down
5 changes: 5 additions & 0 deletions ros_foxglove_msgs/ros1/CompressedAudio.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions ros_foxglove_msgs/ros2/CompressedAudio.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions schemas/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions schemas/flatbuffer/CompressedAudio.fbs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions schemas/jsonschema/CompressedAudio.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions schemas/jsonschema/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions schemas/omgidl/foxglove/CompressedAudio.idl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions schemas/proto/foxglove/CompressedAudio.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions schemas/ros1/CompressedAudio.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions schemas/ros2/CompressedAudio.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions schemas/typescript/CompressedAudio.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af32368

Please sign in to comment.