@foxglove/schemas 1.10.2 → 1.10.3
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/internal/generateFlatbufferSchema.d.ts.map +1 -1
- package/dist/internal/generateFlatbufferSchema.js +37 -2
- package/dist/internal/generateFlatbufferSchema.js.map +1 -1
- package/dist/internal/generateFlatbufferSchema.test.js +170 -4
- package/dist/internal/generateFlatbufferSchema.test.js.map +1 -1
- package/dist/internal/generatePyclass.d.ts.map +1 -1
- package/dist/internal/generatePyclass.js +1 -4
- package/dist/internal/generatePyclass.js.map +1 -1
- package/dist/internal/generatePyclass.test.js +4 -4
- package/dist/internal/generateSdkCpp.d.ts.map +1 -1
- package/dist/internal/generateSdkCpp.js +6 -0
- package/dist/internal/generateSdkCpp.js.map +1 -1
- package/dist/internal/generateSdkRustCTypes.d.ts.map +1 -1
- package/dist/internal/generateSdkRustCTypes.js +18 -0
- package/dist/internal/generateSdkRustCTypes.js.map +1 -1
- package/dist/internal/schemas.d.ts.map +1 -1
- package/dist/internal/schemas.js +39 -8
- package/dist/internal/schemas.js.map +1 -1
- package/dist/internal/testFixtures.d.ts.map +1 -1
- package/dist/internal/testFixtures.js +1 -0
- package/dist/internal/testFixtures.js.map +1 -1
- package/dist/internal/types.d.ts +1 -0
- package/dist/internal/types.d.ts.map +1 -1
- package/dist/jsonschema/index.d.ts +136 -16
- package/dist/jsonschema/index.d.ts.map +1 -1
- package/dist/jsonschema/index.js +157 -19
- package/dist/jsonschema/index.js.map +1 -1
- package/dist/types/CircleAnnotation.d.ts +3 -0
- package/dist/types/CircleAnnotation.d.ts.map +1 -1
- package/dist/types/FrameTransform.d.ts +1 -1
- package/dist/types/ImageAnnotations.d.ts +3 -3
- package/dist/types/ImageAnnotations.d.ts.map +1 -1
- package/dist/types/PointsAnnotation.d.ts +3 -0
- package/dist/types/PointsAnnotation.d.ts.map +1 -1
- package/dist/types/TextAnnotation.d.ts +3 -0
- package/dist/types/TextAnnotation.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/jsonschema/index.js
CHANGED
|
@@ -320,6 +320,29 @@ exports.CircleAnnotation = {
|
|
|
320
320
|
"b",
|
|
321
321
|
"a"
|
|
322
322
|
]
|
|
323
|
+
},
|
|
324
|
+
"metadata": {
|
|
325
|
+
"type": "array",
|
|
326
|
+
"items": {
|
|
327
|
+
"title": "foxglove.KeyValuePair",
|
|
328
|
+
"description": "A key with its associated value",
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {
|
|
331
|
+
"key": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"description": "Key"
|
|
334
|
+
},
|
|
335
|
+
"value": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"description": "Value"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"required": [
|
|
341
|
+
"key",
|
|
342
|
+
"value"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"description": "Additional user-provided metadata associated with this annotation. Keys must be unique."
|
|
323
346
|
}
|
|
324
347
|
},
|
|
325
348
|
"required": [
|
|
@@ -740,7 +763,7 @@ exports.Duration = {
|
|
|
740
763
|
};
|
|
741
764
|
exports.FrameTransform = {
|
|
742
765
|
"title": "foxglove.FrameTransform",
|
|
743
|
-
"description": "A transform between two reference frames in 3D space. The transform defines the position and orientation of a child frame within a parent frame. Translation moves the origin of the child frame relative to the parent origin. The rotation changes the
|
|
766
|
+
"description": "A transform between two reference frames in 3D space. The transform defines the position and orientation of a child frame within a parent frame. Translation moves the origin of the child frame relative to the parent origin. The rotation changes the orientation of the child frame around its origin.\n\nExamples:\n\n- With translation (x=1, y=0, z=0) and identity rotation (x=0, y=0, z=0, w=1), a point at (x=0, y=0, z=0) in the child frame maps to (x=1, y=0, z=0) in the parent frame.\n\n- With translation (x=1, y=2, z=0) and a 90-degree rotation around the z-axis (x=0, y=0, z=0.707, w=0.707), a point at (x=1, y=0, z=0) in the child frame maps to (x=-1, y=3, z=0) in the parent frame.",
|
|
744
767
|
"$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
|
|
745
768
|
"type": "object",
|
|
746
769
|
"properties": {
|
|
@@ -840,7 +863,7 @@ exports.FrameTransforms = {
|
|
|
840
863
|
"type": "array",
|
|
841
864
|
"items": {
|
|
842
865
|
"title": "foxglove.FrameTransform",
|
|
843
|
-
"description": "A transform between two reference frames in 3D space. The transform defines the position and orientation of a child frame within a parent frame. Translation moves the origin of the child frame relative to the parent origin. The rotation changes the
|
|
866
|
+
"description": "A transform between two reference frames in 3D space. The transform defines the position and orientation of a child frame within a parent frame. Translation moves the origin of the child frame relative to the parent origin. The rotation changes the orientation of the child frame around its origin.\n\nExamples:\n\n- With translation (x=1, y=0, z=0) and identity rotation (x=0, y=0, z=0, w=1), a point at (x=0, y=0, z=0) in the child frame maps to (x=1, y=0, z=0) in the parent frame.\n\n- With translation (x=1, y=2, z=0) and a 90-degree rotation around the z-axis (x=0, y=0, z=0.707, w=0.707), a point at (x=1, y=0, z=0) in the child frame maps to (x=-1, y=3, z=0) in the parent frame.",
|
|
844
867
|
"type": "object",
|
|
845
868
|
"properties": {
|
|
846
869
|
"timestamp": {
|
|
@@ -1410,6 +1433,22 @@ exports.ImageAnnotations = {
|
|
|
1410
1433
|
"$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
|
|
1411
1434
|
"type": "object",
|
|
1412
1435
|
"properties": {
|
|
1436
|
+
"timestamp": {
|
|
1437
|
+
"type": "object",
|
|
1438
|
+
"title": "time",
|
|
1439
|
+
"properties": {
|
|
1440
|
+
"sec": {
|
|
1441
|
+
"type": "integer",
|
|
1442
|
+
"minimum": 0
|
|
1443
|
+
},
|
|
1444
|
+
"nsec": {
|
|
1445
|
+
"type": "integer",
|
|
1446
|
+
"minimum": 0,
|
|
1447
|
+
"maximum": 999999999
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
"description": "Timestamp of the image annotations. When set, individual annotation timestamps will be ignored."
|
|
1451
|
+
},
|
|
1413
1452
|
"circles": {
|
|
1414
1453
|
"type": "array",
|
|
1415
1454
|
"items": {
|
|
@@ -1517,6 +1556,29 @@ exports.ImageAnnotations = {
|
|
|
1517
1556
|
"b",
|
|
1518
1557
|
"a"
|
|
1519
1558
|
]
|
|
1559
|
+
},
|
|
1560
|
+
"metadata": {
|
|
1561
|
+
"type": "array",
|
|
1562
|
+
"items": {
|
|
1563
|
+
"title": "foxglove.KeyValuePair",
|
|
1564
|
+
"description": "A key with its associated value",
|
|
1565
|
+
"type": "object",
|
|
1566
|
+
"properties": {
|
|
1567
|
+
"key": {
|
|
1568
|
+
"type": "string",
|
|
1569
|
+
"description": "Key"
|
|
1570
|
+
},
|
|
1571
|
+
"value": {
|
|
1572
|
+
"type": "string",
|
|
1573
|
+
"description": "Value"
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1576
|
+
"required": [
|
|
1577
|
+
"key",
|
|
1578
|
+
"value"
|
|
1579
|
+
]
|
|
1580
|
+
},
|
|
1581
|
+
"description": "Additional user-provided metadata associated with this annotation. Keys must be unique."
|
|
1520
1582
|
}
|
|
1521
1583
|
},
|
|
1522
1584
|
"required": [
|
|
@@ -1701,6 +1763,29 @@ exports.ImageAnnotations = {
|
|
|
1701
1763
|
"thickness": {
|
|
1702
1764
|
"type": "number",
|
|
1703
1765
|
"description": "Stroke thickness in pixels"
|
|
1766
|
+
},
|
|
1767
|
+
"metadata": {
|
|
1768
|
+
"type": "array",
|
|
1769
|
+
"items": {
|
|
1770
|
+
"title": "foxglove.KeyValuePair",
|
|
1771
|
+
"description": "A key with its associated value",
|
|
1772
|
+
"type": "object",
|
|
1773
|
+
"properties": {
|
|
1774
|
+
"key": {
|
|
1775
|
+
"type": "string",
|
|
1776
|
+
"description": "Key"
|
|
1777
|
+
},
|
|
1778
|
+
"value": {
|
|
1779
|
+
"type": "string",
|
|
1780
|
+
"description": "Value"
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"required": [
|
|
1784
|
+
"key",
|
|
1785
|
+
"value"
|
|
1786
|
+
]
|
|
1787
|
+
},
|
|
1788
|
+
"description": "Additional user-provided metadata associated with this annotation. Keys must be unique."
|
|
1704
1789
|
}
|
|
1705
1790
|
},
|
|
1706
1791
|
"required": [
|
|
@@ -1822,6 +1907,29 @@ exports.ImageAnnotations = {
|
|
|
1822
1907
|
"b",
|
|
1823
1908
|
"a"
|
|
1824
1909
|
]
|
|
1910
|
+
},
|
|
1911
|
+
"metadata": {
|
|
1912
|
+
"type": "array",
|
|
1913
|
+
"items": {
|
|
1914
|
+
"title": "foxglove.KeyValuePair",
|
|
1915
|
+
"description": "A key with its associated value",
|
|
1916
|
+
"type": "object",
|
|
1917
|
+
"properties": {
|
|
1918
|
+
"key": {
|
|
1919
|
+
"type": "string",
|
|
1920
|
+
"description": "Key"
|
|
1921
|
+
},
|
|
1922
|
+
"value": {
|
|
1923
|
+
"type": "string",
|
|
1924
|
+
"description": "Value"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1927
|
+
"required": [
|
|
1928
|
+
"key",
|
|
1929
|
+
"value"
|
|
1930
|
+
]
|
|
1931
|
+
},
|
|
1932
|
+
"description": "Additional user-provided metadata associated with this annotation. Keys must be unique."
|
|
1825
1933
|
}
|
|
1826
1934
|
},
|
|
1827
1935
|
"required": [
|
|
@@ -1856,23 +1964,7 @@ exports.ImageAnnotations = {
|
|
|
1856
1964
|
"value"
|
|
1857
1965
|
]
|
|
1858
1966
|
},
|
|
1859
|
-
"description": "Additional user-provided metadata associated with the image annotations. Keys must be unique."
|
|
1860
|
-
},
|
|
1861
|
-
"timestamp": {
|
|
1862
|
-
"type": "object",
|
|
1863
|
-
"title": "time",
|
|
1864
|
-
"properties": {
|
|
1865
|
-
"sec": {
|
|
1866
|
-
"type": "integer",
|
|
1867
|
-
"minimum": 0
|
|
1868
|
-
},
|
|
1869
|
-
"nsec": {
|
|
1870
|
-
"type": "integer",
|
|
1871
|
-
"minimum": 0,
|
|
1872
|
-
"maximum": 999999999
|
|
1873
|
-
}
|
|
1874
|
-
},
|
|
1875
|
-
"description": "Timestamp of the image annotations. When set, individual annotation timestamps will be ignored."
|
|
1967
|
+
"description": "Additional user-provided metadata associated with the image annotations. Keys must be unique within this object. Per-annotation metadata takes precedence over these values."
|
|
1876
1968
|
}
|
|
1877
1969
|
},
|
|
1878
1970
|
"required": [
|
|
@@ -6004,6 +6096,29 @@ exports.PointsAnnotation = {
|
|
|
6004
6096
|
"thickness": {
|
|
6005
6097
|
"type": "number",
|
|
6006
6098
|
"description": "Stroke thickness in pixels"
|
|
6099
|
+
},
|
|
6100
|
+
"metadata": {
|
|
6101
|
+
"type": "array",
|
|
6102
|
+
"items": {
|
|
6103
|
+
"title": "foxglove.KeyValuePair",
|
|
6104
|
+
"description": "A key with its associated value",
|
|
6105
|
+
"type": "object",
|
|
6106
|
+
"properties": {
|
|
6107
|
+
"key": {
|
|
6108
|
+
"type": "string",
|
|
6109
|
+
"description": "Key"
|
|
6110
|
+
},
|
|
6111
|
+
"value": {
|
|
6112
|
+
"type": "string",
|
|
6113
|
+
"description": "Value"
|
|
6114
|
+
}
|
|
6115
|
+
},
|
|
6116
|
+
"required": [
|
|
6117
|
+
"key",
|
|
6118
|
+
"value"
|
|
6119
|
+
]
|
|
6120
|
+
},
|
|
6121
|
+
"description": "Additional user-provided metadata associated with this annotation. Keys must be unique."
|
|
6007
6122
|
}
|
|
6008
6123
|
},
|
|
6009
6124
|
"required": [
|
|
@@ -6656,6 +6771,29 @@ exports.TextAnnotation = {
|
|
|
6656
6771
|
"b",
|
|
6657
6772
|
"a"
|
|
6658
6773
|
]
|
|
6774
|
+
},
|
|
6775
|
+
"metadata": {
|
|
6776
|
+
"type": "array",
|
|
6777
|
+
"items": {
|
|
6778
|
+
"title": "foxglove.KeyValuePair",
|
|
6779
|
+
"description": "A key with its associated value",
|
|
6780
|
+
"type": "object",
|
|
6781
|
+
"properties": {
|
|
6782
|
+
"key": {
|
|
6783
|
+
"type": "string",
|
|
6784
|
+
"description": "Key"
|
|
6785
|
+
},
|
|
6786
|
+
"value": {
|
|
6787
|
+
"type": "string",
|
|
6788
|
+
"description": "Value"
|
|
6789
|
+
}
|
|
6790
|
+
},
|
|
6791
|
+
"required": [
|
|
6792
|
+
"key",
|
|
6793
|
+
"value"
|
|
6794
|
+
]
|
|
6795
|
+
},
|
|
6796
|
+
"description": "Additional user-provided metadata associated with this annotation. Keys must be unique."
|
|
6659
6797
|
}
|
|
6660
6798
|
},
|
|
6661
6799
|
"required": [
|