lemmy-js-client 0.19.0-rc.7 → 0.19.0-rc.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/dist/http.d.ts +8 -16
  2. package/dist/http.js +19 -27
  3. package/dist/index.d.ts +2 -19
  4. package/dist/types/AddAdmin.d.ts +0 -1
  5. package/dist/types/AddModToCommunity.d.ts +0 -1
  6. package/dist/types/ApproveRegistrationApplication.d.ts +0 -1
  7. package/dist/types/BanFromCommunity.d.ts +0 -1
  8. package/dist/types/BanPerson.d.ts +0 -1
  9. package/dist/types/BlockCommunity.d.ts +0 -1
  10. package/dist/types/BlockPerson.d.ts +0 -1
  11. package/dist/types/ChangePassword.d.ts +0 -1
  12. package/dist/types/CreateComment.d.ts +0 -1
  13. package/dist/types/CreateCommentLike.d.ts +0 -1
  14. package/dist/types/CreateCommentReport.d.ts +0 -1
  15. package/dist/types/CreateCommunity.d.ts +0 -1
  16. package/dist/types/CreateCustomEmoji.d.ts +0 -1
  17. package/dist/types/CreatePost.d.ts +0 -1
  18. package/dist/types/CreatePostLike.d.ts +0 -1
  19. package/dist/types/CreatePostReport.d.ts +0 -1
  20. package/dist/types/CreatePrivateMessage.d.ts +0 -1
  21. package/dist/types/CreatePrivateMessageReport.d.ts +0 -1
  22. package/dist/types/CreateSite.d.ts +0 -1
  23. package/dist/types/DeleteAccount.d.ts +0 -1
  24. package/dist/types/DeleteComment.d.ts +0 -1
  25. package/dist/types/DeleteCommunity.d.ts +0 -1
  26. package/dist/types/DeleteCustomEmoji.d.ts +0 -1
  27. package/dist/types/DeletePost.d.ts +0 -1
  28. package/dist/types/DeletePrivateMessage.d.ts +0 -1
  29. package/dist/types/DistinguishComment.d.ts +0 -1
  30. package/dist/types/EditComment.d.ts +0 -1
  31. package/dist/types/EditCommunity.d.ts +0 -1
  32. package/dist/types/EditCustomEmoji.d.ts +0 -1
  33. package/dist/types/EditPost.d.ts +0 -1
  34. package/dist/types/EditPrivateMessage.d.ts +0 -1
  35. package/dist/types/EditSite.d.ts +0 -1
  36. package/dist/types/FeaturePost.d.ts +0 -1
  37. package/dist/types/FollowCommunity.d.ts +0 -1
  38. package/dist/types/GetComment.d.ts +0 -1
  39. package/dist/types/GetComments.d.ts +0 -1
  40. package/dist/types/GetCommunity.d.ts +0 -1
  41. package/dist/types/GetModlog.d.ts +0 -1
  42. package/dist/types/GetPersonDetails.d.ts +0 -1
  43. package/dist/types/GetPersonMentions.d.ts +0 -1
  44. package/dist/types/GetPost.d.ts +0 -1
  45. package/dist/types/GetPosts.d.ts +0 -1
  46. package/dist/types/GetPrivateMessages.d.ts +0 -1
  47. package/dist/types/GetReplies.d.ts +0 -1
  48. package/dist/types/GetReportCount.d.ts +0 -1
  49. package/dist/types/HideCommunity.d.ts +0 -1
  50. package/dist/types/ImageUpload.d.ts +9 -0
  51. package/dist/types/ImageUploadId.d.ts +1 -0
  52. package/dist/types/ListCommentReports.d.ts +0 -1
  53. package/dist/types/ListCommunities.d.ts +0 -1
  54. package/dist/types/ListPostReports.d.ts +0 -1
  55. package/dist/types/ListPrivateMessageReports.d.ts +0 -1
  56. package/dist/types/ListRegistrationApplications.d.ts +0 -1
  57. package/dist/types/LockPost.d.ts +0 -1
  58. package/dist/types/MarkCommentReplyAsRead.d.ts +0 -1
  59. package/dist/types/MarkPersonMentionAsRead.d.ts +0 -1
  60. package/dist/types/MarkPostAsRead.d.ts +0 -1
  61. package/dist/types/MarkPrivateMessageAsRead.d.ts +0 -1
  62. package/dist/types/PurgeComment.d.ts +0 -1
  63. package/dist/types/PurgeCommunity.d.ts +0 -1
  64. package/dist/types/PurgePerson.d.ts +0 -1
  65. package/dist/types/PurgePost.d.ts +0 -1
  66. package/dist/types/RemoveComment.d.ts +0 -1
  67. package/dist/types/RemoveCommunity.d.ts +0 -1
  68. package/dist/types/RemovePost.d.ts +0 -1
  69. package/dist/types/ResolveCommentReport.d.ts +0 -1
  70. package/dist/types/ResolveObject.d.ts +0 -1
  71. package/dist/types/ResolvePostReport.d.ts +0 -1
  72. package/dist/types/ResolvePrivateMessageReport.d.ts +0 -1
  73. package/dist/types/SaveComment.d.ts +0 -1
  74. package/dist/types/SavePost.d.ts +0 -1
  75. package/dist/types/SaveUserSettings.d.ts +0 -1
  76. package/dist/types/Search.d.ts +0 -1
  77. package/dist/types/TransferCommunity.d.ts +0 -1
  78. package/package.json +1 -1
  79. package/dist/types/CommunityJoin.d.ts +0 -4
  80. package/dist/types/CommunityJoinResponse.d.ts +0 -3
  81. package/dist/types/GetBannedPersons.d.ts +0 -3
  82. package/dist/types/GetBannedPersons.js +0 -3
  83. package/dist/types/GetCaptcha.d.ts +0 -3
  84. package/dist/types/GetCaptcha.js +0 -3
  85. package/dist/types/GetFederatedInstances.d.ts +0 -3
  86. package/dist/types/GetFederatedInstances.js +0 -3
  87. package/dist/types/GetSite.d.ts +0 -3
  88. package/dist/types/GetSite.js +0 -3
  89. package/dist/types/GetUnreadCount.d.ts +0 -3
  90. package/dist/types/GetUnreadCount.js +0 -3
  91. package/dist/types/GetUnreadRegistrationApplicationCount.d.ts +0 -3
  92. package/dist/types/GetUnreadRegistrationApplicationCount.js +0 -3
  93. package/dist/types/LeaveAdmin.d.ts +0 -3
  94. package/dist/types/LeaveAdmin.js +0 -3
  95. package/dist/types/MarkAllAsRead.d.ts +0 -3
  96. package/dist/types/MarkAllAsRead.js +0 -3
  97. package/dist/types/ModJoin.d.ts +0 -4
  98. package/dist/types/ModJoin.js +0 -2
  99. package/dist/types/ModJoinResponse.d.ts +0 -3
  100. package/dist/types/ModJoinResponse.js +0 -3
  101. package/dist/types/PostJoin.d.ts +0 -4
  102. package/dist/types/PostJoin.js +0 -2
  103. package/dist/types/PostJoinResponse.d.ts +0 -3
  104. package/dist/types/PostJoinResponse.js +0 -3
  105. package/dist/types/PostOrCommentId.d.ts +0 -7
  106. package/dist/types/PostOrCommentId.js +0 -2
  107. package/dist/types/UserJoin.d.ts +0 -3
  108. package/dist/types/UserJoin.js +0 -3
  109. package/dist/types/UserJoinResponse.d.ts +0 -3
  110. package/dist/types/UserJoinResponse.js +0 -3
  111. /package/dist/types/{CommunityJoin.js → ImageUpload.js} +0 -0
  112. /package/dist/types/{CommunityJoinResponse.js → ImageUploadId.js} +0 -0
