1
0

upd: megalodon to v7

This commit is contained in:
Mar0xy
2023-09-24 01:44:53 +02:00
parent b4674ce65c
commit afda15260f
234 changed files with 21334 additions and 7675 deletions
@@ -0,0 +1,46 @@
/// <reference path="account.ts" />
/// <reference path="urls.ts" />
/// <reference path="stats.ts" />
namespace PleromaEntity {
export type Instance = {
uri: string
title: string
description: string
email: string
version: string
thumbnail: string | null
urls: URLs
stats: Stats
languages: Array<string>
registrations: boolean
approval_required: boolean
max_toot_chars: number
max_media_attachments?: number
pleroma: {
metadata: {
account_activation_required: boolean
birthday_min_age: number
birthday_required: boolean
features: Array<string>
federation: {
enabled: boolean
exclusions: boolean
}
fields_limits: {
max_fields: number
max_remote_fields: number
name_length: number
value_length: number
}
post_formats: Array<string>
}
}
poll_limits: {
max_expiration: number
min_expiration: number
max_option_chars: number
max_options: number
}
}
}