lemmy-js-client 0.20.0-instance-blocks.5 → 0.20.0-modlog-combined.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. package/dist/http.d.ts +164 -60
  2. package/dist/http.js +261 -114
  3. package/dist/index.d.ts +42 -8
  4. package/dist/other_types.d.ts +1 -18
  5. package/dist/other_types.js +1 -1
  6. package/dist/types/AdminAllowInstance.d.ts +2 -1
  7. package/dist/types/AdminAllowInstanceId.d.ts +1 -0
  8. package/dist/types/AdminAllowInstanceView.d.ts +1 -1
  9. package/dist/types/AdminBlockInstance.d.ts +2 -1
  10. package/dist/types/AdminBlockInstanceId.d.ts +1 -0
  11. package/dist/types/AdminBlockInstanceId.js +3 -0
  12. package/dist/types/AdminPurgeComment.d.ts +3 -2
  13. package/dist/types/AdminPurgeCommentId.d.ts +1 -0
  14. package/dist/types/AdminPurgeCommentId.js +3 -0
  15. package/dist/types/AdminPurgeCommunity.d.ts +3 -2
  16. package/dist/types/AdminPurgeCommunityId.d.ts +1 -0
  17. package/dist/types/AdminPurgeCommunityId.js +3 -0
  18. package/dist/types/AdminPurgePerson.d.ts +3 -2
  19. package/dist/types/AdminPurgePersonId.d.ts +1 -0
  20. package/dist/types/AdminPurgePersonId.js +3 -0
  21. package/dist/types/AdminPurgePost.d.ts +3 -2
  22. package/dist/types/AdminPurgePostId.d.ts +1 -0
  23. package/dist/types/AdminPurgePostId.js +3 -0
  24. package/dist/types/AuthenticateWithOauth.d.ts +1 -0
  25. package/dist/types/CommentAggregates.d.ts +2 -0
  26. package/dist/types/CommunityAggregates.d.ts +2 -0
  27. package/dist/types/CommunityReport.d.ts +22 -0
  28. package/dist/types/CommunityReportId.d.ts +4 -0
  29. package/dist/types/CommunityReportId.js +3 -0
  30. package/dist/types/CommunityReportView.d.ts +16 -0
  31. package/dist/types/CreateOAuthProvider.d.ts +1 -0
  32. package/dist/types/CreatePost.d.ts +2 -0
  33. package/dist/types/CreateSite.d.ts +0 -4
  34. package/dist/types/DeleteImageParams.d.ts +4 -0
  35. package/dist/types/DeleteImageParams.js +3 -0
  36. package/dist/types/EditCommunity.d.ts +0 -8
  37. package/dist/types/EditOAuthProvider.d.ts +1 -0
  38. package/dist/types/EditPost.d.ts +2 -0
  39. package/dist/types/EditSite.d.ts +0 -16
  40. package/dist/types/FederationError.d.ts +1 -1
  41. package/dist/types/GetComments.d.ts +0 -1
  42. package/dist/types/GetModlog.d.ts +3 -2
  43. package/dist/types/GetModlogResponse.d.ts +2 -34
  44. package/dist/types/GetPersonDetails.d.ts +0 -7
  45. package/dist/types/GetPersonDetailsResponse.d.ts +0 -4
  46. package/dist/types/GetPosts.d.ts +2 -0
  47. package/dist/types/GetReportCountResponse.d.ts +1 -5
  48. package/dist/types/GetReportCountResponse.js +1 -0
  49. package/dist/types/GetSiteResponse.d.ts +1 -10
  50. package/dist/types/ImageGetParams.d.ts +4 -0
  51. package/dist/types/ImageGetParams.js +3 -0
  52. package/dist/types/ImageProxyParams.d.ts +5 -0
  53. package/dist/types/ImageProxyParams.js +3 -0
  54. package/dist/types/LemmyErrorType.d.ts +6 -2
  55. package/dist/types/ListPersonContent.d.ts +18 -0
  56. package/dist/types/ListPersonContentResponse.d.ts +7 -0
  57. package/dist/types/ListPersonSaved.d.ts +10 -0
  58. package/dist/types/ListPersonSavedResponse.d.ts +7 -0
  59. package/dist/types/{ListCommentReports.d.ts → ListReports.d.ts} +5 -6
  60. package/dist/types/ListReports.js +2 -0
  61. package/dist/types/ListReportsResponse.d.ts +7 -0
  62. package/dist/types/ListReportsResponse.js +2 -0
  63. package/dist/types/ModAdd.d.ts +3 -2
  64. package/dist/types/ModAddCommunity.d.ts +3 -2
  65. package/dist/types/ModAddCommunityId.d.ts +1 -0
  66. package/dist/types/ModAddCommunityId.js +3 -0
  67. package/dist/types/ModAddCommunityView.d.ts +1 -1
  68. package/dist/types/ModAddId.d.ts +1 -0
  69. package/dist/types/ModAddId.js +3 -0
  70. package/dist/types/ModAddView.d.ts +1 -1
  71. package/dist/types/ModBan.d.ts +3 -2
  72. package/dist/types/ModBanFromCommunity.d.ts +3 -2
  73. package/dist/types/ModBanFromCommunityId.d.ts +1 -0
  74. package/dist/types/ModBanFromCommunityId.js +3 -0
  75. package/dist/types/ModBanFromCommunityView.d.ts +1 -1
  76. package/dist/types/ModBanId.d.ts +1 -0
  77. package/dist/types/ModBanId.js +3 -0
  78. package/dist/types/ModBanView.d.ts +1 -1
  79. package/dist/types/ModFeaturePost.d.ts +3 -2
  80. package/dist/types/ModFeaturePostId.d.ts +1 -0
  81. package/dist/types/ModFeaturePostId.js +3 -0
  82. package/dist/types/ModFeaturePostView.d.ts +1 -0
  83. package/dist/types/ModHideCommunity.d.ts +3 -2
  84. package/dist/types/ModHideCommunityId.d.ts +1 -0
  85. package/dist/types/ModHideCommunityId.js +3 -0
  86. package/dist/types/ModLockPost.d.ts +3 -2
  87. package/dist/types/ModLockPostId.d.ts +1 -0
  88. package/dist/types/ModLockPostId.js +3 -0
  89. package/dist/types/ModLockPostView.d.ts +1 -0
  90. package/dist/types/ModRemoveComment.d.ts +3 -2
  91. package/dist/types/ModRemoveCommentId.d.ts +1 -0
  92. package/dist/types/ModRemoveCommentId.js +3 -0
  93. package/dist/types/ModRemoveCommentView.d.ts +1 -1
  94. package/dist/types/ModRemoveCommunity.d.ts +3 -2
  95. package/dist/types/ModRemoveCommunityId.d.ts +1 -0
  96. package/dist/types/ModRemoveCommunityId.js +3 -0
  97. package/dist/types/ModRemovePost.d.ts +3 -2
  98. package/dist/types/ModRemovePostId.d.ts +1 -0
  99. package/dist/types/ModRemovePostId.js +3 -0
  100. package/dist/types/ModRemovePostView.d.ts +1 -0
  101. package/dist/types/ModTransferCommunity.d.ts +3 -2
  102. package/dist/types/ModTransferCommunityId.d.ts +1 -0
  103. package/dist/types/ModTransferCommunityId.js +3 -0
  104. package/dist/types/ModTransferCommunityView.d.ts +1 -1
  105. package/dist/types/ModlogCombinedPaginationCursor.d.ts +4 -0
  106. package/dist/types/ModlogCombinedPaginationCursor.js +3 -0
  107. package/dist/types/ModlogCombinedView.d.ts +52 -0
  108. package/dist/types/ModlogCombinedView.js +2 -0
  109. package/dist/types/OAuthProvider.d.ts +4 -0
  110. package/dist/types/PersonContentCombinedPaginationCursor.d.ts +4 -0
  111. package/dist/types/PersonContentCombinedPaginationCursor.js +3 -0
  112. package/dist/types/PersonContentCombinedView.d.ts +7 -0
  113. package/dist/types/PersonContentCombinedView.js +2 -0
  114. package/dist/types/PersonContentType.d.ts +4 -0
  115. package/dist/types/PersonContentType.js +3 -0
  116. package/dist/types/PersonSavedCombinedPaginationCursor.d.ts +4 -0
  117. package/dist/types/PersonSavedCombinedPaginationCursor.js +3 -0
  118. package/dist/types/PostAggregates.d.ts +2 -0
  119. package/dist/types/PostTags.d.ts +7 -0
  120. package/dist/types/PostTags.js +2 -0
  121. package/dist/types/PostView.d.ts +2 -0
  122. package/dist/types/ReportCombinedPaginationCursor.d.ts +4 -0
  123. package/dist/types/ReportCombinedPaginationCursor.js +3 -0
  124. package/dist/types/ReportCombinedView.d.ts +13 -0
  125. package/dist/types/ReportCombinedView.js +2 -0
  126. package/dist/types/SaveUserSettings.d.ts +0 -8
  127. package/dist/types/Search.d.ts +0 -1
  128. package/dist/types/SiteResponse.d.ts +1 -1
  129. package/dist/types/Tag.d.ts +27 -0
  130. package/dist/types/Tag.js +2 -0
  131. package/dist/types/TagId.d.ts +4 -0
  132. package/dist/types/TagId.js +3 -0
  133. package/dist/types/UploadImageResponse.d.ts +5 -0
  134. package/dist/types/UploadImageResponse.js +3 -0
  135. package/package.json +3 -3
  136. package/dist/types/ListCommentReportsResponse.d.ts +0 -7
  137. package/dist/types/ListPostReports.d.ts +0 -18
  138. package/dist/types/ListPostReportsResponse.d.ts +0 -7
  139. package/dist/types/ListPrivateMessageReports.d.ts +0 -11
  140. package/dist/types/ListPrivateMessageReportsResponse.d.ts +0 -7
  141. package/dist/types/ModlogListParams.d.ts +0 -17
  142. /package/dist/types/{ListPrivateMessageReports.js → AdminAllowInstanceId.js} +0 -0
  143. /package/dist/types/{ListCommentReports.js → CommunityReport.js} +0 -0
  144. /package/dist/types/{ListCommentReportsResponse.js → CommunityReportView.js} +0 -0
  145. /package/dist/types/{ListPostReports.js → ListPersonContent.js} +0 -0
  146. /package/dist/types/{ListPostReportsResponse.js → ListPersonContentResponse.js} +0 -0
  147. /package/dist/types/{ListPrivateMessageReportsResponse.js → ListPersonSaved.js} +0 -0
  148. /package/dist/types/{ModlogListParams.js → ListPersonSavedResponse.js} +0 -0
