1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 12:42:44 +01:00

⬆️ update dependencies

This commit is contained in:
Flam3rboy 2021-09-03 03:38:40 +02:00
parent 3eac3a05ec
commit 57bf4b0a2f
12 changed files with 449 additions and 2028 deletions

View File

@ -25,46 +25,26 @@
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
"description": "user found", "description": "User found",
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserPublic" } } } "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserPublic" } } }
}, },
"401": { "404": {
"description": "Unauthorized", "description": "User not found",
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } }
}, }
"429": { }
"description": "Rate limit exceeded", }
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } }, },
"headers": { "/users/@me": {
"X-RateLimit-Bucket": { "get": {
"description": "A unique string denoting the rate limit being encountered (non-inclusive of major parameters in the route path)", "summary": "",
"schema": { "type": "string" } "description": "",
}, "parameters": [],
"X-Rate-Limit-Limit": { "operationId": "",
"description": "The number of allowed requests in the current period", "responses": {
"schema": { "type": "integer" } "200": {
}, "description": "Authenticated user",
"X-Rate-Limit-Remaining": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserPublic" } } }
"description": "The number of remaining requests in the current period",
"schema": { "type": "integer" }
},
"X-Rate-Limit-Reset": {
"description": "Date when current period is over in seconds since the Unix epoch",
"schema": { "type": "integer" }
},
"X-Rate-Limit-Reset-After": {
"description": "Number of seconds when current period will reset (can have decimal)",
"schema": { "type": "number" }
},
"Retry-After": {
"description": "Same as X-Rate-Limit-Reset-After but an integer",
"schema": { "type": "integer" }
},
"X-RateLimit-Global": {
"description": "Indicates whether or not all requests from your ip are rate limited",
"schema": { "type": "boolean" }
}
}
} }
} }
} }
@ -542,6 +522,7 @@
"Member": { "Member": {
"type": "object", "type": "object",
"properties": { "properties": {
"user_id": { "type": "string" },
"user": { "$ref": "#/components/schemas/User" }, "user": { "$ref": "#/components/schemas/User" },
"guild_id": { "type": "string" }, "guild_id": { "type": "string" },
"guild": { "$ref": "#/components/schemas/Guild" }, "guild": { "$ref": "#/components/schemas/Guild" },
@ -555,7 +536,7 @@
"settings": { "$ref": "#/components/schemas/UserGuildSettings" }, "settings": { "$ref": "#/components/schemas/UserGuildSettings" },
"id": { "type": "string" } "id": { "type": "string" }
}, },
"required": ["deaf", "guild", "guild_id", "id", "joined_at", "mute", "pending", "roles", "settings", "user"] "required": ["deaf", "guild", "guild_id", "id", "joined_at", "mute", "pending", "roles", "settings", "user", "user_id"]
}, },
"Role": { "Role": {
"type": "object", "type": "object",
@ -1078,545 +1059,417 @@
"bot": { "type": "boolean" } "bot": { "type": "boolean" }
}, },
"required": ["bio", "bot", "discriminator", "id", "public_flags", "username"] "required": ["bio", "bot", "discriminator", "id", "public_flags", "username"]
} },
}, "UserPrivate": {
"requestBodies": { "type": "object",
"BanCreateSchema": { "properties": {
"content": { "locale": { "type": "string" },
"application/json": { "disabled": { "type": "boolean" },
"schema": { "username": { "type": "string" },
"type": "object", "discriminator": { "type": "string" },
"properties": { "delete_message_days": { "type": "string" }, "reason": { "type": "string" } } "id": { "type": "string" },
} "public_flags": { "type": "string" },
} "avatar": { "type": "string" },
"accent_color": { "type": "integer" },
"banner": { "type": "string" },
"bio": { "type": "string" },
"bot": { "type": "boolean" },
"flags": { "type": "string" },
"mfa_enabled": { "type": "boolean" },
"email": { "type": "string" },
"phone": { "type": "string" },
"verified": { "type": "boolean" },
"nsfw_allowed": { "type": "boolean" },
"premium": { "type": "boolean" },
"premium_type": { "type": "integer" }
}, },
"description": "" "required": [
"bio",
"bot",
"disabled",
"discriminator",
"flags",
"id",
"locale",
"mfa_enabled",
"nsfw_allowed",
"premium",
"premium_type",
"public_flags",
"username",
"verified"
]
},
"BanCreateSchema": {
"type": "object",
"properties": { "delete_message_days": { "type": "string" }, "reason": { "type": "string" } }
}, },
"DmChannelCreateSchema": { "DmChannelCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": { "name": { "type": "string" }, "recipients": { "type": "array", "items": { "type": "string" } } },
"schema": { "required": ["recipients"]
"type": "object",
"properties": {
"name": { "type": "string" },
"recipients": { "type": "array", "items": { "type": "string" } }
},
"required": ["recipients"]
}
}
},
"description": ""
}, },
"ChannelModifySchema": { "ChannelModifySchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "name": { "type": "string" },
"type": { "type": "integer" },
"topic": { "type": "string" },
"bitrate": { "type": "integer" },
"user_limit": { "type": "integer" },
"rate_limit_per_user": { "type": "integer" },
"position": { "type": "integer" },
"permission_overwrites": {
"type": "array",
"items": {
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "type": "string" },
"type": { "type": "integer" },
"topic": { "type": "string" },
"bitrate": { "type": "integer" },
"user_limit": { "type": "integer" },
"rate_limit_per_user": { "type": "integer" },
"position": { "type": "integer" },
"permission_overwrites": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"type": { "type": "integer" },
"allow": { "type": "number" },
"deny": { "type": "number" }
},
"additionalProperties": false,
"required": ["allow", "deny", "id", "type"]
}
},
"parent_id": { "type": "string" },
"id": { "type": "string" }, "id": { "type": "string" },
"nsfw": { "type": "boolean" }, "type": { "type": "integer" },
"rtc_region": { "type": "string" }, "allow": { "type": "number" },
"default_auto_archive_duration": { "type": "integer" } "deny": { "type": "number" }
}, },
"required": ["name", "type"] "additionalProperties": false,
"required": ["allow", "deny", "id", "type"]
} }
} },
"parent_id": { "type": "string" },
"id": { "type": "string" },
"nsfw": { "type": "boolean" },
"rtc_region": { "type": "string" },
"default_auto_archive_duration": { "type": "integer" }
}, },
"description": "" "required": ["name", "type"]
}, },
"ChannelGuildPositionUpdateSchema": { "ChannelGuildPositionUpdateSchema": {
"content": { "type": "array",
"application/json": { "items": {
"schema": { "type": "object",
"type": "array", "properties": { "id": { "type": "string" }, "position": { "type": "integer" } },
"items": { "additionalProperties": false,
"type": "object", "required": ["id"]
"properties": { "id": { "type": "string" }, "position": { "type": "integer" } }, }
"additionalProperties": false,
"required": ["id"]
}
}
}
},
"description": ""
}, },
"EmojiCreateSchema": { "EmojiCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "name": { "type": "string" },
"type": "object", "image": { "type": "string" },
"properties": { "roles": { "type": "array", "items": { "type": "string" } }
"name": { "type": "string" },
"image": { "type": "string" },
"roles": { "type": "array", "items": { "type": "string" } }
},
"required": ["image", "name"]
}
}
}, },
"description": "" "required": ["image", "name"]
}, },
"GuildCreateSchema": { "GuildCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "name": { "type": "string" },
"type": "object", "region": { "type": "string" },
"properties": { "icon": { "type": "string" },
"name": { "type": "string" }, "channels": { "type": "array", "items": { "$ref": "#/components/requestBodies/ChannelModifySchema" } },
"region": { "type": "string" }, "guild_template_code": { "type": "string" },
"icon": { "type": "string" }, "system_channel_id": { "type": "string" },
"channels": { "type": "array", "items": { "$ref": "#/components/requestBodies/ChannelModifySchema" } }, "rules_channel_id": { "type": "string" }
"guild_template_code": { "type": "string" },
"system_channel_id": { "type": "string" },
"rules_channel_id": { "type": "string" }
},
"required": ["name"]
}
}
}, },
"description": "" "required": ["name"]
}, },
"GuildUpdateSchema": { "GuildUpdateSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "banner": { "type": "string" },
"type": "object", "splash": { "type": "string" },
"properties": { "description": { "type": "string" },
"banner": { "type": "string" }, "features": { "type": "array", "items": { "type": "string" } },
"splash": { "type": "string" }, "verification_level": { "type": "integer" },
"description": { "type": "string" }, "default_message_notifications": { "type": "integer" },
"features": { "type": "array", "items": { "type": "string" } }, "system_channel_flags": { "type": "integer" },
"verification_level": { "type": "integer" }, "explicit_content_filter": { "type": "integer" },
"default_message_notifications": { "type": "integer" }, "public_updates_channel_id": { "type": "string" },
"system_channel_flags": { "type": "integer" }, "afk_timeout": { "type": "integer" },
"explicit_content_filter": { "type": "integer" }, "afk_channel_id": { "type": "string" },
"public_updates_channel_id": { "type": "string" }, "preferred_locale": { "type": "string" },
"afk_timeout": { "type": "integer" }, "name": { "type": "string" },
"afk_channel_id": { "type": "string" }, "region": { "type": "string" },
"preferred_locale": { "type": "string" }, "icon": { "type": "string" },
"name": { "type": "string" }, "guild_template_code": { "type": "string" },
"region": { "type": "string" }, "system_channel_id": { "type": "string" },
"icon": { "type": "string" }, "rules_channel_id": { "type": "string" }
"guild_template_code": { "type": "string" },
"system_channel_id": { "type": "string" },
"rules_channel_id": { "type": "string" }
},
"required": ["name"]
}
}
}, },
"description": "" "required": ["name"]
}, },
"GuildTemplateCreateSchema": { "GuildTemplateCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": { "name": { "type": "string" }, "avatar": { "type": "string" } },
"schema": { "required": ["name"]
"type": "object",
"properties": { "name": { "type": "string" }, "avatar": { "type": "string" } },
"required": ["name"]
}
}
},
"description": ""
}, },
"GuildUpdateWelcomeScreenSchema": { "GuildUpdateWelcomeScreenSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "welcome_channels": {
"type": "array",
"items": {
"type": "object", "type": "object",
"properties": { "properties": {
"welcome_channels": { "channel_id": { "type": "string" },
"type": "array", "description": { "type": "string" },
"items": { "emoji_id": { "type": "string" },
"type": "object", "emoji_name": { "type": "string" }
"properties": { },
"channel_id": { "type": "string" }, "additionalProperties": false,
"description": { "type": "string" }, "required": ["channel_id", "description", "emoji_name"]
"emoji_id": { "type": "string" },
"emoji_name": { "type": "string" }
},
"additionalProperties": false,
"required": ["channel_id", "description", "emoji_name"]
}
},
"enabled": { "type": "boolean" },
"description": { "type": "string" }
}
} }
} },
}, "enabled": { "type": "boolean" },
"description": "" "description": { "type": "string" }
}
}, },
"Number": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "" },
"Boolean": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "" },
"InviteCreateSchema": { "InviteCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "target_user_id": { "type": "string" },
"type": "object", "target_type": { "type": "string" },
"properties": { "validate": { "type": "string" },
"target_user_id": { "type": "string" }, "max_age": { "type": "integer" },
"target_type": { "type": "string" }, "max_uses": { "type": "integer" },
"validate": { "type": "string" }, "temporary": { "type": "boolean" },
"max_age": { "type": "integer" }, "unique": { "type": "boolean" },
"max_uses": { "type": "integer" }, "target_user": { "type": "string" },
"temporary": { "type": "boolean" }, "target_user_type": { "type": "integer" }
"unique": { "type": "boolean" }, }
"target_user": { "type": "string" },
"target_user_type": { "type": "integer" }
}
}
}
},
"description": ""
}, },
"MemberCreateSchema": { "MemberCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "id": { "type": "string" },
"type": "object", "nick": { "type": "string" },
"properties": { "guild_id": { "type": "string" },
"id": { "type": "string" }, "joined_at": { "type": "string", "format": "date-time" }
"nick": { "type": "string" },
"guild_id": { "type": "string" },
"joined_at": { "type": "string", "format": "date-time" }
},
"required": ["guild_id", "id", "joined_at", "nick"]
}
}
}, },
"description": "" "required": ["guild_id", "id", "joined_at", "nick"]
},
"MemberNickChangeSchema": {
"content": {
"application/json": {
"schema": { "type": "object", "properties": { "nick": { "type": "string" } }, "required": ["nick"] }
}
},
"description": ""
},
"MemberChangeSchema": {
"content": {
"application/json": {
"schema": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string" } } } }
}
},
"description": ""
},
"EmbedType": {
"content": {
"application/json": { "schema": { "enum": ["article", "gifv", "image", "link", "rich", "video"], "type": "string" } }
},
"description": ""
},
"EmbedImage": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"url": { "type": "string" },
"proxy_url": { "type": "string" },
"height": { "type": "integer" },
"width": { "type": "integer" }
}
}
}
},
"description": ""
}, },
"MemberNickChangeSchema": { "type": "object", "properties": { "nick": { "type": "string" } }, "required": ["nick"] },
"MemberChangeSchema": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string" } } } },
"MessageCreateSchema": { "MessageCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "content": { "type": "string" },
"type": "object", "nonce": { "type": "string" },
"properties": { "tts": { "type": "boolean" },
"content": { "type": "string" }, "flags": { "type": "string" },
"nonce": { "type": "string" }, "embed": {
"tts": { "type": "boolean" }, "additionalProperties": false,
"flags": { "type": "string" }, "type": "object",
"embed": { "properties": {
"additionalProperties": false, "title": { "type": "string" },
"type": "object", "type": { "$ref": "#/components/requestBodies/EmbedType" },
"properties": { "description": { "type": "string" },
"title": { "type": "string" }, "url": { "type": "string" },
"type": { "$ref": "#/components/requestBodies/EmbedType" }, "timestamp": { "type": "string" },
"description": { "type": "string" }, "color": { "type": "integer" },
"url": { "type": "string" }, "footer": {
"timestamp": { "type": "string" }, "type": "object",
"color": { "type": "integer" }, "properties": {
"footer": { "text": { "type": "string" },
"type": "object", "icon_url": { "type": "string" },
"properties": { "proxy_icon_url": { "type": "string" }
"text": { "type": "string" },
"icon_url": { "type": "string" },
"proxy_icon_url": { "type": "string" }
},
"additionalProperties": false,
"required": ["text"]
},
"image": { "$ref": "#/components/requestBodies/EmbedImage" },
"thumbnail": { "$ref": "#/components/requestBodies/EmbedImage" },
"video": { "$ref": "#/components/requestBodies/EmbedImage" },
"provider": {
"type": "object",
"properties": { "name": { "type": "string" }, "url": { "type": "string" } },
"additionalProperties": false
},
"author": {
"type": "object",
"properties": {
"name": { "type": "string" },
"url": { "type": "string" },
"icon_url": { "type": "string" },
"proxy_icon_url": { "type": "string" }
},
"additionalProperties": false
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"value": { "type": "string" },
"inline": { "type": "boolean" }
},
"additionalProperties": false,
"required": ["name", "value"]
}
}
}
}, },
"allowed_mentions": { "additionalProperties": false,
"type": "object", "required": ["text"]
"properties": { },
"parse": { "type": "array", "items": { "type": "string" } }, "image": { "$ref": "#/components/requestBodies/EmbedImage" },
"roles": { "type": "array", "items": { "type": "string" } }, "thumbnail": { "$ref": "#/components/requestBodies/EmbedImage" },
"users": { "type": "array", "items": { "type": "string" } }, "video": { "$ref": "#/components/requestBodies/EmbedImage" },
"replied_user": { "type": "boolean" } "provider": {
}, "type": "object",
"additionalProperties": false "properties": { "name": { "type": "string" }, "url": { "type": "string" } },
"additionalProperties": false
},
"author": {
"type": "object",
"properties": {
"name": { "type": "string" },
"url": { "type": "string" },
"icon_url": { "type": "string" },
"proxy_icon_url": { "type": "string" }
}, },
"message_reference": { "additionalProperties": false
},
"fields": {
"type": "array",
"items": {
"type": "object", "type": "object",
"properties": { "properties": {
"message_id": { "type": "string" }, "name": { "type": "string" },
"channel_id": { "type": "string" }, "value": { "type": "string" },
"guild_id": { "type": "string" }, "inline": { "type": "boolean" }
"fail_if_not_exists": { "type": "boolean" }
}, },
"additionalProperties": false, "additionalProperties": false,
"required": ["channel_id", "message_id"] "required": ["name", "value"]
}, }
"payload_json": { "type": "string" },
"file": {}
} }
} }
} },
}, "allowed_mentions": {
"description": "" "type": "object",
"properties": {
"parse": { "type": "array", "items": { "type": "string" } },
"roles": { "type": "array", "items": { "type": "string" } },
"users": { "type": "array", "items": { "type": "string" } },
"replied_user": { "type": "boolean" }
},
"additionalProperties": false
},
"message_reference": {
"type": "object",
"properties": {
"message_id": { "type": "string" },
"channel_id": { "type": "string" },
"guild_id": { "type": "string" },
"fail_if_not_exists": { "type": "boolean" }
},
"additionalProperties": false,
"required": ["channel_id", "message_id"]
},
"payload_json": { "type": "string" },
"file": {}
}
}, },
"RoleModifySchema": { "RoleModifySchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "name": { "type": "string" },
"type": "object", "permissions": { "type": "number" },
"properties": { "color": { "type": "integer" },
"name": { "type": "string" }, "hoist": { "type": "boolean" },
"permissions": { "type": "number" }, "mentionable": { "type": "boolean" },
"color": { "type": "integer" }, "position": { "type": "integer" }
"hoist": { "type": "boolean" }, }
"mentionable": { "type": "boolean" },
"position": { "type": "integer" }
}
}
}
},
"description": ""
}, },
"TemplateCreateSchema": { "TemplateCreateSchema": {
"content": { "type": "object",
"application/json": { "properties": { "name": { "type": "string" }, "description": { "type": "string" } },
"schema": { "required": ["name"]
"type": "object",
"properties": { "name": { "type": "string" }, "description": { "type": "string" } },
"required": ["name"]
}
}
},
"description": ""
}, },
"TemplateModifySchema": { "TemplateModifySchema": {
"content": { "type": "object",
"application/json": { "properties": { "name": { "type": "string" }, "description": { "type": "string" } },
"schema": { "required": ["name"]
"type": "object",
"properties": { "name": { "type": "string" }, "description": { "type": "string" } },
"required": ["name"]
}
}
},
"description": ""
}, },
"UserModifySchema": { "UserModifySchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "username": { "type": "string" },
"type": "object", "avatar": { "type": "string" },
"properties": { "bio": { "type": "string" },
"username": { "type": "string" }, "accent_color": { "type": "integer" },
"avatar": { "type": "string" }, "banner": { "type": "string" },
"bio": { "type": "string" }, "password": { "type": "string" },
"accent_color": { "type": "integer" }, "new_password": { "type": "string" },
"banner": { "type": "string" }, "code": { "type": "string" }
"password": { "type": "string" }, }
"new_password": { "type": "string" },
"code": { "type": "string" }
}
}
}
},
"description": ""
}, },
"UserSettingsSchema": { "UserSettingsSchema": {
"content": { "type": "object",
"application/json": { "properties": {
"schema": { "afk_timeout": { "type": "integer" },
"allow_accessibility_detection": { "type": "boolean" },
"animate_emoji": { "type": "boolean" },
"animate_stickers": { "type": "integer" },
"contact_sync_enabled": { "type": "boolean" },
"convert_emoticons": { "type": "boolean" },
"custom_status": {
"type": "object",
"properties": {
"emoji_id": { "type": "string" },
"emoji_name": { "type": "string" },
"expires_at": { "type": "integer" },
"text": { "type": "string" }
},
"additionalProperties": false
},
"default_guilds_restricted": { "type": "boolean" },
"detect_platform_accounts": { "type": "boolean" },
"developer_mode": { "type": "boolean" },
"disable_games_tab": { "type": "boolean" },
"enable_tts_command": { "type": "boolean" },
"explicit_content_filter": { "type": "integer" },
"friend_source_flags": {
"type": "object",
"properties": { "all": { "type": "boolean" } },
"additionalProperties": false,
"required": ["all"]
},
"gateway_connected": { "type": "boolean" },
"gif_auto_play": { "type": "boolean" },
"guild_folders": {
"type": "array",
"items": {
"type": "object", "type": "object",
"properties": { "properties": {
"afk_timeout": { "type": "integer" }, "color": { "type": "integer" },
"allow_accessibility_detection": { "type": "boolean" }, "guild_ids": { "type": "array", "items": { "type": "string" } },
"animate_emoji": { "type": "boolean" }, "id": { "type": "integer" },
"animate_stickers": { "type": "integer" }, "name": { "type": "string" }
"contact_sync_enabled": { "type": "boolean" },
"convert_emoticons": { "type": "boolean" },
"custom_status": {
"type": "object",
"properties": {
"emoji_id": { "type": "string" },
"emoji_name": { "type": "string" },
"expires_at": { "type": "integer" },
"text": { "type": "string" }
},
"additionalProperties": false
},
"default_guilds_restricted": { "type": "boolean" },
"detect_platform_accounts": { "type": "boolean" },
"developer_mode": { "type": "boolean" },
"disable_games_tab": { "type": "boolean" },
"enable_tts_command": { "type": "boolean" },
"explicit_content_filter": { "type": "integer" },
"friend_source_flags": {
"type": "object",
"properties": { "all": { "type": "boolean" } },
"additionalProperties": false,
"required": ["all"]
},
"gateway_connected": { "type": "boolean" },
"gif_auto_play": { "type": "boolean" },
"guild_folders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"color": { "type": "integer" },
"guild_ids": { "type": "array", "items": { "type": "string" } },
"id": { "type": "integer" },
"name": { "type": "string" }
},
"additionalProperties": false,
"required": ["color", "guild_ids", "id", "name"]
}
},
"guild_positions": { "type": "array", "items": { "type": "string" } },
"inline_attachment_media": { "type": "boolean" },
"inline_embed_media": { "type": "boolean" },
"locale": { "type": "string" },
"message_display_compact": { "type": "boolean" },
"native_phone_integration_enabled": { "type": "boolean" },
"render_embeds": { "type": "boolean" },
"render_reactions": { "type": "boolean" },
"restricted_guilds": { "type": "array", "items": { "type": "string" } },
"show_current_game": { "type": "boolean" },
"status": { "enum": ["dnd", "idle", "offline", "online"], "type": "string" },
"stream_notifications_enabled": { "type": "boolean" },
"theme": { "enum": ["dark", "white"], "type": "string" },
"timezone_offset": { "type": "integer" }
}, },
"required": [ "additionalProperties": false,
"afk_timeout", "required": ["color", "guild_ids", "id", "name"]
"allow_accessibility_detection",
"animate_emoji",
"animate_stickers",
"contact_sync_enabled",
"convert_emoticons",
"custom_status",
"default_guilds_restricted",
"detect_platform_accounts",
"developer_mode",
"disable_games_tab",
"enable_tts_command",
"explicit_content_filter",
"friend_source_flags",
"gateway_connected",
"gif_auto_play",
"guild_folders",
"guild_positions",
"inline_attachment_media",
"inline_embed_media",
"locale",
"message_display_compact",
"native_phone_integration_enabled",
"render_embeds",
"render_reactions",
"restricted_guilds",
"show_current_game",
"status",
"stream_notifications_enabled",
"theme",
"timezone_offset"
]
} }
} },
"guild_positions": { "type": "array", "items": { "type": "string" } },
"inline_attachment_media": { "type": "boolean" },
"inline_embed_media": { "type": "boolean" },
"locale": { "type": "string" },
"message_display_compact": { "type": "boolean" },
"native_phone_integration_enabled": { "type": "boolean" },
"render_embeds": { "type": "boolean" },
"render_reactions": { "type": "boolean" },
"restricted_guilds": { "type": "array", "items": { "type": "string" } },
"show_current_game": { "type": "boolean" },
"status": { "enum": ["dnd", "idle", "offline", "online"], "type": "string" },
"stream_notifications_enabled": { "type": "boolean" },
"theme": { "enum": ["dark", "white"], "type": "string" },
"timezone_offset": { "type": "integer" }
}, },
"description": "" "required": [
"afk_timeout",
"allow_accessibility_detection",
"animate_emoji",
"animate_stickers",
"contact_sync_enabled",
"convert_emoticons",
"custom_status",
"default_guilds_restricted",
"detect_platform_accounts",
"developer_mode",
"disable_games_tab",
"enable_tts_command",
"explicit_content_filter",
"friend_source_flags",
"gateway_connected",
"gif_auto_play",
"guild_folders",
"guild_positions",
"inline_attachment_media",
"inline_embed_media",
"locale",
"message_display_compact",
"native_phone_integration_enabled",
"render_embeds",
"render_reactions",
"restricted_guilds",
"show_current_game",
"status",
"stream_notifications_enabled",
"theme",
"timezone_offset"
]
}, },
"WidgetModifySchema": { "WidgetModifySchema": {
"content": { "type": "object",
"application/json": { "properties": { "enabled": { "type": "boolean" }, "channel_id": { "type": "string" } },
"schema": { "required": ["channel_id", "enabled"]
"type": "object",
"properties": { "enabled": { "type": "boolean" }, "channel_id": { "type": "string" } },
"required": ["channel_id", "enabled"]
}
}
},
"description": ""
} }
}, },
"requestBodies": {},
"securitySchemes": {}, "securitySchemes": {},
"links": {}, "links": {},
"callbacks": {} "callbacks": {}

