1
0
Files
pawkey-sk/packages/megalodon/src/pleroma/entities/instance.ts
T
2023-09-24 01:44:53 +02:00

47 lines
1.1 KiB
TypeScript

/// <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
}
}
}