package/dist/http.d.ts CHANGED
@@ -46,15 +46,12 @@ import { EditPrivateMessage } from "./types/EditPrivateMessage";
46
46
  import { EditSite } from "./types/EditSite";
47
47
  import { FeaturePost } from "./types/FeaturePost";
48
48
  import { FollowCommunity } from "./types/FollowCommunity";
49
- import { GetBannedPersons } from "./types/GetBannedPersons";
50
- import { GetCaptcha } from "./types/GetCaptcha";
51
49
  import { GetCaptchaResponse } from "./types/GetCaptchaResponse";
52
50
  import { GetComment } from "./types/GetComment";
53
51
  import { GetComments } from "./types/GetComments";
54
52
  import { GetCommentsResponse } from "./types/GetCommentsResponse";
55
53
  import { GetCommunity } from "./types/GetCommunity";
56
54
  import { GetCommunityResponse } from "./types/GetCommunityResponse";
57
- import { GetFederatedInstances } from "./types/GetFederatedInstances";
58
55
  import { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
59
56
  import { GetModlog } from "./types/GetModlog";
60
57
  import { GetModlogResponse } from "./types/GetModlogResponse";
@@ -71,15 +68,11 @@ import { GetReplies } from "./types/GetReplies";
71
68
  import { GetRepliesResponse } from "./types/GetRepliesResponse";
72
69
  import { GetReportCount } from "./types/GetReportCount";
73
70
  import { GetReportCountResponse } from "./types/GetReportCountResponse";
74
- import { GetSite } from "./types/GetSite";
75
71
  import { GetSiteMetadata } from "./types/GetSiteMetadata";
76
72
  import { GetSiteMetadataResponse } from "./types/GetSiteMetadataResponse";
77
73
  import { GetSiteResponse } from "./types/GetSiteResponse";
78
- import { GetUnreadCount } from "./types/GetUnreadCount";
79
74
  import { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
80
- import { GetUnreadRegistrationApplicationCount } from "./types/GetUnreadRegistrationApplicationCount";
81
75
  import { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
82
- import { LeaveAdmin } from "./types/LeaveAdmin";
83
76
  import { ListCommentReports } from "./types/ListCommentReports";
84
77
  import { ListCommentReportsResponse } from "./types/ListCommentReportsResponse";
85
78
  import { ListCommunities } from "./types/ListCommunities";
@@ -93,7 +86,6 @@ import { ListRegistrationApplicationsResponse } from "./types/ListRegistrationAp
93
86
  import { LockPost } from "./types/LockPost";
94
87
  import { Login } from "./types/Login";
95
88
  import { LoginResponse } from "./types/LoginResponse";
96
- import { MarkAllAsRead } from "./types/MarkAllAsRead";
97
89
  import { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
98
90
  import { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead";
99
91
  import { MarkPostAsRead } from "./types/MarkPostAsRead";
@@ -151,7 +143,7 @@ export declare class LemmyHttp {
151
143
  *
152
144
  * `HTTP.GET /site`
153
145
  */
154
- getSite(form?: GetSite): Promise<GetSiteResponse>;
146
+ getSite(): Promise<GetSiteResponse>;
155
147
  /**
156
148
  * Create your site.
157
149
  *
@@ -169,7 +161,7 @@ export declare class LemmyHttp {
169
161
  *
170
162
  * `HTTP.POST /user/leave_admin`
171
163
  */
172
- leaveAdmin(form: LeaveAdmin): Promise<GetSiteResponse>;
164
+ leaveAdmin(): Promise<GetSiteResponse>;
173
165
  /**
174
166
  * Get the modlog.
175
167
  *
@@ -517,7 +509,7 @@ export declare class LemmyHttp {
517
509
  *
518
510
  * `HTTP.GET /user/banned`
519
511
  */
520
- getBannedPersons(form: GetBannedPersons): Promise<BannedPersonsResponse>;
512
+ getBannedPersons(): Promise<BannedPersonsResponse>;
521
513
  /**
522
514
  * Block a person.
523
515
  *
@@ -529,7 +521,7 @@ export declare class LemmyHttp {
529
521
  *
530
522
  * `HTTP.GET /user/get_captcha`
531
523
  */
532
- getCaptcha(form?: GetCaptcha): Promise<GetCaptchaResponse>;
524
+ getCaptcha(): Promise<GetCaptchaResponse>;
533
525
  /**
534
526
  * Delete your account.
535
527
  *
@@ -553,7 +545,7 @@ export declare class LemmyHttp {
553
545
  *
554
546
  * `HTTP.POST /user/mark_all_as_read`
555
547
  */
556
- markAllAsRead(form: MarkAllAsRead): Promise<GetRepliesResponse>;
548
+ markAllAsRead(): Promise<GetRepliesResponse>;
557
549
  /**
558
550
  * Save your user settings.
559
551
  *
@@ -577,7 +569,7 @@ export declare class LemmyHttp {
577
569
  *
578
570
  * `HTTP.GET /user/unread_count`
579
571
  */
580
- getUnreadCount(form: GetUnreadCount): Promise<GetUnreadCountResponse>;
572
+ getUnreadCount(): Promise<GetUnreadCountResponse>;
581
573
  /**
582
574
  * Verify your email
583
575
  *
@@ -595,7 +587,7 @@ export declare class LemmyHttp {
595
587
  *
596
588
  * `HTTP.GET /admin/registration_application/count`
597
589
  */
598
- getUnreadRegistrationApplicationCount(form: GetUnreadRegistrationApplicationCount): Promise<GetUnreadRegistrationApplicationCountResponse>;
590
+ getUnreadRegistrationApplicationCount(): Promise<GetUnreadRegistrationApplicationCountResponse>;
599
591
  /**
600
592
  * List the registration applications.
601
593
  *
@@ -655,7 +647,7 @@ export declare class LemmyHttp {
655
647
  *
656
648
  * `HTTP.Get /federated_instances`
657
649
  */
658
- getFederatedInstances(form?: GetFederatedInstances): Promise<GetFederatedInstancesResponse>;
650
+ getFederatedInstances(): Promise<GetFederatedInstancesResponse>;
659
651
  /**
660
652
  * Upload an image to the server.
661
653
  */
package/dist/http.js CHANGED
@@ -63,8 +63,8 @@ class LemmyHttp {
63
63
  *
64
64
  * `HTTP.GET /site`
65
65
  */
66
- getSite(form = {}) {
67
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/site", form);
66
+ getSite() {
67
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/site", {});
68
68
  }
69
69
  /**
70
70
  * Create your site.
@@ -87,8 +87,8 @@ class LemmyHttp {
87
87
  *
88
88
  * `HTTP.POST /user/leave_admin`
89
89
  */
90
- leaveAdmin(form) {
91
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/leave_admin", form);
90
+ leaveAdmin() {
91
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/leave_admin", {});
92
92
  }
93
93
  /**
94
94
  * Get the modlog.
@@ -551,8 +551,8 @@ class LemmyHttp {
551
551
  *
552
552
  * `HTTP.GET /user/banned`
553
553
  */
554
- getBannedPersons(form) {
555
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/banned", form);
554
+ getBannedPersons() {
555
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/banned", {});
556
556
  }
557
557
  /**
558
558
  * Block a person.
@@ -567,8 +567,8 @@ class LemmyHttp {
567
567
  *
568
568
  * `HTTP.GET /user/get_captcha`
569
569
  */
570
- getCaptcha(form = {}) {
571
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/get_captcha", form);
570
+ getCaptcha() {
571
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/get_captcha", {});
572
572
  }
573
573
  /**
574
574
  * Delete your account.
@@ -599,8 +599,8 @@ class LemmyHttp {
599
599
  *
600
600
  * `HTTP.POST /user/mark_all_as_read`
601
601
  */
602
- markAllAsRead(form) {
603
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/mark_all_as_read", form);
602
+ markAllAsRead() {
603
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/mark_all_as_read", {});
604
604
  }
605
605
  /**
606
606
  * Save your user settings.
@@ -631,8 +631,8 @@ class LemmyHttp {
631
631
  *
632
632
  * `HTTP.GET /user/unread_count`
633
633
  */
634
- getUnreadCount(form) {
635
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/unread_count", form);
634
+ getUnreadCount() {
635
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/unread_count", {});
636
636
  }
637
637
  /**
638
638
  * Verify your email
@@ -655,8 +655,8 @@ class LemmyHttp {
655
655
  *
656
656
  * `HTTP.GET /admin/registration_application/count`
657
657
  */
658
- getUnreadRegistrationApplicationCount(form) {
659
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/registration_application/count", form);
658
+ getUnreadRegistrationApplicationCount() {
659
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/registration_application/count", {});
660
660
  }
661
661
  /**
662
662
  * List the registration applications.
@@ -712,9 +712,7 @@ class LemmyHttp {
712
712
  * `HTTP.POST /custom_emoji`
713
713
  */
714
714
  createCustomEmoji(form) {
715
- return __awaiter(this, void 0, void 0, function* () {
716
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/custom_emoji", form);
717
- });
715
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/custom_emoji", form);
718
716
  }
719
717
  /**
720
718
  * Edit an existing custom emoji
@@ -722,9 +720,7 @@ class LemmyHttp {
722
720
  * `HTTP.PUT /custom_emoji`
723
721
  */
724
722
  editCustomEmoji(form) {
725
- return __awaiter(this, void 0, void 0, function* () {
726
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/custom_emoji", form);
727
- });
723
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/custom_emoji", form);
728
724
  }
729
725
  /**
730
726
  * Delete a custom emoji
@@ -732,19 +728,15 @@ class LemmyHttp {
732
728
  * `HTTP.Post /custom_emoji/delete`
733
729
  */
734
730
  deleteCustomEmoji(form) {
735
- return __awaiter(this, void 0, void 0, function* () {
736
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/custom_emoji/delete", form);
737
- });
731
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/custom_emoji/delete", form);
738
732
  }
739
733
  /**
740
734
  * Fetch federated instances.
741
735
  *
742
736
  * `HTTP.Get /federated_instances`
743
737
  */
744
- getFederatedInstances(form = {}) {
745
- return __awaiter(this, void 0, void 0, function* () {
746
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/federated_instances", form);
747
- });
738
+ getFederatedInstances() {
739
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/federated_instances", {});
748
740
  }
749
741
  /**
750
742
  * Upload an image to the server.
package/dist/index.d.ts CHANGED
@@ -43,8 +43,6 @@ export { CommunityBlockId } from "./types/CommunityBlockId";
43
43
  export { CommunityBlockView } from "./types/CommunityBlockView";
44
44
  export { CommunityFollowerView } from "./types/CommunityFollowerView";
45
45
  export { CommunityId } from "./types/CommunityId";
46
- export { CommunityJoin } from "./types/CommunityJoin";
47
- export { CommunityJoinResponse } from "./types/CommunityJoinResponse";
48
46
  export { CommunityModeratorView } from "./types/CommunityModeratorView";
49
47
  export { CommunityResponse } from "./types/CommunityResponse";
50
48
  export { CommunityView } from "./types/CommunityView";
@@ -82,15 +80,12 @@ export { EditSite } from "./types/EditSite";
82
80
  export { FeaturePost } from "./types/FeaturePost";
83
81
  export { FederatedInstances } from "./types/FederatedInstances";
84
82
  export { FollowCommunity } from "./types/FollowCommunity";
85
- export { GetBannedPersons } from "./types/GetBannedPersons";
86
- export { GetCaptcha } from "./types/GetCaptcha";
87
83
  export { GetCaptchaResponse } from "./types/GetCaptchaResponse";
88
84
  export { GetComment } from "./types/GetComment";
89
85
  export { GetComments } from "./types/GetComments";
90
86
  export { GetCommentsResponse } from "./types/GetCommentsResponse";
91
87
  export { GetCommunity } from "./types/GetCommunity";
92
88
  export { GetCommunityResponse } from "./types/GetCommunityResponse";
93
- export { GetFederatedInstances } from "./types/GetFederatedInstances";
94
89
  export { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
95
90
  export { GetModlog } from "./types/GetModlog";
96
91
  export { GetModlogResponse } from "./types/GetModlogResponse";
@@ -107,21 +102,18 @@ export { GetReplies } from "./types/GetReplies";
107
102
  export { GetRepliesResponse } from "./types/GetRepliesResponse";
108
103
  export { GetReportCount } from "./types/GetReportCount";
109
104
  export { GetReportCountResponse } from "./types/GetReportCountResponse";
110
- export { GetSite } from "./types/GetSite";
111
105
  export { GetSiteMetadata } from "./types/GetSiteMetadata";
112
106
  export { GetSiteMetadataResponse } from "./types/GetSiteMetadataResponse";
113
107
  export { GetSiteResponse } from "./types/GetSiteResponse";
114
- export { GetUnreadCount } from "./types/GetUnreadCount";
115
108
  export { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
116
- export { GetUnreadRegistrationApplicationCount } from "./types/GetUnreadRegistrationApplicationCount";
117
109
  export { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
118
110
  export { HideCommunity } from "./types/HideCommunity";
111
+ export { ImageUpload } from "./types/ImageUpload";
112
+ export { ImageUploadId } from "./types/ImageUploadId";
119
113
  export { Instance } from "./types/Instance";
120
114
  export { InstanceId } from "./types/InstanceId";
121
115
  export { Language } from "./types/Language";
122
116
  export { LanguageId } from "./types/LanguageId";
123
- export { LeaveAdmin } from "./types/LeaveAdmin";
124
- export { LemmyErrorType } from "./types/LemmyErrorType";
125
117
  export { ListCommentReports } from "./types/ListCommentReports";
126
118
  export { ListCommentReportsResponse } from "./types/ListCommentReportsResponse";
127
119
  export { ListCommunities } from "./types/ListCommunities";
@@ -142,7 +134,6 @@ export { LocalUserView } from "./types/LocalUserView";
142
134
  export { LockPost } from "./types/LockPost";
143
135
  export { Login } from "./types/Login";
144
136
  export { LoginResponse } from "./types/LoginResponse";
145
- export { MarkAllAsRead } from "./types/MarkAllAsRead";
146
137
  export { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
147
138
  export { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead";
148
139
  export { MarkPostAsRead } from "./types/MarkPostAsRead";
@@ -159,8 +150,6 @@ export { ModFeaturePost } from "./types/ModFeaturePost";
159
150
  export { ModFeaturePostView } from "./types/ModFeaturePostView";
160
151
  export { ModHideCommunity } from "./types/ModHideCommunity";
161
152
  export { ModHideCommunityView } from "./types/ModHideCommunityView";
162
- export { ModJoin } from "./types/ModJoin";
163
- export { ModJoinResponse } from "./types/ModJoinResponse";
164
153
  export { ModLockPost } from "./types/ModLockPost";
165
154
  export { ModLockPostView } from "./types/ModLockPostView";
166
155
  export { ModRemoveComment } from "./types/ModRemoveComment";
@@ -192,10 +181,7 @@ export { Post } from "./types/Post";
192
181
  export { PostAggregates } from "./types/PostAggregates";
193
182
  export { PostFeatureType } from "./types/PostFeatureType";
194
183
  export { PostId } from "./types/PostId";
195
- export { PostJoin } from "./types/PostJoin";
196
- export { PostJoinResponse } from "./types/PostJoinResponse";
197
184
  export { PostListingMode } from "./types/PostListingMode";
198
- export { PostOrCommentId } from "./types/PostOrCommentId";
199
185
  export { PostReport } from "./types/PostReport";
200
186
  export { PostReportId } from "./types/PostReportId";
201
187
  export { PostReportResponse } from "./types/PostReportResponse";
@@ -245,8 +231,5 @@ export { SortType } from "./types/SortType";
245
231
  export { SubscribedType } from "./types/SubscribedType";
246
232
  export { Tagline } from "./types/Tagline";
247
233
  export { TransferCommunity } from "./types/TransferCommunity";
248
- export { UserJoin } from "./types/UserJoin";
249
- export { UserJoinResponse } from "./types/UserJoinResponse";
250
234
  export { VerifyEmail } from "./types/VerifyEmail";
251
235
  export { VerifyEmailResponse } from "./types/VerifyEmailResponse";
252
- export { UploadImage, UploadImageResponse, ImageFile } from "./types/others";
@@ -2,5 +2,4 @@ import type { PersonId } from "./PersonId";
2
2
  export interface AddAdmin {
3
3
  person_id: PersonId;
4
4
  added: boolean;
5
- auth: string;
6
5
  }
@@ -4,5 +4,4 @@ export interface AddModToCommunity {
4
4
  community_id: CommunityId;
5
5
  person_id: PersonId;
6
6
  added: boolean;
7
- auth: string;
8
7
  }
@@ -2,5 +2,4 @@ export interface ApproveRegistrationApplication {
2
2
  id: number;
3
3
  approve: boolean;
4
4
  deny_reason?: string;
5
- auth: string;
6
5
  }
@@ -7,5 +7,4 @@ export interface BanFromCommunity {
7
7
  remove_data?: boolean;
8
8
  reason?: string;
9
9
  expires?: number;
10
- auth: string;
11
10
  }
@@ -5,5 +5,4 @@ export interface BanPerson {
5
5
  remove_data?: boolean;
6
6
  reason?: string;
7
7
  expires?: number;
8
- auth: string;
9
8
  }
@@ -2,5 +2,4 @@ import type { CommunityId } from "./CommunityId";
2
2
  export interface BlockCommunity {
3
3
  community_id: CommunityId;
4
4
  block: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PersonId } from "./PersonId";
2
2
  export interface BlockPerson {
3
3
  person_id: PersonId;
4
4
  block: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ export interface ChangePassword {
2
2
  new_password: string;
3
3
  new_password_verify: string;
4
4
  old_password: string;
5
- auth: string;
6
5
  }
@@ -6,5 +6,4 @@ export interface CreateComment {
6
6
  post_id: PostId;
7
7
  parent_id?: CommentId;
8
8
  language_id?: LanguageId;
9
- auth: string;
10
9
  }
@@ -2,5 +2,4 @@ import type { CommentId } from "./CommentId";
2
2
  export interface CreateCommentLike {
3
3
  comment_id: CommentId;
4
4
  score: number;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { CommentId } from "./CommentId";
2
2
  export interface CreateCommentReport {
3
3
  comment_id: CommentId;
4
4
  reason: string;
5
- auth: string;
6
5
  }
@@ -8,5 +8,4 @@ export interface CreateCommunity {
8
8
  nsfw?: boolean;
9
9
  posting_restricted_to_mods?: boolean;
10
10
  discussion_languages?: Array<LanguageId>;
11
- auth: string;
12
11
  }
@@ -4,5 +4,4 @@ export interface CreateCustomEmoji {
4
4
  image_url: string;
5
5
  alt_text: string;
6
6
  keywords: Array<string>;
7
- auth: string;
8
7
  }
@@ -8,5 +8,4 @@ export interface CreatePost {
8
8
  honeypot?: string;
9
9
  nsfw?: boolean;
10
10
  language_id?: LanguageId;
11
- auth: string;
12
11
  }
@@ -2,5 +2,4 @@ import type { PostId } from "./PostId";
2
2
  export interface CreatePostLike {
3
3
  post_id: PostId;
4
4
  score: number;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PostId } from "./PostId";
2
2
  export interface CreatePostReport {
3
3
  post_id: PostId;
4
4
  reason: string;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PersonId } from "./PersonId";
2
2
  export interface CreatePrivateMessage {
3
3
  content: string;
4
4
  recipient_id: PersonId;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PrivateMessageId } from "./PrivateMessageId";
2
2
  export interface CreatePrivateMessageReport {
3
3
  private_message_id: PrivateMessageId;
4
4
  reason: string;
5
- auth: string;
6
5
  }
@@ -41,5 +41,4 @@ export interface CreateSite {
41
41
  blocked_instances?: Array<string>;
42
42
  taglines?: Array<string>;
43
43
  registration_mode?: RegistrationMode;
44
- auth: string;
45
44
  }
@@ -1,5 +1,4 @@
1
1
  export interface DeleteAccount {
2
2
  password: string;
3
3
  delete_content: boolean;
4
- auth: string;
5
4
  }
@@ -2,5 +2,4 @@ import type { CommentId } from "./CommentId";
2
2
  export interface DeleteComment {
3
3
  comment_id: CommentId;
4
4
  deleted: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { CommunityId } from "./CommunityId";
2
2
  export interface DeleteCommunity {
3
3
  community_id: CommunityId;
4
4
  deleted: boolean;
5
- auth: string;
6
5
  }
@@ -1,5 +1,4 @@
1
1
  import type { CustomEmojiId } from "./CustomEmojiId";
2
2
  export interface DeleteCustomEmoji {
3
3
  id: CustomEmojiId;
4
- auth: string;
5
4
  }
@@ -2,5 +2,4 @@ import type { PostId } from "./PostId";
2
2
  export interface DeletePost {
3
3
  post_id: PostId;
4
4
  deleted: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PrivateMessageId } from "./PrivateMessageId";
2
2
  export interface DeletePrivateMessage {
3
3
  private_message_id: PrivateMessageId;
4
4
  deleted: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { CommentId } from "./CommentId";
2
2
  export interface DistinguishComment {
3
3
  comment_id: CommentId;
4
4
  distinguished: boolean;
5
- auth: string;
6
5
  }
@@ -4,5 +4,4 @@ export interface EditComment {
4
4
  comment_id: CommentId;
5
5
  content?: string;
6
6
  language_id?: LanguageId;
7
- auth: string;
8
7
  }
@@ -9,5 +9,4 @@ export interface EditCommunity {
9
9
  nsfw?: boolean;
10
10
  posting_restricted_to_mods?: boolean;
11
11
  discussion_languages?: Array<LanguageId>;
12
- auth: string;
13
12
  }
@@ -5,5 +5,4 @@ export interface EditCustomEmoji {
5
5
  image_url: string;
6
6
  alt_text: string;
7
7
  keywords: Array<string>;
8
- auth: string;
9
8
  }
@@ -7,5 +7,4 @@ export interface EditPost {
7
7
  body?: string;
8
8
  nsfw?: boolean;
9
9
  language_id?: LanguageId;
10
- auth: string;
11
10
  }
@@ -2,5 +2,4 @@ import type { PrivateMessageId } from "./PrivateMessageId";
2
2
  export interface EditPrivateMessage {
3
3
  private_message_id: PrivateMessageId;
4
4
  content: string;
5
- auth: string;
6
5
  }
@@ -42,5 +42,4 @@ export interface EditSite {
42
42
  taglines?: Array<string>;
43
43
  registration_mode?: RegistrationMode;
44
44
  reports_email_admins?: boolean;
45
- auth: string;
46
45
  }
@@ -4,5 +4,4 @@ export interface FeaturePost {
4
4
  post_id: PostId;
5
5
  featured: boolean;
6
6
  feature_type: PostFeatureType;
7
- auth: string;
8
7
  }
@@ -2,5 +2,4 @@ import type { CommunityId } from "./CommunityId";
2
2
  export interface FollowCommunity {
3
3
  community_id: CommunityId;
4
4
  follow: boolean;
5
- auth: string;
6
5
  }
@@ -1,5 +1,4 @@
1
1
  import type { CommentId } from "./CommentId";
2
2
  export interface GetComment {
3
3
  id: CommentId;
4
- auth?: string;
5
4
  }
@@ -16,5 +16,4 @@ export interface GetComments {
16
16
  saved_only?: boolean;
17
17
  liked_only?: boolean;
18
18
  disliked_only?: boolean;
19
- auth?: string;
20
19
  }
@@ -2,5 +2,4 @@ import type { CommunityId } from "./CommunityId";
2
2
  export interface GetCommunity {
3
3
  id?: CommunityId;
4
4
  name?: string;
5
- auth?: string;
6
5
  }
@@ -8,5 +8,4 @@ export interface GetModlog {
8
8
  limit?: number;
9
9
  type_?: ModlogActionType;
10
10
  other_person_id?: PersonId;
11
- auth?: string;
12
11
  }
@@ -9,5 +9,4 @@ export interface GetPersonDetails {
9
9
  limit?: number;
10
10
  community_id?: CommunityId;
11
11
  saved_only?: boolean;
12
- auth?: string;
13
12
  }
@@ -4,5 +4,4 @@ export interface GetPersonMentions {
4
4
  page?: number;
5
5
  limit?: number;
6
6
  unread_only?: boolean;
7
- auth: string;
8
7
  }
@@ -3,5 +3,4 @@ import type { PostId } from "./PostId";
3
3
  export interface GetPost {
4
4
  id?: PostId;
5
5
  comment_id?: CommentId;
6
- auth?: string;
7
6
  }
@@ -11,5 +11,4 @@ export interface GetPosts {
11
11
  saved_only?: boolean;
12
12
  liked_only?: boolean;
13
13
  disliked_only?: boolean;
14
- auth?: string;
15
14
  }
@@ -4,5 +4,4 @@ export interface GetPrivateMessages {
4
4
  page?: number;
5
5
  limit?: number;
6
6
  creator_id?: PersonId;
7
- auth: string;
8
7
  }
@@ -4,5 +4,4 @@ export interface GetReplies {
4
4
  page?: number;
5
5
  limit?: number;
6
6
  unread_only?: boolean;
7
- auth: string;
8
7
  }
@@ -1,5 +1,4 @@
1
1
  import type { CommunityId } from "./CommunityId";
2
2
  export interface GetReportCount {
3
3
  community_id?: CommunityId;
4
- auth: string;
5
4
  }
@@ -3,5 +3,4 @@ export interface HideCommunity {
3
3
  community_id: CommunityId;
4
4
  hidden: boolean;
5
5
  reason?: string;
6
- auth: string;
7
6
  }
@@ -0,0 +1,9 @@
1
+ import type { ImageUploadId } from "./ImageUploadId";
2
+ import type { LocalUserId } from "./LocalUserId";
3
+ export interface ImageUpload {
4
+ id: ImageUploadId;
5
+ local_user_id: LocalUserId;
6
+ pictrs_alias: string;
7
+ pictrs_delete_token: string;
8
+ published: string;
9
+ }
@@ -0,0 +1 @@
1
+ export type ImageUploadId = number;
@@ -4,5 +4,4 @@ export interface ListCommentReports {
4
4
  limit?: number;
5
5
  unresolved_only?: boolean;
6
6
  community_id?: CommunityId;
7
- auth: string;
8
7
  }
@@ -6,5 +6,4 @@ export interface ListCommunities {
6
6
  show_nsfw?: boolean;
7
7
  page?: number;
8
8
  limit?: number;
9
- auth?: string;
10
9
  }
@@ -4,5 +4,4 @@ export interface ListPostReports {
4
4
  limit?: number;
5
5
  unresolved_only?: boolean;
6
6
  community_id?: CommunityId;
7
- auth: string;
8
7
  }
@@ -2,5 +2,4 @@ export interface ListPrivateMessageReports {
2
2
  page?: number;
3
3
  limit?: number;
4
4
  unresolved_only?: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ export interface ListRegistrationApplications {
2
2
  unread_only?: boolean;
3
3
  page?: number;
4
4
  limit?: number;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PostId } from "./PostId";
2
2
  export interface LockPost {
3
3
  post_id: PostId;
4
4
  locked: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { CommentReplyId } from "./CommentReplyId";
2
2
  export interface MarkCommentReplyAsRead {
3
3
  comment_reply_id: CommentReplyId;
4
4
  read: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PersonMentionId } from "./PersonMentionId";
2
2
  export interface MarkPersonMentionAsRead {
3
3
  person_mention_id: PersonMentionId;
4
4
  read: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PostId } from "./PostId";
2
2
  export interface MarkPostAsRead {
3
3
  post_id: PostId;
4
4
  read: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PrivateMessageId } from "./PrivateMessageId";
2
2
  export interface MarkPrivateMessageAsRead {
3
3
  private_message_id: PrivateMessageId;
4
4
  read: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { CommentId } from "./CommentId";
2
2
  export interface PurgeComment {
3
3
  comment_id: CommentId;
4
4
  reason?: string;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { CommunityId } from "./CommunityId";
2
2
  export interface PurgeCommunity {
3
3
  community_id: CommunityId;
4
4
  reason?: string;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PersonId } from "./PersonId";
2
2
  export interface PurgePerson {
3
3
  person_id: PersonId;
4
4
  reason?: string;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PostId } from "./PostId";
2
2
  export interface PurgePost {
3
3
  post_id: PostId;
4
4
  reason?: string;
5
- auth: string;
6
5
  }
@@ -3,5 +3,4 @@ export interface RemoveComment {
3
3
  comment_id: CommentId;
4
4
  removed: boolean;
5
5
  reason?: string;
6
- auth: string;
7
6
  }
@@ -4,5 +4,4 @@ export interface RemoveCommunity {
4
4
  removed: boolean;
5
5
  reason?: string;
6
6
  expires?: number;
7
- auth: string;
8
7
  }
@@ -3,5 +3,4 @@ export interface RemovePost {
3
3
  post_id: PostId;
4
4
  removed: boolean;
5
5
  reason?: string;
6
- auth: string;
7
6
  }
@@ -2,5 +2,4 @@ import type { CommentReportId } from "./CommentReportId";
2
2
  export interface ResolveCommentReport {
3
3
  report_id: CommentReportId;
4
4
  resolved: boolean;
5
- auth: string;
6
5
  }
@@ -1,4 +1,3 @@
1
1
  export interface ResolveObject {
2
2
  q: string;
3
- auth: string | null;
4
3
  }
@@ -2,5 +2,4 @@ import type { PostReportId } from "./PostReportId";
2
2
  export interface ResolvePostReport {
3
3
  report_id: PostReportId;
4
4
  resolved: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PrivateMessageReportId } from "./PrivateMessageReportId";
2
2
  export interface ResolvePrivateMessageReport {
3
3
  report_id: PrivateMessageReportId;
4
4
  resolved: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { CommentId } from "./CommentId";
2
2
  export interface SaveComment {
3
3
  comment_id: CommentId;
4
4
  save: boolean;
5
- auth: string;
6
5
  }
@@ -2,5 +2,4 @@ import type { PostId } from "./PostId";
2
2
  export interface SavePost {
3
3
  post_id: PostId;
4
4
  save: boolean;
5
- auth: string;
6
5
  }
@@ -24,7 +24,6 @@ export interface SaveUserSettings {
24
24
  show_new_post_notifs?: boolean;
25
25
  discussion_languages?: Array<LanguageId>;
26
26
  generate_totp_2fa?: boolean;
27
- auth: string;
28
27
  open_links_in_new_tab?: boolean;
29
28
  infinite_scroll_enabled?: boolean;
30
29
  }
@@ -13,5 +13,4 @@ export interface Search {
13
13
  listing_type?: ListingType;
14
14
  page?: number;
15
15
  limit?: number;
16
- auth?: string;
17
16
  }
@@ -3,5 +3,4 @@ import type { PersonId } from "./PersonId";
3
3
  export interface TransferCommunity {
4
4
  community_id: CommunityId;
5
5
  person_id: PersonId;
6
- auth: string;
7
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
- "version": "0.19.0-rc.7",
3
+ "version": "0.19.0-rc.8",
4
4
  "description": "A javascript / typescript client for Lemmy",
5
5
  "repository": "https://github.com/LemmyNet/lemmy-js-client",
6
6
  "license": "AGPL-3.0",
@@ -1,4 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- export interface CommunityJoin {
3
- community_id: CommunityId;
4
- }
@@ -1,3 +0,0 @@
1
- export interface CommunityJoinResponse {
2
- joined: boolean;
3
- }
@@ -1,3 +0,0 @@
1
- export interface GetBannedPersons {
2
- auth: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetCaptcha {
2
- auth?: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetFederatedInstances {
2
- auth?: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetSite {
2
- auth?: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetUnreadCount {
2
- auth: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetUnreadRegistrationApplicationCount {
2
- auth: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface LeaveAdmin {
2
- auth: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface MarkAllAsRead {
2
- auth: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- export interface ModJoin {
3
- community_id: CommunityId;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface ModJoinResponse {
2
- joined: boolean;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { PostId } from "./PostId";
2
- export interface PostJoin {
3
- post_id: PostId;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface PostJoinResponse {
2
- joined: boolean;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { CommentId } from "./CommentId";
2
- import type { PostId } from "./PostId";
3
- export type PostOrCommentId = {
4
- Post: PostId;
5
- } | {
6
- Comment: CommentId;
7
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface UserJoin {
2
- auth: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface UserJoinResponse {
2
- joined: boolean;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
File without changes