19
api/package-lock.json generated
View File

@ -7,6 +7,7 @@
"": { "": {
"name": "@fosscord/api", "name": "@fosscord/api",
"version": "1.0.0", "version": "1.0.0",
"hasInstallScript": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@fosscord/util": "file:../util", "@fosscord/util": "file:../util",
@ -29,7 +30,7 @@
"i18next-node-fs-backend": "^2.1.3", "i18next-node-fs-backend": "^2.1.3",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.11", "missing-native-js-functions": "^1.2.15",
"mongoose": "^5.12.3", "mongoose": "^5.12.3",
"mongoose-autopopulate": "^0.12.3", "mongoose-autopopulate": "^0.12.3",
"mongoose-long": "^0.3.2", "mongoose-long": "^0.3.2",
@ -78,7 +79,7 @@
"env-paths": "^2.2.1", "env-paths": "^2.2.1",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.13", "missing-native-js-functions": "^1.2.14",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",
@ -7421,9 +7422,9 @@
} }
}, },
"node_modules/missing-native-js-functions": { "node_modules/missing-native-js-functions": {
"version": "1.2.11", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.11.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-U97IscNBL4Wg9adYjEBT46Hb0Ld5dPT8vbdwFX+TNzGrFQCc4WqoGAZouaLNFwUqxzzHZ9DVg59unwnQyeIIQg==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"node_modules/mixin-deep": { "node_modules/mixin-deep": {
"version": "1.3.2", "version": "1.3.2",
@ -12976,7 +12977,7 @@
"jest": "^27.0.6", "jest": "^27.0.6",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.13", "missing-native-js-functions": "^1.2.14",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",
@ -18555,9 +18556,9 @@
} }
}, },
"missing-native-js-functions": { "missing-native-js-functions": {
"version": "1.2.11", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.11.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-U97IscNBL4Wg9adYjEBT46Hb0Ld5dPT8vbdwFX+TNzGrFQCc4WqoGAZouaLNFwUqxzzHZ9DVg59unwnQyeIIQg==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"mixin-deep": { "mixin-deep": {
"version": "1.3.2", "version": "1.3.2",

View File

@ -78,7 +78,7 @@
"i18next-node-fs-backend": "^2.1.3", "i18next-node-fs-backend": "^2.1.3",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.11", "missing-native-js-functions": "^1.2.15",
"mongoose": "^5.12.3", "mongoose": "^5.12.3",
"mongoose-autopopulate": "^0.12.3", "mongoose-autopopulate": "^0.12.3",
"mongoose-long": "^0.3.2", "mongoose-long": "^0.3.2",

View File

@ -19,41 +19,14 @@ const compilerOptions: TJS.CompilerOptions = {
const openapiPath = path.join(__dirname, "..", "assets", "openapi.json"); const openapiPath = path.join(__dirname, "..", "assets", "openapi.json");
var specification = JSON.parse(fs.readFileSync(openapiPath, { encoding: "utf8" })); var specification = JSON.parse(fs.readFileSync(openapiPath, { encoding: "utf8" }));
async function generateSchemas() { async function utilSchemas() {
const program = TJS.getProgramFromFiles([path.join(__dirname, "..", "..", "util", "src", "index.ts")], compilerOptions); const program = TJS.getProgramFromFiles([path.join(__dirname, "..", "..", "util", "src", "index.ts")], compilerOptions);
const generator = TJS.buildGenerator(program, settings); const generator = TJS.buildGenerator(program, settings);
const schemas = [ const schemas = ["UserPublic", "UserPrivate", "PublicConnectedAccount"];
"Application",
"Attachment",
"Message",
"AuditLog",
"Ban",
"Channel",
"Emoji",
"Guild",
"Invite",
"ReadState",
"Recipient",
"Relationship",
"Role",
"Sticker",
"Team",
"TeamMember",
"Template",
"VoiceState",
"Webhook",
"User",
"UserPublic"
];
// @ts-ignore // @ts-ignore
const definitions = combineSchemas({ schemas, generator, program }); combineSchemas({ schemas, generator, program });
for (const key in definitions) {
specification.components.schemas[key] = definitions[key];
delete definitions[key].additionalProperties;
}
} }
function combineSchemas(opts: { program: TJS.Program; generator: TJS.JsonSchemaGenerator; schemas: string[] }) { function combineSchemas(opts: { program: TJS.Program; generator: TJS.JsonSchemaGenerator; schemas: string[] }) {
@ -63,13 +36,19 @@ function combineSchemas(opts: { program: TJS.Program; generator: TJS.JsonSchemaG
const part = TJS.generateSchema(opts.program, name, settings, [], opts.generator as TJS.JsonSchemaGenerator); const part = TJS.generateSchema(opts.program, name, settings, [], opts.generator as TJS.JsonSchemaGenerator);
if (!part) continue; if (!part) continue;
definitions = { ...definitions, ...part.definitions, [name]: { ...part, definitions: undefined, $schema: undefined } }; definitions = { ...definitions, [name]: { ...part, definitions: undefined, $schema: undefined } };
}
for (const key in definitions) {
specification.components.schemas[key] = definitions[key];
delete definitions[key].additionalProperties;
delete definitions[key].$schema;
} }
return definitions; return definitions;
} }
function generateBodies() { function apiSchemas() {
const program = TJS.getProgramFromFiles([path.join(__dirname, "..", "src", "schema", "index.ts")], compilerOptions); const program = TJS.getProgramFromFiles([path.join(__dirname, "..", "src", "schema", "index.ts")], compilerOptions);
const generator = TJS.buildGenerator(program, settings); const generator = TJS.buildGenerator(program, settings);
@ -94,97 +73,26 @@ function generateBodies() {
"TemplateModifySchema", "TemplateModifySchema",
"UserModifySchema", "UserModifySchema",
"UserSettingsSchema", "UserSettingsSchema",
"WidgetModifySchema" "WidgetModifySchema",
""
]; ];
// @ts-ignore // @ts-ignore
const definitions = combineSchemas({ schemas, generator, program }); combineSchemas({ schemas, generator, program });
for (const key in definitions) {
specification.components.requestBodies[key] = {
content: {
"application/json": { schema: definitions[key] }
},
description: ""
};
delete definitions[key].additionalProperties;
delete definitions[key].$schema;
}
} }
function addDefaultResponses() { function addDefaultResponses() {
Object.values(specification.paths).forEach((path: any) => Object.values(specification.paths).forEach((path: any) => Object.values(path).forEach((request: any) => {}));
Object.values(path).forEach((request: any) => {
if (!request.responses?.["401"]) {
request.responses["401"] = {
description: "Unauthorized",
content: { "application/json": { schema: { $ref: "#/components/schemas/Error" } } }
};
}
if (!request.responses?.["429"]) {
request.responses["429"] = {
description: "Rate limit exceeded",
content: { "application/json": { schema: { $ref: "#/components/schemas/Error" } } },
headers: {
"X-RateLimit-Bucket": {
description:
"A unique string denoting the rate limit being encountered (non-inclusive of major parameters in the route path)",
schema: { type: "string" }
},
"X-Rate-Limit-Limit": {
description: "The number of allowed requests in the current period",
schema: {
type: "integer"
}
},
"X-Rate-Limit-Remaining": {
description: "The number of remaining requests in the current period",
schema: {
type: "integer"
}
},
"X-Rate-Limit-Reset": {
description: "Date when current period is over in seconds since the Unix epoch",
schema: {
type: "integer"
}
},
"X-Rate-Limit-Reset-After": {
description: "Number of seconds when current period will reset (can have decimal)",
schema: {
type: "number"
}
},
"Retry-After": {
description: "Same as X-Rate-Limit-Reset-After but an integer",
schema: {
type: "integer"
}
},
"X-RateLimit-Global": {
description: "Indicates whether or not all requests from your ip are rate limited",
schema: {
type: "boolean"
}
}
}
};
}
})
);
} }
function main() { function main() {
addDefaultResponses(); addDefaultResponses();
generateSchemas(); utilSchemas();
specification = JSON.parse(JSON.stringify(specification).replaceAll("#/definitions", "#/components/schemas")); apiSchemas();
generateBodies();
fs.writeFileSync( fs.writeFileSync(
openapiPath, openapiPath,
JSON.stringify(specification, null, 4).replaceAll("#/definitions", "#/components/requestBodies").replaceAll("bigint", "number") JSON.stringify(specification, null, 4).replaceAll("#/definitions", "#/components/schemas").replaceAll("bigint", "number")
); );
} }

1389
bundle/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -51,7 +51,7 @@
"@fosscord/util": "file:../util", "@fosscord/util": "file:../util",
"async-exit-hook": "^2.0.1", "async-exit-hook": "^2.0.1",
"express": "^4.17.1", "express": "^4.17.1",
"missing-native-js-functions": "^1.2.13", "missing-native-js-functions": "^1.2.15",
"node-os-utils": "^1.3.5" "node-os-utils": "^1.3.5"
} }
} }

