2024-11-20 12:39:17 +00:00
|
|
|
// Code generated by cmd/RolesApiTypeGenerator DO NOT EDIT.
|
|
|
|
// If you need to refresh the content, run go generate again
|
|
|
|
import Model, { attr } from '@ember-data/model';
|
|
|
|
|
2024-11-20 15:11:11 +00:00
|
|
|
export default class Role extends Model {
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare createdAt: Date
|
|
|
|
@attr() declare updatedAt: Date
|
|
|
|
@attr() declare name: string
|
|
|
|
@attr() declare priority: number
|
|
|
|
@attr() declare isUserRole: boolean
|
|
|
|
@attr() declare isBuiltIn: boolean
|
|
|
|
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare canSendCustomReactions?: boolean
|
|
|
|
@attr() declare autoCwPostsText?: string
|
|
|
|
@attr() declare withholdNotesRegexes?: Array<string>
|
|
|
|
@attr() declare canAssignRoles?: boolean
|
|
|
|
@attr() declare canSupressInteractionsBetweenUsers?: boolean
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare canSendCustomEmotes?: boolean
|
|
|
|
@attr() declare canOverwriteDisplayNames?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare canManageCustomEmotes?: boolean
|
|
|
|
@attr() declare canDeleteNotes?: boolean
|
|
|
|
@attr() declare canManageAvatarDecorations?: boolean
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare canManageAds?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare blockedUsers?: Array<string>
|
|
|
|
@attr() declare hasMentionCountLimit?: boolean
|
|
|
|
@attr() declare disallowInteractionsWith?: Array<string>
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare withholdNotesBasedOnRegex?: boolean
|
|
|
|
@attr() declare fullAdmin?: boolean
|
|
|
|
@attr() declare canSendAnnouncements?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare autoNsfwMedia?: boolean
|
|
|
|
@attr() declare scanCreatedPublicNotes?: boolean
|
|
|
|
@attr() declare scanCreatedPrivateNotes?: boolean
|
|
|
|
@attr() declare canSendFollowerOnlyNotes?: boolean
|
|
|
|
@attr() declare canSendPrivateNotes?: boolean
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare canIncludeSurvey?: boolean
|
|
|
|
@attr() declare canChangeDisplayName?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare canLogin?: boolean
|
|
|
|
@attr() declare canAffectOtherAdmins?: boolean
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare autoCwPosts?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare scanCreatedFollowerOnlyNotes?: boolean
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare canViewDeletedNotes?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare mentionLimit?: number
|
|
|
|
@attr() declare withholdNotesForManualApproval?: boolean
|
|
|
|
@attr() declare canConfirmWithheldNotes?: boolean
|
|
|
|
@attr() declare canSendMedia?: boolean
|
|
|
|
@attr() declare canSendPublicNotes?: boolean
|
|
|
|
@attr() declare canSendReplies?: boolean
|
|
|
|
@attr() declare canQuote?: boolean
|
|
|
|
@attr() declare canIncludeLinks?: boolean
|
|
|
|
@attr() declare canRecoverDeletedNotes?: boolean
|
|
|
|
@attr() declare canMentionOthers?: boolean
|
|
|
|
@attr() declare scanCreatedLocalNotes?: boolean
|
|
|
|
@attr() declare canSendLocalNotes?: boolean
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare canBoost?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
@attr() declare canFederateFedi?: boolean
|
|
|
|
@attr() declare canFederateBsky?: boolean
|
2024-11-20 12:39:17 +00:00
|
|
|
@attr() declare canSubmitReports?: boolean
|
2024-11-20 15:11:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'ember-data/types/registries/model' {
|
|
|
|
export default interface ModelRegistry {
|
|
|
|
role: Role
|
|
|
|
}
|
2024-11-20 12:39:17 +00:00
|
|
|
}
|