1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-02-25 12:29:09 +00:00
bedrock-samples/metadata/script_modules/@minecraft/diagnostics_1.0.0-beta.json
2025-02-19 09:06:29 -08:00

352 lines
10 KiB
JSON

{
"classes" : [
{
"base_types" : [],
"constants" : [],
"functions" : [
{
"arguments" : [
{
"details" : null,
"name" : "level",
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryBreadcrumbLevel"
}
},
{
"details" : null,
"name" : "message",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
},
{
"details" : {
"default_value" : "null"
},
"name" : "category",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "optional",
"optional_type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
}
],
"call_privilege" : [
{
"name" : "early_execution"
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "addBreadcrumb",
"return_type" : {
"error_types" : [
{
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryUninitializedError"
}
],
"is_bind_type" : false,
"is_errorable" : true,
"name" : "undefined"
}
},
{
"arguments" : [
{
"details" : null,
"name" : "name",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
},
{
"details" : null,
"name" : "value",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
],
"call_privilege" : [
{
"name" : "early_execution"
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "addTag",
"return_type" : {
"error_types" : [
{
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryUninitializedError"
}
],
"is_bind_type" : false,
"is_errorable" : true,
"name" : "undefined"
}
},
{
"arguments" : [],
"call_privilege" : [
{
"name" : "early_execution"
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "getTags",
"return_type" : {
"error_types" : [
{
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryUninitializedError"
}
],
"is_bind_type" : false,
"is_errorable" : true,
"key_type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"name" : "map",
"value_type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
},
{
"arguments" : [
{
"details" : null,
"name" : "options",
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryOptions"
}
}
],
"call_privilege" : [
{
"name" : "early_execution"
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "init",
"return_type" : {
"error_types" : [
{
"from_module" : {
"name" : "@minecraft/common",
"uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5",
"version" : "1.0.0"
},
"is_bind_type" : true,
"is_errorable" : false,
"name" : "InvalidArgumentError"
},
{
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryAlreadyInitializedError"
}
],
"is_bind_type" : false,
"is_errorable" : true,
"name" : "undefined"
}
},
{
"arguments" : [
{
"details" : null,
"name" : "name",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
],
"call_privilege" : [
{
"name" : "early_execution"
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "removeTag",
"return_type" : {
"error_types" : [
{
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryUninitializedError"
}
],
"is_bind_type" : false,
"is_errorable" : true,
"name" : "undefined"
}
}
],
"name" : "Sentry",
"properties" : [],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "Sentry"
}
}
],
"constants" : [],
"dependencies" : [
{
"name" : "@minecraft/common",
"uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5",
"versions" : [
{
"version" : "1.0.0"
}
]
}
],
"enums" : [
{
"constants" : [
{
"is_read_only" : true,
"is_static" : true,
"name" : "debug",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"value" : "debug"
},
{
"is_read_only" : true,
"is_static" : true,
"name" : "error",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"value" : "error"
},
{
"is_read_only" : true,
"is_static" : true,
"name" : "info",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"value" : "info"
},
{
"is_read_only" : true,
"is_static" : true,
"name" : "warning",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"value" : "warning"
}
],
"name" : "SentryBreadcrumbLevel"
}
],
"errors" : [
{
"name" : "SentryAlreadyInitializedError",
"properties" : [],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryAlreadyInitializedError"
}
},
{
"name" : "SentryUninitializedError",
"properties" : [],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryUninitializedError"
}
}
],
"functions" : [],
"interfaces" : [
{
"base_types" : [],
"name" : "SentryOptions",
"properties" : [
{
"is_baked" : false,
"is_read_only" : false,
"name" : "dsn",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "SentryOptions"
}
}
],
"minecraft_version" : "1.21.70-beta.24",
"module_type" : "script",
"name" : "@minecraft/diagnostics",
"objects" : [
{
"is_read_only" : true,
"is_static" : true,
"name" : "sentry",
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "Sentry"
}
}
],
"type_aliases" : [],
"uuid" : "b7b26c0f-2267-4713-8534-51ca98c51ee9",
"version" : "1.0.0-beta"
}