lemmy-js-client 0.20.0-api-no-optional-vec.0 → 0.20.0-api-no-optional-vec.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/CreateCommunity.d.ts +1 -1
- package/dist/types/CreatePost.d.ts +1 -1
- package/dist/types/CreateSite.d.ts +1 -1
- package/dist/types/EditCommunity.d.ts +1 -1
- package/dist/types/EditPost.d.ts +1 -1
- package/dist/types/EditSite.d.ts +2 -2
- package/dist/types/SaveUserSettings.d.ts +1 -1
- package/package.json +1 -1
|
@@ -36,6 +36,6 @@ export type CreateCommunity = {
|
|
|
36
36
|
* Whether to restrict posting only to moderators.
|
|
37
37
|
*/
|
|
38
38
|
posting_restricted_to_mods?: boolean;
|
|
39
|
-
discussion_languages
|
|
39
|
+
discussion_languages?: Array<LanguageId>;
|
|
40
40
|
visibility?: CommunityVisibility;
|
|
41
41
|
};
|
|
@@ -25,7 +25,7 @@ export type CreateSite = {
|
|
|
25
25
|
legal_information?: string;
|
|
26
26
|
application_email_admins?: boolean;
|
|
27
27
|
hide_modlog_mod_names?: boolean;
|
|
28
|
-
discussion_languages
|
|
28
|
+
discussion_languages?: Array<LanguageId>;
|
|
29
29
|
slur_filter_regex?: string;
|
|
30
30
|
actor_name_max_length?: number;
|
|
31
31
|
rate_limit_message?: number;
|
package/dist/types/EditPost.d.ts
CHANGED
package/dist/types/EditSite.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export type EditSite = {
|
|
|
73
73
|
/**
|
|
74
74
|
* A list of allowed discussion languages.
|
|
75
75
|
*/
|
|
76
|
-
discussion_languages
|
|
76
|
+
discussion_languages?: Array<LanguageId>;
|
|
77
77
|
/**
|
|
78
78
|
* A regex string of items to filter.
|
|
79
79
|
*/
|
|
@@ -127,7 +127,7 @@ export type EditSite = {
|
|
|
127
127
|
/**
|
|
128
128
|
* A list of blocked URLs
|
|
129
129
|
*/
|
|
130
|
-
blocked_urls
|
|
130
|
+
blocked_urls?: Array<string>;
|
|
131
131
|
registration_mode?: RegistrationMode;
|
|
132
132
|
/**
|
|
133
133
|
* Whether to email admins for new reports.
|
package/package.json
CHANGED