lemmy-js-client 0.17.0-rc.60 → 0.17.0-rc.61
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ListingType, ModlogActionType, SearchType, SortType } from "../others";
|
2
|
-
import { Language, Tagline } from "../source";
|
2
|
+
import { Language, RegistrationMode, Tagline } from "../source";
|
3
3
|
import { AdminPurgeCommentView, AdminPurgeCommunityView, AdminPurgePersonView, AdminPurgePostView, CommentView, CommunityBlockView, CommunityFollowerView, CommunityModeratorView, CommunityView, LocalUserSettingsView, ModAddCommunityView, ModAddView, ModBanFromCommunityView, ModBanView, ModFeaturePostView, ModLockPostView, ModRemoveCommentView, ModRemoveCommunityView, ModRemovePostView, ModTransferCommunityView, PersonBlockView, PersonViewSafe, PostView, RegistrationApplicationView, SiteView } from "../views";
|
4
4
|
/**
|
5
5
|
* Search lemmy for different types of data.
|
@@ -61,11 +61,10 @@ export interface CreateSite {
|
|
61
61
|
icon?: string;
|
62
62
|
banner?: string;
|
63
63
|
enable_downvotes?: boolean;
|
64
|
-
open_registration?: boolean;
|
65
64
|
enable_nsfw?: boolean;
|
66
65
|
community_creation_admin_only?: boolean;
|
67
66
|
require_email_verification?: boolean;
|
68
|
-
|
67
|
+
registration_mode?: RegistrationMode;
|
69
68
|
application_question?: string;
|
70
69
|
private_instance?: boolean;
|
71
70
|
default_theme?: string;
|
@@ -105,11 +104,10 @@ export interface EditSite {
|
|
105
104
|
icon?: string;
|
106
105
|
banner?: string;
|
107
106
|
enable_downvotes?: boolean;
|
108
|
-
open_registration?: boolean;
|
109
107
|
enable_nsfw?: boolean;
|
110
108
|
community_creation_admin_only?: boolean;
|
111
109
|
require_email_verification?: boolean;
|
112
|
-
|
110
|
+
registration_mode?: RegistrationMode;
|
113
111
|
application_question?: string;
|
114
112
|
private_instance?: boolean;
|
115
113
|
default_theme?: string;
|
package/package.json
CHANGED