18
cdn/package-lock.json generated
View File

@ -23,7 +23,7 @@
"jest": "^27.0.6", "jest": "^27.0.6",
"lambert-db": "^1.2.3", "lambert-db": "^1.2.3",
"lambert-server": "^1.2.8", "lambert-server": "^1.2.8",
"missing-native-js-functions": "^1.2.10", "missing-native-js-functions": "^1.2.15",
"multer": "^1.4.2", "multer": "^1.4.2",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"supertest": "^6.1.6", "supertest": "^6.1.6",
@ -60,7 +60,7 @@
"env-paths": "^2.2.1", "env-paths": "^2.2.1",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.11", "missing-native-js-functions": "^1.2.15",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",
@ -3977,9 +3977,9 @@
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
}, },
"node_modules/missing-native-js-functions": { "node_modules/missing-native-js-functions": {
"version": "1.2.10", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.10.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-sq+oAw/C3OtUyKopLNOf/+U85YNx7db6fy5nVfGVKlGdcV8tX24GjOSkcZeCAnAIjMEnlQBWTr17JXa3OJj22g==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"node_modules/mkdirp": { "node_modules/mkdirp": {
"version": "0.5.5", "version": "0.5.5",
@ -5980,7 +5980,7 @@
"jest": "^27.0.6", "jest": "^27.0.6",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.11", "missing-native-js-functions": "^1.2.15",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",
@ -8561,9 +8561,9 @@
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
}, },
"missing-native-js-functions": { "missing-native-js-functions": {
"version": "1.2.10", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.10.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-sq+oAw/C3OtUyKopLNOf/+U85YNx7db6fy5nVfGVKlGdcV8tX24GjOSkcZeCAnAIjMEnlQBWTr17JXa3OJj22g==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"mkdirp": { "mkdirp": {
"version": "0.5.5", "version": "0.5.5",

View File

@ -51,7 +51,7 @@
"jest": "^27.0.6", "jest": "^27.0.6",
"lambert-db": "^1.2.3", "lambert-db": "^1.2.3",
"lambert-server": "^1.2.8", "lambert-server": "^1.2.8",
"missing-native-js-functions": "^1.2.10", "missing-native-js-functions": "^1.2.15",
"multer": "^1.4.2", "multer": "^1.4.2",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"supertest": "^6.1.6", "supertest": "^6.1.6",

View File

@ -15,7 +15,7 @@
"dotenv": "^8.2.0", "dotenv": "^8.2.0",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.8", "lambert-server": "^1.2.8",
"missing-native-js-functions": "^1.2.10", "missing-native-js-functions": "^1.2.15",
"mongoose-autopopulate": "^0.12.3", "mongoose-autopopulate": "^0.12.3",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"uuid": "^8.3.2", "uuid": "^8.3.2",
@ -48,7 +48,7 @@
"env-paths": "^2.2.1", "env-paths": "^2.2.1",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.11", "missing-native-js-functions": "^1.2.14",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",
@ -1144,9 +1144,9 @@
"dev": true "dev": true
}, },
"node_modules/missing-native-js-functions": { "node_modules/missing-native-js-functions": {
"version": "1.2.10", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.10.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-sq+oAw/C3OtUyKopLNOf/+U85YNx7db6fy5nVfGVKlGdcV8tX24GjOSkcZeCAnAIjMEnlQBWTr17JXa3OJj22g==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"node_modules/mkdirp": { "node_modules/mkdirp": {
"version": "1.0.4", "version": "1.0.4",
@ -1942,7 +1942,7 @@
"jest": "^27.0.6", "jest": "^27.0.6",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.11", "missing-native-js-functions": "^1.2.14",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",
@ -2858,9 +2858,9 @@
"dev": true "dev": true
}, },
"missing-native-js-functions": { "missing-native-js-functions": {
"version": "1.2.10", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.10.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-sq+oAw/C3OtUyKopLNOf/+U85YNx7db6fy5nVfGVKlGdcV8tX24GjOSkcZeCAnAIjMEnlQBWTr17JXa3OJj22g==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"mkdirp": { "mkdirp": {
"version": "1.0.4", "version": "1.0.4",

View File

@ -32,7 +32,7 @@
"dotenv": "^8.2.0", "dotenv": "^8.2.0",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.8", "lambert-server": "^1.2.8",
"missing-native-js-functions": "^1.2.10", "missing-native-js-functions": "^1.2.15",
"mongoose-autopopulate": "^0.12.3", "mongoose-autopopulate": "^0.12.3",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"uuid": "^8.3.2", "uuid": "^8.3.2",

14
util/package-lock.json generated
View File

@ -17,7 +17,7 @@
"env-paths": "^2.2.1", "env-paths": "^2.2.1",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.13", "missing-native-js-functions": "^1.2.15",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",
@ -6338,9 +6338,9 @@
} }
}, },
"node_modules/missing-native-js-functions": { "node_modules/missing-native-js-functions": {
"version": "1.2.13", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.13.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-1RAArfUkrGkj5N3xJVW251F2PvfP2ozAcxsLLDR6uiiAixTP5Abh8zzGMadepbqgiHC0FGlTSAUNbh9abN4Osg==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"node_modules/mkdirp": { "node_modules/mkdirp": {
"version": "1.0.4", "version": "1.0.4",
@ -13735,9 +13735,9 @@
} }
}, },
"missing-native-js-functions": { "missing-native-js-functions": {
"version": "1.2.13", "version": "1.2.15",
"resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.13.tgz", "resolved": "https://registry.npmjs.org/missing-native-js-functions/-/missing-native-js-functions-1.2.15.tgz",
"integrity": "sha512-1RAArfUkrGkj5N3xJVW251F2PvfP2ozAcxsLLDR6uiiAixTP5Abh8zzGMadepbqgiHC0FGlTSAUNbh9abN4Osg==" "integrity": "sha512-NNsxPSHnG22xellXsdGkzmF/SSzYNRgZcWQt2OKG+I3Wv8p37kTax13trTMthVkEOhvNv8M2l4A4JwK1p42ZHg=="
}, },
"mkdirp": { "mkdirp": {
"version": "1.0.4", "version": "1.0.4",

View File

@ -44,7 +44,7 @@
"env-paths": "^2.2.1", "env-paths": "^2.2.1",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.10", "lambert-server": "^1.2.10",
"missing-native-js-functions": "^1.2.13", "missing-native-js-functions": "^1.2.15",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"pg": "^8.7.1", "pg": "^8.7.1",