@foxglove/schemas 0.1.2
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/.eslintrc.js +19 -0
- package/.gitattributes +1 -0
- package/.github/workflows/ci.yml +89 -0
- package/.prettierignore +1 -0
- package/.prettierrc.yml +2 -0
- package/.vscode/launch.json +23 -0
- package/.vscode/settings.json +20 -0
- package/LICENSE.md +21 -0
- package/README.md +31 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.d.ts +63 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.js +4 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.js.map +1 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.d.ts +19 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.js +4 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.js.map +1 -0
- package/dist/cjs/schemas/typescript/Color.d.ts +12 -0
- package/dist/cjs/schemas/typescript/Color.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Color.js +4 -0
- package/dist/cjs/schemas/typescript/Color.js.map +1 -0
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts +11 -0
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CompressedImage.js +4 -0
- package/dist/cjs/schemas/typescript/CompressedImage.js.map +1 -0
- package/dist/cjs/schemas/typescript/Duration.d.ts +5 -0
- package/dist/cjs/schemas/typescript/Duration.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Duration.js +3 -0
- package/dist/cjs/schemas/typescript/Duration.js.map +1 -0
- package/dist/cjs/schemas/typescript/FrameTransform.d.ts +14 -0
- package/dist/cjs/schemas/typescript/FrameTransform.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/FrameTransform.js +4 -0
- package/dist/cjs/schemas/typescript/FrameTransform.js.map +1 -0
- package/dist/cjs/schemas/typescript/GeoJSON.d.ts +6 -0
- package/dist/cjs/schemas/typescript/GeoJSON.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/GeoJSON.js +4 -0
- package/dist/cjs/schemas/typescript/GeoJSON.js.map +1 -0
- package/dist/cjs/schemas/typescript/Grid.d.ts +26 -0
- package/dist/cjs/schemas/typescript/Grid.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Grid.js +4 -0
- package/dist/cjs/schemas/typescript/Grid.js.map +1 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.d.ts +10 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.js +4 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.js.map +1 -0
- package/dist/cjs/schemas/typescript/LaserScan.d.ts +20 -0
- package/dist/cjs/schemas/typescript/LaserScan.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LaserScan.js +4 -0
- package/dist/cjs/schemas/typescript/LaserScan.js.map +1 -0
- package/dist/cjs/schemas/typescript/LocationFix.d.ts +15 -0
- package/dist/cjs/schemas/typescript/LocationFix.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LocationFix.js +4 -0
- package/dist/cjs/schemas/typescript/LocationFix.js.map +1 -0
- package/dist/cjs/schemas/typescript/Log.d.ts +18 -0
- package/dist/cjs/schemas/typescript/Log.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Log.js +4 -0
- package/dist/cjs/schemas/typescript/Log.js.map +1 -0
- package/dist/cjs/schemas/typescript/LogLevel.d.ts +10 -0
- package/dist/cjs/schemas/typescript/LogLevel.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LogLevel.js +15 -0
- package/dist/cjs/schemas/typescript/LogLevel.js.map +1 -0
- package/dist/cjs/schemas/typescript/NumericType.d.ts +13 -0
- package/dist/cjs/schemas/typescript/NumericType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/NumericType.js +18 -0
- package/dist/cjs/schemas/typescript/NumericType.js.map +1 -0
- package/dist/cjs/schemas/typescript/PackedElementField.d.ts +11 -0
- package/dist/cjs/schemas/typescript/PackedElementField.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PackedElementField.js +4 -0
- package/dist/cjs/schemas/typescript/PackedElementField.js.map +1 -0
- package/dist/cjs/schemas/typescript/Point2.d.ts +8 -0
- package/dist/cjs/schemas/typescript/Point2.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Point2.js +4 -0
- package/dist/cjs/schemas/typescript/Point2.js.map +1 -0
- package/dist/cjs/schemas/typescript/Point3.d.ts +10 -0
- package/dist/cjs/schemas/typescript/Point3.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Point3.js +4 -0
- package/dist/cjs/schemas/typescript/Point3.js.map +1 -0
- package/dist/cjs/schemas/typescript/PointCloud.d.ts +19 -0
- package/dist/cjs/schemas/typescript/PointCloud.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PointCloud.js +4 -0
- package/dist/cjs/schemas/typescript/PointCloud.js.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts +18 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.js +4 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.js.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.d.ts +9 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.js +14 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.js.map +1 -0
- package/dist/cjs/schemas/typescript/Pose.d.ts +10 -0
- package/dist/cjs/schemas/typescript/Pose.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Pose.js +4 -0
- package/dist/cjs/schemas/typescript/Pose.js.map +1 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.d.ts +12 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.js +4 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.js.map +1 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.d.ts +12 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.js +4 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.js.map +1 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.d.ts +8 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.js +13 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.js.map +1 -0
- package/dist/cjs/schemas/typescript/Quaternion.d.ts +12 -0
- package/dist/cjs/schemas/typescript/Quaternion.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Quaternion.js +4 -0
- package/dist/cjs/schemas/typescript/Quaternion.js.map +1 -0
- package/dist/cjs/schemas/typescript/RawImage.d.ts +17 -0
- package/dist/cjs/schemas/typescript/RawImage.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/RawImage.js +4 -0
- package/dist/cjs/schemas/typescript/RawImage.js.map +1 -0
- package/dist/cjs/schemas/typescript/Time.d.ts +5 -0
- package/dist/cjs/schemas/typescript/Time.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Time.js +3 -0
- package/dist/cjs/schemas/typescript/Time.js.map +1 -0
- package/dist/cjs/schemas/typescript/Transform.d.ts +13 -0
- package/dist/cjs/schemas/typescript/Transform.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Transform.js +4 -0
- package/dist/cjs/schemas/typescript/Transform.js.map +1 -0
- package/dist/cjs/schemas/typescript/Vector2.d.ts +8 -0
- package/dist/cjs/schemas/typescript/Vector2.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Vector2.js +4 -0
- package/dist/cjs/schemas/typescript/Vector2.js.map +1 -0
- package/dist/cjs/schemas/typescript/Vector3.d.ts +10 -0
- package/dist/cjs/schemas/typescript/Vector3.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Vector3.js +4 -0
- package/dist/cjs/schemas/typescript/Vector3.js.map +1 -0
- package/dist/cjs/schemas/typescript/index.d.ts +29 -0
- package/dist/cjs/schemas/typescript/index.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/index.js +32 -0
- package/dist/cjs/schemas/typescript/index.js.map +1 -0
- package/dist/cjs/scripts/updateGeneratedFiles.d.ts +2 -0
- package/dist/cjs/scripts/updateGeneratedFiles.d.ts.map +1 -0
- package/dist/cjs/scripts/updateGeneratedFiles.js +77 -0
- package/dist/cjs/scripts/updateGeneratedFiles.js.map +1 -0
- package/dist/cjs/src/generateJsonSchema.d.ts +3 -0
- package/dist/cjs/src/generateJsonSchema.d.ts.map +1 -0
- package/dist/cjs/src/generateJsonSchema.js +85 -0
- package/dist/cjs/src/generateJsonSchema.js.map +1 -0
- package/dist/cjs/src/generateJsonSchema.test.d.ts +2 -0
- package/dist/cjs/src/generateJsonSchema.test.d.ts.map +1 -0
- package/dist/cjs/src/generateJsonSchema.test.js +312 -0
- package/dist/cjs/src/generateJsonSchema.test.js.map +1 -0
- package/dist/cjs/src/generateProto.d.ts +3 -0
- package/dist/cjs/src/generateProto.d.ts.map +1 -0
- package/dist/cjs/src/generateProto.js +84 -0
- package/dist/cjs/src/generateProto.js.map +1 -0
- package/dist/cjs/src/generateProto.test.d.ts +2 -0
- package/dist/cjs/src/generateProto.test.d.ts.map +1 -0
- package/dist/cjs/src/generateProto.test.js +125 -0
- package/dist/cjs/src/generateProto.test.js.map +1 -0
- package/dist/cjs/src/generateRos.d.ts +20 -0
- package/dist/cjs/src/generateRos.d.ts.map +1 -0
- package/dist/cjs/src/generateRos.js +186 -0
- package/dist/cjs/src/generateRos.js.map +1 -0
- package/dist/cjs/src/generateRos.test.d.ts +2 -0
- package/dist/cjs/src/generateRos.test.d.ts.map +1 -0
- package/dist/cjs/src/generateRos.test.js +911 -0
- package/dist/cjs/src/generateRos.test.js.map +1 -0
- package/dist/cjs/src/generateTypeScript.d.ts +5 -0
- package/dist/cjs/src/generateTypeScript.d.ts.map +1 -0
- package/dist/cjs/src/generateTypeScript.js +100 -0
- package/dist/cjs/src/generateTypeScript.js.map +1 -0
- package/dist/cjs/src/generateTypeScript.test.d.ts +2 -0
- package/dist/cjs/src/generateTypeScript.test.d.ts.map +1 -0
- package/dist/cjs/src/generateTypeScript.test.js +142 -0
- package/dist/cjs/src/generateTypeScript.test.js.map +1 -0
- package/dist/cjs/src/index.d.ts +6 -0
- package/dist/cjs/src/index.d.ts.map +1 -0
- package/dist/cjs/src/index.js +9 -0
- package/dist/cjs/src/index.js.map +1 -0
- package/dist/cjs/src/schemas.d.ts +35 -0
- package/dist/cjs/src/schemas.d.ts.map +1 -0
- package/dist/cjs/src/schemas.js +820 -0
- package/dist/cjs/src/schemas.js.map +1 -0
- package/dist/cjs/src/schemas.test.d.ts +2 -0
- package/dist/cjs/src/schemas.test.d.ts.map +1 -0
- package/dist/cjs/src/schemas.test.js +24 -0
- package/dist/cjs/src/schemas.test.js.map +1 -0
- package/dist/cjs/src/testFixtures.d.ts +5 -0
- package/dist/cjs/src/testFixtures.d.ts.map +1 -0
- package/dist/cjs/src/testFixtures.js +86 -0
- package/dist/cjs/src/testFixtures.js.map +1 -0
- package/dist/cjs/src/types.d.ts +37 -0
- package/dist/cjs/src/types.d.ts.map +1 -0
- package/dist/cjs/src/types.js +3 -0
- package/dist/cjs/src/types.js.map +1 -0
- package/dist/esm/schemas/typescript/CameraCalibration.d.ts +63 -0
- package/dist/esm/schemas/typescript/CameraCalibration.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CameraCalibration.js +3 -0
- package/dist/esm/schemas/typescript/CameraCalibration.js.map +1 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.d.ts +19 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.js +3 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.js.map +1 -0
- package/dist/esm/schemas/typescript/Color.d.ts +12 -0
- package/dist/esm/schemas/typescript/Color.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Color.js +3 -0
- package/dist/esm/schemas/typescript/Color.js.map +1 -0
- package/dist/esm/schemas/typescript/CompressedImage.d.ts +11 -0
- package/dist/esm/schemas/typescript/CompressedImage.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CompressedImage.js +3 -0
- package/dist/esm/schemas/typescript/CompressedImage.js.map +1 -0
- package/dist/esm/schemas/typescript/Duration.d.ts +5 -0
- package/dist/esm/schemas/typescript/Duration.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Duration.js +2 -0
- package/dist/esm/schemas/typescript/Duration.js.map +1 -0
- package/dist/esm/schemas/typescript/FrameTransform.d.ts +14 -0
- package/dist/esm/schemas/typescript/FrameTransform.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/FrameTransform.js +3 -0
- package/dist/esm/schemas/typescript/FrameTransform.js.map +1 -0
- package/dist/esm/schemas/typescript/GeoJSON.d.ts +6 -0
- package/dist/esm/schemas/typescript/GeoJSON.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/GeoJSON.js +3 -0
- package/dist/esm/schemas/typescript/GeoJSON.js.map +1 -0
- package/dist/esm/schemas/typescript/Grid.d.ts +26 -0
- package/dist/esm/schemas/typescript/Grid.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Grid.js +3 -0
- package/dist/esm/schemas/typescript/Grid.js.map +1 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.d.ts +10 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.js +3 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.js.map +1 -0
- package/dist/esm/schemas/typescript/LaserScan.d.ts +20 -0
- package/dist/esm/schemas/typescript/LaserScan.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LaserScan.js +3 -0
- package/dist/esm/schemas/typescript/LaserScan.js.map +1 -0
- package/dist/esm/schemas/typescript/LocationFix.d.ts +15 -0
- package/dist/esm/schemas/typescript/LocationFix.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LocationFix.js +3 -0
- package/dist/esm/schemas/typescript/LocationFix.js.map +1 -0
- package/dist/esm/schemas/typescript/Log.d.ts +18 -0
- package/dist/esm/schemas/typescript/Log.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Log.js +3 -0
- package/dist/esm/schemas/typescript/Log.js.map +1 -0
- package/dist/esm/schemas/typescript/LogLevel.d.ts +10 -0
- package/dist/esm/schemas/typescript/LogLevel.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LogLevel.js +12 -0
- package/dist/esm/schemas/typescript/LogLevel.js.map +1 -0
- package/dist/esm/schemas/typescript/NumericType.d.ts +13 -0
- package/dist/esm/schemas/typescript/NumericType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/NumericType.js +15 -0
- package/dist/esm/schemas/typescript/NumericType.js.map +1 -0
- package/dist/esm/schemas/typescript/PackedElementField.d.ts +11 -0
- package/dist/esm/schemas/typescript/PackedElementField.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PackedElementField.js +3 -0
- package/dist/esm/schemas/typescript/PackedElementField.js.map +1 -0
- package/dist/esm/schemas/typescript/Point2.d.ts +8 -0
- package/dist/esm/schemas/typescript/Point2.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Point2.js +3 -0
- package/dist/esm/schemas/typescript/Point2.js.map +1 -0
- package/dist/esm/schemas/typescript/Point3.d.ts +10 -0
- package/dist/esm/schemas/typescript/Point3.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Point3.js +3 -0
- package/dist/esm/schemas/typescript/Point3.js.map +1 -0
- package/dist/esm/schemas/typescript/PointCloud.d.ts +19 -0
- package/dist/esm/schemas/typescript/PointCloud.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PointCloud.js +3 -0
- package/dist/esm/schemas/typescript/PointCloud.js.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.d.ts +18 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.js +3 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.js.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.d.ts +9 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.js +11 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.js.map +1 -0
- package/dist/esm/schemas/typescript/Pose.d.ts +10 -0
- package/dist/esm/schemas/typescript/Pose.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Pose.js +3 -0
- package/dist/esm/schemas/typescript/Pose.js.map +1 -0
- package/dist/esm/schemas/typescript/PoseInFrame.d.ts +12 -0
- package/dist/esm/schemas/typescript/PoseInFrame.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PoseInFrame.js +3 -0
- package/dist/esm/schemas/typescript/PoseInFrame.js.map +1 -0
- package/dist/esm/schemas/typescript/PosesInFrame.d.ts +12 -0
- package/dist/esm/schemas/typescript/PosesInFrame.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PosesInFrame.js +3 -0
- package/dist/esm/schemas/typescript/PosesInFrame.js.map +1 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.d.ts +8 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.js +10 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.js.map +1 -0
- package/dist/esm/schemas/typescript/Quaternion.d.ts +12 -0
- package/dist/esm/schemas/typescript/Quaternion.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Quaternion.js +3 -0
- package/dist/esm/schemas/typescript/Quaternion.js.map +1 -0
- package/dist/esm/schemas/typescript/RawImage.d.ts +17 -0
- package/dist/esm/schemas/typescript/RawImage.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/RawImage.js +3 -0
- package/dist/esm/schemas/typescript/RawImage.js.map +1 -0
- package/dist/esm/schemas/typescript/Time.d.ts +5 -0
- package/dist/esm/schemas/typescript/Time.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Time.js +2 -0
- package/dist/esm/schemas/typescript/Time.js.map +1 -0
- package/dist/esm/schemas/typescript/Transform.d.ts +13 -0
- package/dist/esm/schemas/typescript/Transform.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Transform.js +3 -0
- package/dist/esm/schemas/typescript/Transform.js.map +1 -0
- package/dist/esm/schemas/typescript/Vector2.d.ts +8 -0
- package/dist/esm/schemas/typescript/Vector2.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Vector2.js +3 -0
- package/dist/esm/schemas/typescript/Vector2.js.map +1 -0
- package/dist/esm/schemas/typescript/Vector3.d.ts +10 -0
- package/dist/esm/schemas/typescript/Vector3.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Vector3.js +3 -0
- package/dist/esm/schemas/typescript/Vector3.js.map +1 -0
- package/dist/esm/schemas/typescript/index.d.ts +29 -0
- package/dist/esm/schemas/typescript/index.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/index.js +29 -0
- package/dist/esm/schemas/typescript/index.js.map +1 -0
- package/dist/esm/scripts/updateGeneratedFiles.d.ts +2 -0
- package/dist/esm/scripts/updateGeneratedFiles.d.ts.map +1 -0
- package/dist/esm/scripts/updateGeneratedFiles.js +74 -0
- package/dist/esm/scripts/updateGeneratedFiles.js.map +1 -0
- package/dist/esm/src/generateJsonSchema.d.ts +3 -0
- package/dist/esm/src/generateJsonSchema.d.ts.map +1 -0
- package/dist/esm/src/generateJsonSchema.js +81 -0
- package/dist/esm/src/generateJsonSchema.js.map +1 -0
- package/dist/esm/src/generateJsonSchema.test.d.ts +2 -0
- package/dist/esm/src/generateJsonSchema.test.d.ts.map +1 -0
- package/dist/esm/src/generateJsonSchema.test.js +309 -0
- package/dist/esm/src/generateJsonSchema.test.js.map +1 -0
- package/dist/esm/src/generateProto.d.ts +3 -0
- package/dist/esm/src/generateProto.d.ts.map +1 -0
- package/dist/esm/src/generateProto.js +80 -0
- package/dist/esm/src/generateProto.js.map +1 -0
- package/dist/esm/src/generateProto.test.d.ts +2 -0
- package/dist/esm/src/generateProto.test.d.ts.map +1 -0
- package/dist/esm/src/generateProto.test.js +122 -0
- package/dist/esm/src/generateProto.test.js.map +1 -0
- package/dist/esm/src/generateRos.d.ts +20 -0
- package/dist/esm/src/generateRos.d.ts.map +1 -0
- package/dist/esm/src/generateRos.js +180 -0
- package/dist/esm/src/generateRos.js.map +1 -0
- package/dist/esm/src/generateRos.test.d.ts +2 -0
- package/dist/esm/src/generateRos.test.d.ts.map +1 -0
- package/dist/esm/src/generateRos.test.js +909 -0
- package/dist/esm/src/generateRos.test.js.map +1 -0
- package/dist/esm/src/generateTypeScript.d.ts +5 -0
- package/dist/esm/src/generateTypeScript.d.ts.map +1 -0
- package/dist/esm/src/generateTypeScript.js +96 -0
- package/dist/esm/src/generateTypeScript.js.map +1 -0
- package/dist/esm/src/generateTypeScript.test.d.ts +2 -0
- package/dist/esm/src/generateTypeScript.test.d.ts.map +1 -0
- package/dist/esm/src/generateTypeScript.test.js +117 -0
- package/dist/esm/src/generateTypeScript.test.js.map +1 -0
- package/dist/esm/src/index.d.ts +6 -0
- package/dist/esm/src/index.d.ts.map +1 -0
- package/dist/esm/src/index.js +6 -0
- package/dist/esm/src/index.js.map +1 -0
- package/dist/esm/src/schemas.d.ts +35 -0
- package/dist/esm/src/schemas.d.ts.map +1 -0
- package/dist/esm/src/schemas.js +817 -0
- package/dist/esm/src/schemas.js.map +1 -0
- package/dist/esm/src/schemas.test.d.ts +2 -0
- package/dist/esm/src/schemas.test.d.ts.map +1 -0
- package/dist/esm/src/schemas.test.js +22 -0
- package/dist/esm/src/schemas.test.js.map +1 -0
- package/dist/esm/src/testFixtures.d.ts +5 -0
- package/dist/esm/src/testFixtures.d.ts.map +1 -0
- package/dist/esm/src/testFixtures.js +83 -0
- package/dist/esm/src/testFixtures.js.map +1 -0
- package/dist/esm/src/types.d.ts +37 -0
- package/dist/esm/src/types.d.ts.map +1 -0
- package/dist/esm/src/types.js +2 -0
- package/dist/esm/src/types.js.map +1 -0
- package/jest.config.json +16 -0
- package/package.json +55 -0
- package/schemas/jsonschema/CameraCalibration.json +72 -0
- package/schemas/jsonschema/CircleAnnotation.json +96 -0
- package/schemas/jsonschema/Color.json +24 -0
- package/schemas/jsonschema/CompressedImage.json +33 -0
- package/schemas/jsonschema/FrameTransform.json +100 -0
- package/schemas/jsonschema/GeoJSON.json +12 -0
- package/schemas/jsonschema/Grid.json +179 -0
- package/schemas/jsonschema/ImageAnnotations.json +234 -0
- package/schemas/jsonschema/LaserScan.json +102 -0
- package/schemas/jsonschema/LocationFix.json +51 -0
- package/schemas/jsonschema/Log.json +71 -0
- package/schemas/jsonschema/PackedElementField.json +59 -0
- package/schemas/jsonschema/Point2.json +16 -0
- package/schemas/jsonschema/Point3.json +20 -0
- package/schemas/jsonschema/PointCloud.json +153 -0
- package/schemas/jsonschema/PointsAnnotation.json +122 -0
- package/schemas/jsonschema/Pose.json +52 -0
- package/schemas/jsonschema/PoseInFrame.json +80 -0
- package/schemas/jsonschema/PosesInFrame.json +84 -0
- package/schemas/jsonschema/Quaternion.json +24 -0
- package/schemas/jsonschema/RawImage.json +48 -0
- package/schemas/jsonschema/Transform.json +68 -0
- package/schemas/jsonschema/Vector2.json +16 -0
- package/schemas/jsonschema/Vector3.json +20 -0
- package/schemas/proto/foxglove/CameraCalibration.proto +70 -0
- package/schemas/proto/foxglove/CircleAnnotation.proto +30 -0
- package/schemas/proto/foxglove/Color.proto +20 -0
- package/schemas/proto/foxglove/CompressedImage.proto +19 -0
- package/schemas/proto/foxglove/FrameTransform.proto +23 -0
- package/schemas/proto/foxglove/GeoJSON.proto +11 -0
- package/schemas/proto/foxglove/Grid.proto +40 -0
- package/schemas/proto/foxglove/ImageAnnotations.proto +17 -0
- package/schemas/proto/foxglove/LaserScan.proto +32 -0
- package/schemas/proto/foxglove/LocationFix.proto +33 -0
- package/schemas/proto/foxglove/Log.proto +42 -0
- package/schemas/proto/foxglove/PackedElementField.proto +37 -0
- package/schemas/proto/foxglove/Point2.proto +14 -0
- package/schemas/proto/foxglove/Point3.proto +17 -0
- package/schemas/proto/foxglove/PointCloud.proto +30 -0
- package/schemas/proto/foxglove/PointsAnnotation.proto +39 -0
- package/schemas/proto/foxglove/Pose.proto +17 -0
- package/schemas/proto/foxglove/PoseInFrame.proto +20 -0
- package/schemas/proto/foxglove/PosesInFrame.proto +20 -0
- package/schemas/proto/foxglove/Quaternion.proto +20 -0
- package/schemas/proto/foxglove/RawImage.proto +28 -0
- package/schemas/proto/foxglove/Transform.proto +21 -0
- package/schemas/proto/foxglove/Vector2.proto +14 -0
- package/schemas/proto/foxglove/Vector3.proto +17 -0
- package/schemas/ros1/CameraCalibration.msg +61 -0
- package/schemas/ros1/CircleAnnotation.msg +19 -0
- package/schemas/ros1/Color.msg +13 -0
- package/schemas/ros1/CompressedImage.msg +10 -0
- package/schemas/ros1/FrameTransform.msg +13 -0
- package/schemas/ros1/GeoJSON.msg +4 -0
- package/schemas/ros1/Grid.msg +28 -0
- package/schemas/ros1/ImageAnnotations.msg +7 -0
- package/schemas/ros1/LaserScan.msg +22 -0
- package/schemas/ros1/LocationFix.msg +21 -0
- package/schemas/ros1/Log.msg +26 -0
- package/schemas/ros1/PackedElementField.msg +20 -0
- package/schemas/ros1/Point2.msg +7 -0
- package/schemas/ros1/PointCloud.msg +19 -0
- package/schemas/ros1/PointsAnnotation.msg +22 -0
- package/schemas/ros1/PoseInFrame.msg +10 -0
- package/schemas/ros1/PosesInFrame.msg +10 -0
- package/schemas/ros1/RawImage.msg +19 -0
- package/schemas/ros1/Transform.msg +10 -0
- package/schemas/ros1/Vector2.msg +7 -0
- package/schemas/ros2/CameraCalibration.msg +61 -0
- package/schemas/ros2/CircleAnnotation.msg +19 -0
- package/schemas/ros2/Color.msg +13 -0
- package/schemas/ros2/CompressedImage.msg +10 -0
- package/schemas/ros2/FrameTransform.msg +13 -0
- package/schemas/ros2/GeoJSON.msg +4 -0
- package/schemas/ros2/Grid.msg +28 -0
- package/schemas/ros2/ImageAnnotations.msg +7 -0
- package/schemas/ros2/LaserScan.msg +22 -0
- package/schemas/ros2/LocationFix.msg +21 -0
- package/schemas/ros2/Log.msg +26 -0
- package/schemas/ros2/PackedElementField.msg +20 -0
- package/schemas/ros2/Point2.msg +7 -0
- package/schemas/ros2/PointCloud.msg +19 -0
- package/schemas/ros2/PointsAnnotation.msg +22 -0
- package/schemas/ros2/PoseInFrame.msg +10 -0
- package/schemas/ros2/PosesInFrame.msg +10 -0
- package/schemas/ros2/RawImage.msg +19 -0
- package/schemas/ros2/Transform.msg +10 -0
- package/schemas/ros2/Vector2.msg +7 -0
- package/schemas/typescript/CameraCalibration.ts +72 -0
- package/schemas/typescript/CircleAnnotation.ts +26 -0
- package/schemas/typescript/Color.ts +16 -0
- package/schemas/typescript/CompressedImage.ts +15 -0
- package/schemas/typescript/Duration.ts +4 -0
- package/schemas/typescript/FrameTransform.ts +19 -0
- package/schemas/typescript/GeoJSON.ts +7 -0
- package/schemas/typescript/Grid.ts +36 -0
- package/schemas/typescript/ImageAnnotations.ts +13 -0
- package/schemas/typescript/LaserScan.ts +28 -0
- package/schemas/typescript/LocationFix.ts +21 -0
- package/schemas/typescript/Log.ts +25 -0
- package/schemas/typescript/LogLevel.ts +16 -0
- package/schemas/typescript/NumericType.ts +22 -0
- package/schemas/typescript/PackedElementField.ts +15 -0
- package/schemas/typescript/Point2.ts +10 -0
- package/schemas/typescript/Point3.ts +13 -0
- package/schemas/typescript/PointCloud.ts +26 -0
- package/schemas/typescript/PointsAnnotation.ts +24 -0
- package/schemas/typescript/PointsAnnotationType.ts +14 -0
- package/schemas/typescript/Pose.ts +13 -0
- package/schemas/typescript/PoseInFrame.ts +16 -0
- package/schemas/typescript/PosesInFrame.ts +16 -0
- package/schemas/typescript/PositionCovarianceType.ts +12 -0
- package/schemas/typescript/Quaternion.ts +16 -0
- package/schemas/typescript/RawImage.ts +24 -0
- package/schemas/typescript/Time.ts +4 -0
- package/schemas/typescript/Transform.ts +17 -0
- package/schemas/typescript/Vector2.ts +10 -0
- package/schemas/typescript/Vector3.ts +13 -0
- package/schemas/typescript/index.ts +28 -0
- package/scripts/updateGeneratedFiles.ts +103 -0
- package/src/generateJsonSchema.test.ts +314 -0
- package/src/generateJsonSchema.ts +82 -0
- package/src/generateProto.test.ts +126 -0
- package/src/generateProto.ts +97 -0
- package/src/generateRos.test.ts +931 -0
- package/src/generateRos.ts +219 -0
- package/src/generateTypeScript.test.ts +118 -0
- package/src/generateTypeScript.ts +106 -0
- package/src/index.ts +5 -0
- package/src/schemas.test.ts +23 -0
- package/src/schemas.ts +853 -0
- package/src/testFixtures.ts +90 -0
- package/src/types.ts +40 -0
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +9 -0
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-env node */
|
|
2
|
+
module.exports = {
|
|
3
|
+
env: { es2020: true },
|
|
4
|
+
ignorePatterns: ["dist"],
|
|
5
|
+
extends: ["plugin:@foxglove/base", "plugin:@foxglove/jest"],
|
|
6
|
+
overrides: [
|
|
7
|
+
{
|
|
8
|
+
files: ["*.ts", "*.tsx"],
|
|
9
|
+
extends: ["plugin:@foxglove/typescript"],
|
|
10
|
+
parserOptions: {
|
|
11
|
+
project: "tsconfig.json",
|
|
12
|
+
tsconfigRootDir: __dirname,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
rules: {
|
|
17
|
+
"no-warning-comments": ["error", { terms: ["fixme"], location: "anywhere" }],
|
|
18
|
+
},
|
|
19
|
+
};
|
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
schemas/** linguist-generated
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
tags: ["releases/typescript/v*"]
|
|
7
|
+
pull_request:
|
|
8
|
+
branches: ["*"]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v2
|
|
15
|
+
- uses: arduino/setup-protoc@v1
|
|
16
|
+
- uses: actions/setup-node@v2
|
|
17
|
+
with:
|
|
18
|
+
node-version: 16.x
|
|
19
|
+
cache: yarn
|
|
20
|
+
registry-url: https://registry.npmjs.org
|
|
21
|
+
|
|
22
|
+
- run: yarn install --immutable
|
|
23
|
+
- run: yarn lint:ci
|
|
24
|
+
- run: yarn typecheck
|
|
25
|
+
- run: yarn test
|
|
26
|
+
- run: yarn update-generated-files
|
|
27
|
+
|
|
28
|
+
- name: Ensure generated files are up to date
|
|
29
|
+
run: |
|
|
30
|
+
changes=$(git status --porcelain)
|
|
31
|
+
if [ -n "$changes" ]; then
|
|
32
|
+
echo "::error::The following generated files need to be updated. Run `yarn update-generated-files` to update them."
|
|
33
|
+
echo "$changes"
|
|
34
|
+
exit 1
|
|
35
|
+
else
|
|
36
|
+
echo "Generated schemas are up to date!"
|
|
37
|
+
fi
|
|
38
|
+
|
|
39
|
+
- name: Validate protobuf definitions
|
|
40
|
+
run: protoc --proto_path=schemas/proto schemas/proto/**/*.proto --descriptor_set_out=/dev/null
|
|
41
|
+
|
|
42
|
+
- name: Publish to NPM
|
|
43
|
+
if: ${{ startsWith(github.ref, 'refs/tags/releases/typescript/v') }}
|
|
44
|
+
run: yarn publish --access public
|
|
45
|
+
env:
|
|
46
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
|
47
|
+
|
|
48
|
+
ros:
|
|
49
|
+
runs-on: ubuntu-latest
|
|
50
|
+
strategy:
|
|
51
|
+
fail-fast: false
|
|
52
|
+
matrix:
|
|
53
|
+
include:
|
|
54
|
+
- docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-noetic-ros-base-latest
|
|
55
|
+
ros_distribution: noetic
|
|
56
|
+
ros_version: 1
|
|
57
|
+
- docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-foxy-ros-base-latest
|
|
58
|
+
ros_distribution: foxy
|
|
59
|
+
ros_version: 2
|
|
60
|
+
- docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-galactic-ros-base-latest
|
|
61
|
+
ros_distribution: galactic
|
|
62
|
+
ros_version: 2
|
|
63
|
+
- docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest
|
|
64
|
+
ros_distribution: rolling
|
|
65
|
+
ros_version: 2
|
|
66
|
+
name: "ROS ${{ matrix.ros_distribution }}"
|
|
67
|
+
container:
|
|
68
|
+
image: ${{ matrix.docker_image }}
|
|
69
|
+
steps:
|
|
70
|
+
- name: setup directories
|
|
71
|
+
run: mkdir -p ros_ws/src
|
|
72
|
+
- name: checkout
|
|
73
|
+
uses: actions/checkout@v2
|
|
74
|
+
with:
|
|
75
|
+
path: ros_ws/src
|
|
76
|
+
- name: build and test ros1
|
|
77
|
+
if: ${{ matrix.ros_version == 1 }}
|
|
78
|
+
uses: ros-tooling/action-ros-ci@master
|
|
79
|
+
with:
|
|
80
|
+
package-name: foxglove_msgs
|
|
81
|
+
target-ros1-distro: ${{ matrix.ros_distribution }}
|
|
82
|
+
vcs-repo-file-url: ""
|
|
83
|
+
- name: build and test ros2
|
|
84
|
+
if: ${{ matrix.ros_version == 2 }}
|
|
85
|
+
uses: ros-tooling/action-ros-ci@master
|
|
86
|
+
with:
|
|
87
|
+
package-name: foxglove_msgs
|
|
88
|
+
target-ros2-distro: ${{ matrix.ros_distribution }}
|
|
89
|
+
vcs-repo-file-url: ""
|
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
schemas
|
package/.prettierrc.yml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"configurations": [
|
|
3
|
+
{
|
|
4
|
+
"type": "node",
|
|
5
|
+
"name": "vscode-jest-tests.v2",
|
|
6
|
+
"request": "launch",
|
|
7
|
+
"console": "integratedTerminal",
|
|
8
|
+
"internalConsoleOptions": "neverOpen",
|
|
9
|
+
"disableOptimisticBPs": true,
|
|
10
|
+
"cwd": "${workspaceFolder}",
|
|
11
|
+
"runtimeExecutable": "yarn",
|
|
12
|
+
"args": [
|
|
13
|
+
"test",
|
|
14
|
+
"--runInBand",
|
|
15
|
+
"--watchAll=false",
|
|
16
|
+
"--testNamePattern",
|
|
17
|
+
"${jest.testNamePattern}",
|
|
18
|
+
"--runTestsByPath",
|
|
19
|
+
"${jest.testFile}"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// -*- jsonc -*-
|
|
2
|
+
{
|
|
3
|
+
"editor.codeActionsOnSave": {
|
|
4
|
+
"source.fixAll.eslint": true
|
|
5
|
+
},
|
|
6
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
7
|
+
"editor.formatOnSave": true,
|
|
8
|
+
"files.eol": "\n",
|
|
9
|
+
"prettier.prettierPath": "./node_modules/prettier",
|
|
10
|
+
"search.exclude": {
|
|
11
|
+
"**/node_modules": true,
|
|
12
|
+
".yarn/**": true,
|
|
13
|
+
"yarn.lock": true
|
|
14
|
+
},
|
|
15
|
+
"typescript.tsdk": "node_modules/typescript/lib",
|
|
16
|
+
"eslint.options": {
|
|
17
|
+
"reportUnusedDisableDirectives": true
|
|
18
|
+
},
|
|
19
|
+
"jest.jestCommandLine": "yarn test"
|
|
20
|
+
}
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Foxglove Technologies Inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
> [Message schemas](https://foxglove.dev/docs/studio/messages/introduction) supported by [Foxglove Studio](https://studio.foxglove.dev)
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@foxglove/schemas)
|
|
6
|
+
|
|
7
|
+
## Introduction
|
|
8
|
+
|
|
9
|
+
The [schemas](./schemas) folder contains type definitions generated from these schemas for ROS 1, ROS 2, Protobuf, JSON Schema, and TypeScript.
|
|
10
|
+
|
|
11
|
+
These schemas can be used in [MCAP](https://github.com/foxglove/mcap) files or [Foxglove WebSocket](https://github.com/foxglove/ws-protocol) servers to take advantage of Foxglove Studio's visualizations.
|
|
12
|
+
|
|
13
|
+
## License
|
|
14
|
+
|
|
15
|
+
@foxglove/schemas is licensed under the [MIT License](https://opensource.org/licenses/MIT).
|
|
16
|
+
|
|
17
|
+
## Development
|
|
18
|
+
|
|
19
|
+
The schema definitions are in [src/schemas.ts](src/schemas.ts).
|
|
20
|
+
|
|
21
|
+
After editing the schemas, re-generate the language-specific definitions by running `yarn update-generated-files`.
|
|
22
|
+
|
|
23
|
+
### Releasing
|
|
24
|
+
|
|
25
|
+
1. Run `yarn version --[major|minor|patch]` to bump version
|
|
26
|
+
2. Run `git push && git push --tags` to push new tag
|
|
27
|
+
3. GitHub Actions will take care of the rest
|
|
28
|
+
|
|
29
|
+
## Stay in touch
|
|
30
|
+
|
|
31
|
+
Join our [Slack channel](https://foxglove.dev/join-slack) to ask questions, share feedback, and stay up to date on what our team is working on.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Time } from "./Time";
|
|
2
|
+
/** Camera calibration parameters */
|
|
3
|
+
export declare type CameraCalibration = {
|
|
4
|
+
/** Timestamp of calibration data */
|
|
5
|
+
timestamp: Time;
|
|
6
|
+
/** Image width */
|
|
7
|
+
width: number;
|
|
8
|
+
/** Image height */
|
|
9
|
+
height: number;
|
|
10
|
+
/** Name of distortion model */
|
|
11
|
+
distortion_model: string;
|
|
12
|
+
/** Distortion parameters */
|
|
13
|
+
D: number[];
|
|
14
|
+
/**
|
|
15
|
+
* Intrinsic camera matrix (3x3 row-major matrix)
|
|
16
|
+
*
|
|
17
|
+
* A 3x3 row-major matrix for the raw (distorted) image.
|
|
18
|
+
*
|
|
19
|
+
* Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
|
|
20
|
+
*
|
|
21
|
+
* ```
|
|
22
|
+
* [fx 0 cx]
|
|
23
|
+
* K = [ 0 fy cy]
|
|
24
|
+
* [ 0 0 1]
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
K: [number, number, number, number, number, number, number, number, number];
|
|
28
|
+
/**
|
|
29
|
+
* Rectification matrix (3x3 row-major matrix)
|
|
30
|
+
*
|
|
31
|
+
* A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
32
|
+
*/
|
|
33
|
+
R: [number, number, number, number, number, number, number, number, number];
|
|
34
|
+
/**
|
|
35
|
+
* Projection/camera matrix (3x4 row-major matrix)
|
|
36
|
+
*
|
|
37
|
+
* ```
|
|
38
|
+
* [fx' 0 cx' Tx]
|
|
39
|
+
* P = [ 0 fy' cy' Ty]
|
|
40
|
+
* [ 0 0 1 0]
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* By convention, this matrix specifies the intrinsic (camera) matrix of the processed (rectified) image. That is, the left 3x3 portion is the normal camera intrinsic matrix for the rectified image.
|
|
44
|
+
*
|
|
45
|
+
* It projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx', fy') and principal point (cx', cy') - these may differ from the values in K.
|
|
46
|
+
*
|
|
47
|
+
* For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
|
|
48
|
+
*
|
|
49
|
+
* For a stereo pair, the fourth column [Tx Ty 0]' is related to the position of the optical center of the second camera in the first camera's frame. We assume Tz = 0 so both cameras are in the same stereo image plane. The first camera always has Tx = Ty = 0. For the right (second) camera of a horizontal stereo pair, Ty = 0 and Tx = -fx' * B, where B is the baseline between the cameras.
|
|
50
|
+
*
|
|
51
|
+
* Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
* [u v w]' = P * [X Y Z 1]'
|
|
55
|
+
* x = u / w
|
|
56
|
+
* y = v / w
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* This holds for both images of a stereo pair.
|
|
60
|
+
*/
|
|
61
|
+
P: [number, number, number, number, number, number, number, number, number, number, number, number];
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=CameraCalibration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CameraCalibration.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/CameraCalibration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,oCAAoC;AACpC,oBAAY,iBAAiB,GAAG;IAC9B,oCAAoC;IACpC,SAAS,EAAE,IAAI,CAAC;IAEhB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf,+BAA+B;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IAEzB,4BAA4B;IAC5B,CAAC,EAAE,MAAM,EAAE,CAAC;IAEZ;;;;;;;;;;;;OAYG;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5E;;;;OAIG;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACrG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CameraCalibration.js","sourceRoot":"","sources":["../../../../schemas/typescript/CameraCalibration.ts"],"names":[],"mappings":";AAAA,wDAAwD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Point2 } from "./Point2";
|
|
3
|
+
import { Time } from "./Time";
|
|
4
|
+
/** A circle annotation on a 2D image */
|
|
5
|
+
export declare type CircleAnnotation = {
|
|
6
|
+
/** Timestamp of circle */
|
|
7
|
+
timestamp: Time;
|
|
8
|
+
/** Center of the circle in 2D image coordinates */
|
|
9
|
+
position: Point2;
|
|
10
|
+
/** Circle diameter */
|
|
11
|
+
diameter: number;
|
|
12
|
+
/** Line thickness */
|
|
13
|
+
thickness: number;
|
|
14
|
+
/** Fill color */
|
|
15
|
+
fill_color: Color;
|
|
16
|
+
/** Outline color */
|
|
17
|
+
outline_color: Color;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=CircleAnnotation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircleAnnotation.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/CircleAnnotation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,wCAAwC;AACxC,oBAAY,gBAAgB,GAAG;IAC7B,0BAA0B;IAC1B,SAAS,EAAE,IAAI,CAAC;IAEhB,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAC;IAEjB,sBAAsB;IACtB,QAAQ,EAAE,MAAM,CAAC;IAEjB,qBAAqB;IACrB,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,oBAAoB;IACpB,aAAa,EAAE,KAAK,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircleAnnotation.js","sourceRoot":"","sources":["../../../../schemas/typescript/CircleAnnotation.ts"],"names":[],"mappings":";AAAA,uDAAuD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** A color in RGBA format */
|
|
2
|
+
export declare type Color = {
|
|
3
|
+
/** Red value between 0 and 1 */
|
|
4
|
+
r: number;
|
|
5
|
+
/** Green value between 0 and 1 */
|
|
6
|
+
g: number;
|
|
7
|
+
/** Blue value between 0 and 1 */
|
|
8
|
+
b: number;
|
|
9
|
+
/** Alpha value between 0 and 1 */
|
|
10
|
+
a: number;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=Color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/Color.ts"],"names":[],"mappings":"AAEA,6BAA6B;AAC7B,oBAAY,KAAK,GAAG;IAClB,gCAAgC;IAChC,CAAC,EAAE,MAAM,CAAC;IAEV,kCAAkC;IAClC,CAAC,EAAE,MAAM,CAAC;IAEV,iCAAiC;IACjC,CAAC,EAAE,MAAM,CAAC;IAEV,kCAAkC;IAClC,CAAC,EAAE,MAAM,CAAC;CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Color.js","sourceRoot":"","sources":["../../../../schemas/typescript/Color.ts"],"names":[],"mappings":";AAAA,4CAA4C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Time } from "./Time";
|
|
2
|
+
/** A compressed image */
|
|
3
|
+
export declare type CompressedImage = {
|
|
4
|
+
/** Timestamp of image */
|
|
5
|
+
timestamp: Time;
|
|
6
|
+
/** Compressed image data */
|
|
7
|
+
data: Uint8Array;
|
|
8
|
+
/** Image format */
|
|
9
|
+
format: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=CompressedImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompressedImage.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/CompressedImage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,yBAAyB;AACzB,oBAAY,eAAe,GAAG;IAC5B,yBAAyB;IACzB,SAAS,EAAE,IAAI,CAAC;IAEhB,4BAA4B;IAC5B,IAAI,EAAE,UAAU,CAAC;IAEjB,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompressedImage.js","sourceRoot":"","sources":["../../../../schemas/typescript/CompressedImage.ts"],"names":[],"mappings":";AAAA,sDAAsD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Duration.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/Duration.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Duration.js","sourceRoot":"","sources":["../../../../schemas/typescript/Duration.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Time } from "./Time";
|
|
2
|
+
import { Transform } from "./Transform";
|
|
3
|
+
/** A transform between two reference frames in 3D space */
|
|
4
|
+
export declare type FrameTransform = {
|
|
5
|
+
/** Timestamp of transform */
|
|
6
|
+
timestamp: Time;
|
|
7
|
+
/** Name of the parent frame */
|
|
8
|
+
parent_frame_id: string;
|
|
9
|
+
/** Name of the child frame */
|
|
10
|
+
child_frame_id: string;
|
|
11
|
+
/** Transform from parent frame to child frame */
|
|
12
|
+
transform: Transform;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=FrameTransform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FrameTransform.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/FrameTransform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,2DAA2D;AAC3D,oBAAY,cAAc,GAAG;IAC3B,6BAA6B;IAC7B,SAAS,EAAE,IAAI,CAAC;IAEhB,+BAA+B;IAC/B,eAAe,EAAE,MAAM,CAAC;IAExB,8BAA8B;IAC9B,cAAc,EAAE,MAAM,CAAC;IAEvB,iDAAiD;IACjD,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FrameTransform.js","sourceRoot":"","sources":["../../../../schemas/typescript/FrameTransform.ts"],"names":[],"mappings":";AAAA,qDAAqD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeoJSON.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/GeoJSON.ts"],"names":[],"mappings":"AAEA,uCAAuC;AACvC,oBAAY,OAAO,GAAG;IACpB,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeoJSON.js","sourceRoot":"","sources":["../../../../schemas/typescript/GeoJSON.ts"],"names":[],"mappings":";AAAA,8CAA8C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PackedElementField } from "./PackedElementField";
|
|
2
|
+
import { Pose } from "./Pose";
|
|
3
|
+
import { Time } from "./Time";
|
|
4
|
+
import { Vector2 } from "./Vector2";
|
|
5
|
+
/** A 2D grid of data */
|
|
6
|
+
export declare type Grid = {
|
|
7
|
+
/** Timestamp of grid */
|
|
8
|
+
timestamp: Time;
|
|
9
|
+
/** Frame of reference */
|
|
10
|
+
frame_id: string;
|
|
11
|
+
/** Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin */
|
|
12
|
+
pose: Pose;
|
|
13
|
+
/** Number of grid columns */
|
|
14
|
+
column_count: number;
|
|
15
|
+
/** Size of single grid cell along x and y axes, relative to `pose` */
|
|
16
|
+
cell_size: Vector2;
|
|
17
|
+
/** Number of bytes between rows in `data` */
|
|
18
|
+
row_stride: number;
|
|
19
|
+
/** Number of bytes between cells within a row in `data` */
|
|
20
|
+
cell_stride: number;
|
|
21
|
+
/** Fields in `data` */
|
|
22
|
+
fields: PackedElementField[];
|
|
23
|
+
/** Grid cell data, interpreted using `fields`, in row-major (y-major) order */
|
|
24
|
+
data: Uint8Array;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/Grid.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,wBAAwB;AACxB,oBAAY,IAAI,GAAG;IACjB,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAEhB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,0HAA0H;IAC1H,IAAI,EAAE,IAAI,CAAC;IAEX,6BAA6B;IAC7B,YAAY,EAAE,MAAM,CAAC;IAErB,sEAAsE;IACtE,SAAS,EAAE,OAAO,CAAC;IAEnB,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAC;IAEnB,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;IAEpB,uBAAuB;IACvB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAE7B,+EAA+E;IAC/E,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../../../schemas/typescript/Grid.ts"],"names":[],"mappings":";AAAA,2CAA2C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CircleAnnotation } from "./CircleAnnotation";
|
|
2
|
+
import { PointsAnnotation } from "./PointsAnnotation";
|
|
3
|
+
/** Array of annotations for a 2D image */
|
|
4
|
+
export declare type ImageAnnotations = {
|
|
5
|
+
/** Circle annotations */
|
|
6
|
+
circles: CircleAnnotation[];
|
|
7
|
+
/** Points annotations */
|
|
8
|
+
points: PointsAnnotation[];
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=ImageAnnotations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageAnnotations.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/ImageAnnotations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,0CAA0C;AAC1C,oBAAY,gBAAgB,GAAG;IAC7B,yBAAyB;IACzB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAE5B,yBAAyB;IACzB,MAAM,EAAE,gBAAgB,EAAE,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageAnnotations.js","sourceRoot":"","sources":["../../../../schemas/typescript/ImageAnnotations.ts"],"names":[],"mappings":";AAAA,uDAAuD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Pose } from "./Pose";
|
|
2
|
+
import { Time } from "./Time";
|
|
3
|
+
/** A single scan from a planar laser range-finder */
|
|
4
|
+
export declare type LaserScan = {
|
|
5
|
+
/** Timestamp of scan */
|
|
6
|
+
timestamp: Time;
|
|
7
|
+
/** Frame of reference */
|
|
8
|
+
frame_id: string;
|
|
9
|
+
/** Origin of scan relative to frame of reference; points are positioned in the x-y plane relative to this origin; angles are interpreted as counterclockwise rotations around the z axis with 0 rad being in the +x direction */
|
|
10
|
+
pose: Pose;
|
|
11
|
+
/** Bearing of first point, in radians */
|
|
12
|
+
start_angle: number;
|
|
13
|
+
/** Bearing of last point, in radians */
|
|
14
|
+
end_angle: number;
|
|
15
|
+
/** Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle` */
|
|
16
|
+
ranges: number[];
|
|
17
|
+
/** Intensity of detections */
|
|
18
|
+
intensities: number[];
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=LaserScan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LaserScan.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/LaserScan.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qDAAqD;AACrD,oBAAY,SAAS,GAAG;IACtB,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAEhB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,iOAAiO;IACjO,IAAI,EAAE,IAAI,CAAC;IAEX,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;IAEpB,wCAAwC;IACxC,SAAS,EAAE,MAAM,CAAC;IAElB,uHAAuH;IACvH,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,8BAA8B;IAC9B,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LaserScan.js","sourceRoot":"","sources":["../../../../schemas/typescript/LaserScan.ts"],"names":[],"mappings":";AAAA,gDAAgD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PositionCovarianceType } from "./PositionCovarianceType";
|
|
2
|
+
/** A navigation satellite fix for any Global Navigation Satellite System */
|
|
3
|
+
export declare type LocationFix = {
|
|
4
|
+
/** Latitude in degrees */
|
|
5
|
+
latitude: number;
|
|
6
|
+
/** Longitude in degrees */
|
|
7
|
+
longitude: number;
|
|
8
|
+
/** Altitude in meters */
|
|
9
|
+
altitude: number;
|
|
10
|
+
/** Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order. */
|
|
11
|
+
position_covariance: [number, number, number, number, number, number, number, number, number];
|
|
12
|
+
/** If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance. */
|
|
13
|
+
position_covariance_type: PositionCovarianceType;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=LocationFix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationFix.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/LocationFix.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,4EAA4E;AAC5E,oBAAY,WAAW,GAAG;IACxB,0BAA0B;IAC1B,QAAQ,EAAE,MAAM,CAAC;IAEjB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAElB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,wKAAwK;IACxK,mBAAmB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAE9F,wHAAwH;IACxH,wBAAwB,EAAE,sBAAsB,CAAC;CAClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationFix.js","sourceRoot":"","sources":["../../../../schemas/typescript/LocationFix.ts"],"names":[],"mappings":";AAAA,kDAAkD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LogLevel } from "./LogLevel";
|
|
2
|
+
import { Time } from "./Time";
|
|
3
|
+
/** A log message */
|
|
4
|
+
export declare type Log = {
|
|
5
|
+
/** Timestamp of log message */
|
|
6
|
+
timestamp: Time;
|
|
7
|
+
/** Log level */
|
|
8
|
+
level: LogLevel;
|
|
9
|
+
/** Log message */
|
|
10
|
+
message: string;
|
|
11
|
+
/** Process or node name */
|
|
12
|
+
name: string;
|
|
13
|
+
/** Filename */
|
|
14
|
+
file: string;
|
|
15
|
+
/** Line number in the file */
|
|
16
|
+
line: number;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=Log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Log.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/Log.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,oBAAoB;AACpB,oBAAY,GAAG,GAAG;IAChB,+BAA+B;IAC/B,SAAS,EAAE,IAAI,CAAC;IAEhB,gBAAgB;IAChB,KAAK,EAAE,QAAQ,CAAC;IAEhB,kBAAkB;IAClB,OAAO,EAAE,MAAM,CAAC;IAEhB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IAEb,eAAe;IACf,IAAI,EAAE,MAAM,CAAC;IAEb,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Log.js","sourceRoot":"","sources":["../../../../schemas/typescript/Log.ts"],"names":[],"mappings":";AAAA,0CAA0C"}
|