@@ -0,0 +1,52 @@
1
+ import type { AdminAllowInstanceView } from "./AdminAllowInstanceView";
2
+ import type { AdminBlockInstanceView } from "./AdminBlockInstanceView";
3
+ import type { AdminPurgeCommentView } from "./AdminPurgeCommentView";
4
+ import type { AdminPurgeCommunityView } from "./AdminPurgeCommunityView";
5
+ import type { AdminPurgePersonView } from "./AdminPurgePersonView";
6
+ import type { AdminPurgePostView } from "./AdminPurgePostView";
7
+ import type { ModAddCommunityView } from "./ModAddCommunityView";
8
+ import type { ModAddView } from "./ModAddView";
9
+ import type { ModBanFromCommunityView } from "./ModBanFromCommunityView";
10
+ import type { ModBanView } from "./ModBanView";
11
+ import type { ModFeaturePostView } from "./ModFeaturePostView";
12
+ import type { ModHideCommunityView } from "./ModHideCommunityView";
13
+ import type { ModLockPostView } from "./ModLockPostView";
14
+ import type { ModRemoveCommentView } from "./ModRemoveCommentView";
15
+ import type { ModRemoveCommunityView } from "./ModRemoveCommunityView";
16
+ import type { ModRemovePostView } from "./ModRemovePostView";
17
+ import type { ModTransferCommunityView } from "./ModTransferCommunityView";
18
+ export type ModlogCombinedView = ({
19
+ type_: "AdminAllowInstance";
20
+ } & AdminAllowInstanceView) | ({
21
+ type_: "AdminBlockInstance";
22
+ } & AdminBlockInstanceView) | ({
23
+ type_: "AdminPurgeComment";
24
+ } & AdminPurgeCommentView) | ({
25
+ type_: "AdminPurgeCommunity";
26
+ } & AdminPurgeCommunityView) | ({
27
+ type_: "AdminPurgePerson";
28
+ } & AdminPurgePersonView) | ({
29
+ type_: "AdminPurgePost";
30
+ } & AdminPurgePostView) | ({
31
+ type_: "ModAdd";
32
+ } & ModAddView) | ({
33
+ type_: "ModAddCommunity";
34
+ } & ModAddCommunityView) | ({
35
+ type_: "ModBan";
36
+ } & ModBanView) | ({
37
+ type_: "ModBanFromCommunity";
38
+ } & ModBanFromCommunityView) | ({
39
+ type_: "ModFeaturePost";
40
+ } & ModFeaturePostView) | ({
41
+ type_: "ModHideCommunity";
42
+ } & ModHideCommunityView) | ({
43
+ type_: "ModLockPost";
44
+ } & ModLockPostView) | ({
45
+ type_: "ModRemoveComment";
46
+ } & ModRemoveCommentView) | ({
47
+ type_: "ModRemoveCommunity";
48
+ } & ModRemoveCommunityView) | ({
49
+ type_: "ModRemovePost";
50
+ } & ModRemovePostView) | ({
51
+ type_: "ModTransferCommunity";
52
+ } & ModTransferCommunityView);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -56,4 +56,8 @@ export type OAuthProvider = {
56
56
  enabled: boolean;
57
57
  published: string;
58
58
  updated?: string;
59
+ /**
60
+ * switch to enable or disable PKCE
61
+ */
62
+ use_pkce: boolean;
59
63
  };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * like PaginationCursor but for the person_content_combined table
3
+ */
4
+ export type PersonContentCombinedPaginationCursor = string;
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,7 @@
1
+ import type { CommentView } from "./CommentView";
2
+ import type { PostView } from "./PostView";
3
+ export type PersonContentCombinedView = ({
4
+ type_: "Post";
5
+ } & PostView) | ({
6
+ type_: "Comment";
7
+ } & CommentView);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * A list of possible types for the various modlog actions.
3
+ */
4
+ export type PersonContentType = "All" | "Comments" | "Posts";
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * like PaginationCursor but for the person_saved_combined table
3
+ */
4
+ export type PersonSavedCombinedPaginationCursor = string;
@@ -0,0 +1,3 @@
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 });
@@ -13,4 +13,6 @@ export type PostAggregates = {
13
13
  * The time of the newest comment in the post.
14
14
  */
15
15
  newest_comment_time: string;
16
+ report_count: number;
17
+ unresolved_report_count: number;
16
18
  };
@@ -0,0 +1,7 @@
1
+ import type { Tag } from "./Tag";
2
+ /**
3
+ * we wrap this in a struct so we can implement FromSqlRow<Json> for it
4
+ */
5
+ export type PostTags = {
6
+ tags: Array<Tag>;
7
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,7 @@ import type { ImageDetails } from "./ImageDetails";
3
3
  import type { Person } from "./Person";
4
4
  import type { Post } from "./Post";
5
5
  import type { PostAggregates } from "./PostAggregates";
6
+ import type { PostTags } from "./PostTags";
6
7
  import type { SubscribedType } from "./SubscribedType";
7
8
  /**
8
9
  * A post view.
@@ -24,4 +25,5 @@ export type PostView = {
24
25
  creator_blocked: boolean;
25
26
  my_vote?: number;
26
27
  unread_comments: number;
28
+ tags: PostTags;
27
29
  };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * like PaginationCursor but for the report_combined table
3
+ */
4
+ export type ReportCombinedPaginationCursor = string;
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,13 @@
1
+ import type { CommentReportView } from "./CommentReportView";
2
+ import type { CommunityReportView } from "./CommunityReportView";
3
+ import type { PostReportView } from "./PostReportView";
4
+ import type { PrivateMessageReportView } from "./PrivateMessageReportView";
5
+ export type ReportCombinedView = ({
6
+ type_: "Post";
7
+ } & PostReportView) | ({
8
+ type_: "Comment";
9
+ } & CommentReportView) | ({
10
+ type_: "PrivateMessage";
11
+ } & PrivateMessageReportView) | ({
12
+ type_: "Community";
13
+ } & CommunityReportView);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -40,14 +40,6 @@ export type SaveUserSettings = {
40
40
  * The language of the lemmy interface
41
41
  */
42
42
  interface_language?: string;
43
- /**
44
- * A URL for your avatar.
45
- */
46
- avatar?: string;
47
- /**
48
- * A URL for your banner.
49
- */
50
- banner?: string;
51
43
  /**
52
44
  * Your display name, which can contain strange characters, and does not need to be unique.
53
45
  */
@@ -18,7 +18,6 @@ export type Search = {
18
18
  limit?: number;
19
19
  title_only?: boolean;
20
20
  post_url_only?: boolean;
21
- saved_only?: boolean;
22
21
  liked_only?: boolean;
23
22
  disliked_only?: boolean;
24
23
  };
@@ -5,7 +5,7 @@ import type { SiteView } from "./SiteView";
5
5
  export type SiteResponse = {
6
6
  site_view: SiteView;
7
7
  /**
8
- * deprecated, use field `tagline` or /api/v3/tagline/list
8
+ * deprecated, use field `tagline` or /api/v4/tagline/list
9
9
  */
10
10
  taglines: Array<null>;
11
11
  };
@@ -0,0 +1,27 @@
1
+ import type { CommunityId } from "./CommunityId";
2
+ import type { DbUrl } from "./DbUrl";
3
+ import type { TagId } from "./TagId";
4
+ /**
5
+ * A tag that can be assigned to a post within a community.
6
+ * The tag object is created by the community moderators.
7
+ * The assignment happens by the post creator and can be updated by the community moderators.
8
+ *
9
+ * A tag is a federatable object that gives additional context to another object, which can be
10
+ * displayed and filtered on currently, we only have community post tags, which is a tag that is
11
+ * created by post authors as well as mods of a community, to categorize a post. in the future we
12
+ * may add more tag types, depending on the requirements, this will lead to either expansion of
13
+ * this table (community_id optional, addition of tag_type enum) or split of this table / creation
14
+ * of new tables.
15
+ */
16
+ export type Tag = {
17
+ id: TagId;
18
+ ap_id: DbUrl;
19
+ name: string;
20
+ /**
21
+ * the community that owns this tag
22
+ */
23
+ community_id: CommunityId;
24
+ published: string;
25
+ updated?: string;
26
+ deleted: boolean;
27
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The internal tag id.
3
+ */
4
+ export type TagId = number;
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,5 @@
1
+ export type UploadImageResponse = {
2
+ image_url: string;
3
+ filename: string;
4
+ delete_token: string;
5
+ };
@@ -0,0 +1,3 @@
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 });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.20.0-instance-blocks.5",
4
+ "version": "0.20.0-modlog-combined.1",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -31,11 +31,11 @@
31
31
  "prettier-plugin-organize-imports": "^4.0.0",
32
32
  "prettier-plugin-packagejson": "^2.5.1",
33
33
  "sortpack": "^2.4.0",
34
- "typedoc": "^0.26.5",
34
+ "typedoc": "^0.27.0",
35
35
  "typescript": "^5.5.4",
36
36
  "typescript-eslint": "^8.7.0"
37
37
  },
38
- "packageManager": "pnpm@9.14.2",
38
+ "packageManager": "pnpm@9.15.3",
39
39
  "types": "./dist/index.d.ts",
40
40
  "lint-staged": {
41
41
  "*.{ts,tsx,js}": [
@@ -1,7 +0,0 @@
1
- import type { CommentReportView } from "./CommentReportView";
2
- /**
3
- * The comment report list response.
4
- */
5
- export type ListCommentReportsResponse = {
6
- comment_reports: Array<CommentReportView>;
7
- };
@@ -1,18 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { PostId } from "./PostId";
3
- /**
4
- * List post reports.
5
- */
6
- export type ListPostReports = {
7
- page?: number;
8
- limit?: number;
9
- /**
10
- * Only shows the unresolved reports
11
- */
12
- unresolved_only?: boolean;
13
- /**
14
- * if no community is given, it returns reports for all communities moderated by the auth user
15
- */
16
- community_id?: CommunityId;
17
- post_id?: PostId;
18
- };
@@ -1,7 +0,0 @@
1
- import type { PostReportView } from "./PostReportView";
2
- /**
3
- * The post reports response.
4
- */
5
- export type ListPostReportsResponse = {
6
- post_reports: Array<PostReportView>;
7
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * List private message reports.
3
- */
4
- export type ListPrivateMessageReports = {
5
- page?: number;
6
- limit?: number;
7
- /**
8
- * Only shows the unresolved reports
9
- */
10
- unresolved_only?: boolean;
11
- };
@@ -1,7 +0,0 @@
1
- import type { PrivateMessageReportView } from "./PrivateMessageReportView";
2
- /**
3
- * The response for list private message reports.
4
- */
5
- export type ListPrivateMessageReportsResponse = {
6
- private_message_reports: Array<PrivateMessageReportView>;
7
- };
@@ -1,17 +0,0 @@
1
- import type { CommentId } from "./CommentId";
2
- import type { CommunityId } from "./CommunityId";
3
- import type { PersonId } from "./PersonId";
4
- import type { PostId } from "./PostId";
5
- /**
6
- * Querying / filtering the modlog.
7
- */
8
- export type ModlogListParams = {
9
- community_id?: CommunityId;
10
- mod_person_id?: PersonId;
11
- other_person_id?: PersonId;
12
- post_id?: PostId;
13
- comment_id?: CommentId;
14
- page?: number;
15
- limit?: number;
16
- hide_modlog_names: boolean;
17
- };