@discourse/types 0.0.2 → 2026.1.0-61b723a
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/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-changes.d.ts +5 -0
- package/declarations/admin/components/admin-config-areas/upcoming-changes.d.ts.map +1 -1
- package/declarations/admin/components/admin-theme-editor.d.ts +1 -1
- package/declarations/admin/components/dashboard-new-features.d.ts.map +1 -1
- package/declarations/admin/components/edit-category-security.d.ts.map +1 -1
- package/declarations/admin/components/webhook-event.d.ts +2 -2
- package/declarations/admin/models/email-template.d.ts +1 -1
- package/declarations/admin/models/report.d.ts +12 -12
- package/declarations/app/components/bookmark-icon.d.ts +1 -1
- package/declarations/app/components/bookmark-menu.d.ts +1 -1
- package/declarations/app/components/category-permission-row.d.ts.map +1 -1
- package/declarations/app/components/composer-toggles.d.ts +1 -1
- package/declarations/app/components/d-navigation-item.d.ts +1 -1
- package/declarations/app/components/date-input.d.ts +1 -1
- package/declarations/app/components/date-picker.d.ts +1 -1
- package/declarations/app/components/group-manage-save-button.d.ts +2 -4
- package/declarations/app/components/group-manage-save-button.d.ts.map +1 -1
- package/declarations/app/components/group-smtp-email-settings.d.ts +1 -1
- package/declarations/app/components/header/contents.d.ts +1 -1
- package/declarations/app/components/header/logo.d.ts +1 -1
- package/declarations/app/components/header/search-menu-wrapper.d.ts +1 -1
- package/declarations/app/components/header/topic/info.d.ts +1 -1
- package/declarations/app/components/interface-color-selector.d.ts +1 -1
- package/declarations/app/components/light-dark-img.d.ts +1 -1
- package/declarations/app/components/modal/avatar-selector.d.ts +1 -1
- package/declarations/app/components/modal/group-default-notifications.d.ts.map +1 -1
- package/declarations/app/components/modal/move-to-topic.d.ts +1 -1
- package/declarations/app/components/modal/spreadsheet-editor.d.ts.map +1 -1
- package/declarations/app/components/post/menu/buttons/delete.d.ts +2 -2
- package/declarations/app/components/post/meta-data/reply-to-tab.d.ts.map +1 -1
- package/declarations/app/components/post/quoted-content.d.ts +1 -1
- package/declarations/app/components/post-language-selector.d.ts.map +1 -1
- package/declarations/app/components/post-list/item/index.d.ts +1 -1
- package/declarations/app/components/reviewable-bundled-action.d.ts +1 -1
- package/declarations/app/components/reviewable-refresh/item.d.ts.map +1 -1
- package/declarations/app/components/reviewable-refresh/timeline.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/custom-section.d.ts +3 -3
- package/declarations/app/components/sidebar/common/custom-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/edit-navigation-menu/categories-modal.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/tags-section.d.ts +2 -2
- package/declarations/app/components/sidebar/user/tags-section.d.ts.map +1 -1
- package/declarations/app/components/signup-progress-bar.d.ts +1 -1
- package/declarations/app/components/table-header-toggle.d.ts +1 -1
- package/declarations/app/components/topic-drafts-dropdown.d.ts +1 -1
- package/declarations/app/components/topic-list/bulk-select-checkbox.d.ts +3 -0
- package/declarations/app/components/topic-list/bulk-select-checkbox.d.ts.map +1 -0
- package/declarations/app/components/topic-list/item/bulk-select-cell.d.ts.map +1 -1
- package/declarations/app/components/topic-list/item/replies-cell.d.ts +1 -1
- package/declarations/app/components/topic-list/item/topic-cell.d.ts +0 -2
- package/declarations/app/components/topic-list/item/topic-cell.d.ts.map +1 -1
- package/declarations/app/components/topic-list/item.d.ts.map +1 -1
- package/declarations/app/components/topic-map/topic-map-summary.d.ts +1 -1
- package/declarations/app/components/uppy-image-uploader.d.ts +1 -1
- package/declarations/app/controllers/review/index.d.ts +1 -1
- package/declarations/app/controllers/user-activity/bookmarks.d.ts +2 -2
- package/declarations/app/controllers/user.d.ts +2 -2
- package/declarations/app/form-kit/components/fk/control/password.d.ts +1 -1
- package/declarations/app/lib/deprecated.d.ts.map +1 -1
- package/declarations/app/lib/optional-service.d.ts +2 -2
- package/declarations/app/lib/optional-service.d.ts.map +1 -1
- package/declarations/app/lib/render-tags.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/common/community-section/faq-section-link.d.ts +2 -2
- package/declarations/app/lib/sidebar/user/community-section/my-posts-section-link.d.ts +1 -1
- package/declarations/app/models/badge.d.ts +1 -1
- package/declarations/app/models/bookmark.d.ts +3 -3
- package/declarations/app/models/group.d.ts +1 -1
- package/declarations/app/models/post-stream.d.ts +1 -1
- package/declarations/app/models/post.d.ts +1 -1
- package/declarations/app/models/reviewable.d.ts +1 -1
- package/declarations/app/models/tag-group.d.ts +1 -1
- package/declarations/app/models/user.d.ts +1 -1
- package/declarations/app/routes/badges/index.d.ts +1 -1
- package/declarations/app/routes/badges/show.d.ts +1 -1
- package/declarations/app/routes/invites/show.d.ts +1 -1
- package/declarations/app/routes/second-factor-auth.d.ts +1 -1
- package/declarations/app/services/composer.d.ts +1 -1
- package/declarations/app/services/composer.d.ts.map +1 -1
- package/declarations/app/services/pm-topic-tracking-state.d.ts +1 -1
- package/declarations/app/services/search.d.ts +1 -1
- package/declarations/app/static/prosemirror/core/serializer.d.ts +1 -0
- package/declarations/app/static/prosemirror/core/serializer.d.ts.map +1 -1
- package/declarations/select-kit/components/composer-actions.d.ts +1 -1
- package/declarations/select-kit/components/email-group-user-chooser.d.ts +1 -1
- package/declarations/tests/helpers/qunit-helpers.d.ts +2 -1
- package/declarations/tests/helpers/qunit-helpers.d.ts.map +1 -1
- package/declarations/tests/helpers/site-settings.d.ts.map +1 -1
- package/declarations/tsconfig.tsbuildinfo +1 -1
- package/external-types/@types__jquery/JQuery.d.ts +13440 -0
- package/external-types/@types__jquery/JQueryStatic.d.ts +13944 -0
- package/external-types/@types__jquery/LICENSE +21 -0
- package/external-types/@types__jquery/dist/jquery.slim.d.ts +3 -0
- package/external-types/@types__jquery/index.d.ts +7 -0
- package/external-types/@types__jquery/legacy.d.ts +204 -0
- package/external-types/@types__jquery/misc.d.ts +7388 -0
- package/external-types/@types__jquery/package.json +133 -0
- package/external-types/@types__sinon/LICENSE +21 -0
- package/external-types/@types__sinon/index.d.ts +1468 -0
- package/external-types/@types__sinon/package.json +63 -0
- package/external-types/discourse-i18n/package.json +42 -0
- package/external-types/pretender/LICENSE +19 -0
- package/external-types/pretender/index.d.ts +60 -0
- package/external-types/pretender/package.json +75 -0
- package/external-types.d.ts +3 -0
- package/package.json +13 -1
- package/tsconfig-plugin.json +1 -1
- package/declarations/admin/compat-modules.d.ts +0 -3
- package/declarations/admin/compat-modules.d.ts.map +0 -1
- package/declarations/admin/controllers/admin-web-hooks/edit.d.ts +0 -19
- package/declarations/admin/controllers/admin-web-hooks/edit.d.ts.map +0 -1
- package/declarations/admin/controllers/admin-web-hooks/index.d.ts +0 -13
- package/declarations/admin/controllers/admin-web-hooks/index.d.ts.map +0 -1
- package/declarations/admin/templates/admin-config/welcome-banner.d.ts +0 -3
- package/declarations/admin/templates/admin-config/welcome-banner.d.ts.map +0 -1
- package/declarations/app/components/about-page-user.d.ts +0 -3
- package/declarations/app/components/about-page-user.d.ts.map +0 -1
- package/declarations/app/components/bootstrap-mode-notice.d.ts +0 -7
- package/declarations/app/components/bootstrap-mode-notice.d.ts.map +0 -1
- package/declarations/app/components/d-combo-button.d.ts +0 -3
- package/declarations/app/components/d-combo-button.d.ts.map +0 -1
- package/declarations/app/components/footer-message.d.ts +0 -5
- package/declarations/app/components/footer-message.d.ts.map +0 -1
- package/declarations/app/components/group-imap-email-settings.d.ts +0 -13
- package/declarations/app/components/group-imap-email-settings.d.ts.map +0 -1
- package/declarations/app/components/scrolling-post-stream.d.ts +0 -23
- package/declarations/app/components/scrolling-post-stream.d.ts.map +0 -1
- package/declarations/app/components/top-period-buttons.d.ts +0 -7
- package/declarations/app/components/top-period-buttons.d.ts.map +0 -1
- package/declarations/app/config/environment.d.ts +0 -3
- package/declarations/app/config/environment.d.ts.map +0 -1
- package/declarations/app/lib/autocomplete/emoji.d.ts +0 -4
- package/declarations/app/lib/autocomplete/emoji.d.ts.map +0 -1
- package/declarations/app/loader.d.ts +0 -4
- package/declarations/app/loader.d.ts.map +0 -1
- package/declarations/app/services/dialog.d.ts +0 -2
- package/declarations/app/services/dialog.d.ts.map +0 -1
- package/declarations/app/services/internal-tooltip.d.ts +0 -2
- package/declarations/app/services/internal-tooltip.d.ts.map +0 -1
- package/declarations/app/services/menu.d.ts +0 -2
- package/declarations/app/services/menu.d.ts.map +0 -1
- package/declarations/app/services/toasts.d.ts +0 -2
- package/declarations/app/services/toasts.d.ts.map +0 -1
- package/declarations/app/services/tooltip.d.ts +0 -2
- package/declarations/app/services/tooltip.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/checkbox.d.ts +0 -5
- package/declarations/app/static/wizard/components/fields/checkbox.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/checkboxes.d.ts +0 -7
- package/declarations/app/static/wizard/components/fields/checkboxes.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/image-previews/generic.d.ts +0 -5
- package/declarations/app/static/wizard/components/fields/image-previews/generic.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/image-previews/index.d.ts +0 -9
- package/declarations/app/static/wizard/components/fields/image-previews/index.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/image-previews/logo-small.d.ts +0 -13
- package/declarations/app/static/wizard/components/fields/image-previews/logo-small.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/image-previews/logo.d.ts +0 -19
- package/declarations/app/static/wizard/components/fields/image-previews/logo.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/image.d.ts +0 -15
- package/declarations/app/static/wizard/components/fields/image.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/styling-preview/-homepage-preview.d.ts +0 -29
- package/declarations/app/static/wizard/components/fields/styling-preview/-homepage-preview.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/styling-preview/-preview-base.d.ts +0 -34
- package/declarations/app/static/wizard/components/fields/styling-preview/-preview-base.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/fields/styling-preview/index.d.ts +0 -38
- package/declarations/app/static/wizard/components/fields/styling-preview/index.d.ts.map +0 -1
- package/declarations/app/static/wizard/components/wizard-canvas.d.ts +0 -14
- package/declarations/app/static/wizard/components/wizard-canvas.d.ts.map +0 -1
- package/declarations/app/widgets/actions-summary.d.ts +0 -2
- package/declarations/app/widgets/actions-summary.d.ts.map +0 -1
- package/declarations/app/widgets/bookmark-menu.d.ts +0 -2
- package/declarations/app/widgets/bookmark-menu.d.ts.map +0 -1
- package/declarations/app/widgets/post-user-tip-shim.d.ts +0 -2
- package/declarations/app/widgets/post-user-tip-shim.d.ts.map +0 -1
- package/declarations/app/widgets/topic-status.d.ts +0 -2
- package/declarations/app/widgets/topic-status.d.ts.map +0 -1
- package/declarations/select-kit/compat-modules.d.ts +0 -3
- package/declarations/select-kit/compat-modules.d.ts.map +0 -1
- package/declarations/tests/acceptance/bootstrap-mode-notice-test.d.ts +0 -2
- package/declarations/tests/acceptance/bootstrap-mode-notice-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/actions-summary-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/actions-summary-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/avatar-flair-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/avatar-flair-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/button-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/button-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/post-cooked-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/post-cooked-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/post-links-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/post-links-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/post-small-action-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/post-small-action-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/post-stream-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/post-stream-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/post-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/post-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/poster-name-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/poster-name-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/render-glimmer-test.d.ts +0 -1
- package/declarations/tests/integration/components/widgets/render-glimmer-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/small-user-list-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/small-user-list-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/topic-status-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/topic-status-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/widget-dropdown-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/widget-dropdown-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/widgets/widget-test.d.ts +0 -2
- package/declarations/tests/integration/components/widgets/widget-test.d.ts.map +0 -1
- package/declarations/tests/set-test-env.d.ts +0 -2
- package/declarations/tests/set-test-env.d.ts.map +0 -1
- package/declarations/tests/test-i18n.d.ts +0 -1
- package/declarations/tests/test-i18n.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function _default(target: any, name: any, descriptor: any): (PropertyDescriptor & {
|
|
1
|
+
export default function _default(target: any, name: any, descriptor: any): import("@ember/-internals/metal/lib/computed").ComputedDecorator | (PropertyDescriptor & {
|
|
2
2
|
initializer?: any;
|
|
3
|
-
})
|
|
3
|
+
});
|
|
4
4
|
//# sourceMappingURL=optional-service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optional-service.d.ts","sourceRoot":"","sources":["../../../../discourse/app/lib/optional-service.js"],"names":[],"mappings":"AAIA;;
|
|
1
|
+
{"version":3,"file":"optional-service.d.ts","sourceRoot":"","sources":["../../../../discourse/app/lib/optional-service.js"],"names":[],"mappings":"AAIA;;GAYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-tags.d.ts","sourceRoot":"","sources":["../../../../discourse/app/lib/render-tags.js"],"names":[],"mappings":"AAOA,uEAYC;AAED,+CAGC;AAED,
|
|
1
|
+
{"version":3,"file":"render-tags.d.ts","sourceRoot":"","sources":["../../../../discourse/app/lib/render-tags.js"],"names":[],"mappings":"AAOA,uEAYC;AAED,+CAGC;AAED,kEAmGC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default class FAQSectionLink extends BaseSectionLink {
|
|
2
2
|
get renameToGuidelines(): boolean;
|
|
3
|
-
get name(): "
|
|
4
|
-
get route(): "
|
|
3
|
+
get name(): "guidelines" | "faq";
|
|
4
|
+
get route(): "guidelines" | "faq";
|
|
5
5
|
get href(): any;
|
|
6
6
|
get title(): any;
|
|
7
7
|
get text(): any;
|
|
@@ -8,7 +8,7 @@ export default class MyPostsSectionLink extends BaseSectionLink {
|
|
|
8
8
|
get text(): any;
|
|
9
9
|
get badgeText(): any;
|
|
10
10
|
get _hasDraft(): boolean;
|
|
11
|
-
get defaultPrefixValue(): "
|
|
11
|
+
get defaultPrefixValue(): "pencil" | "user";
|
|
12
12
|
get suffixCSSClass(): string;
|
|
13
13
|
get suffixType(): string;
|
|
14
14
|
get suffixValue(): string;
|
|
@@ -8,7 +8,7 @@ export default class Badge extends RestModel {
|
|
|
8
8
|
updateFromJson(json: any): void;
|
|
9
9
|
badgeTypeClassName(type: any): string;
|
|
10
10
|
save(data: any): globalThis.Promise<this>;
|
|
11
|
-
destroy():
|
|
11
|
+
destroy(): import("rsvp").default.Promise<any> | globalThis.Promise<any>;
|
|
12
12
|
}
|
|
13
13
|
import RestModel from "discourse/models/rest";
|
|
14
14
|
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -13,13 +13,13 @@ export default class Bookmark extends RestModel {
|
|
|
13
13
|
static applyTransformations(bookmarks: any): globalThis.Promise<void>;
|
|
14
14
|
newBookmark: any;
|
|
15
15
|
get url(): any;
|
|
16
|
-
destroy():
|
|
16
|
+
destroy(): import("rsvp").default.Promise<any> | globalThis.Promise<any>;
|
|
17
17
|
attachedTo(): {
|
|
18
18
|
target: any;
|
|
19
19
|
targetId: any;
|
|
20
20
|
};
|
|
21
|
-
togglePin():
|
|
22
|
-
pinAction(): "
|
|
21
|
+
togglePin(): import("rsvp").default.Promise<any> | globalThis.Promise<any>;
|
|
22
|
+
pinAction(): "unpin" | "pin";
|
|
23
23
|
lastPostUrl(topic_id: any, highest_post_number: any, bookmarkable_url: any): any;
|
|
24
24
|
urlForPostNumber(postNumber: any): any;
|
|
25
25
|
bumpedAt(bumped_at: any, createdAt: any): any;
|
|
@@ -15,7 +15,7 @@ export default class Group extends RestModel {
|
|
|
15
15
|
canEveryoneMention: any;
|
|
16
16
|
emailDomains(value: any): any;
|
|
17
17
|
associatedGroupIds(value: any): any;
|
|
18
|
-
type(automatic: any): "
|
|
18
|
+
type(automatic: any): "automatic" | "custom";
|
|
19
19
|
reloadMembers(params: any, refresh: any): Promise<void>;
|
|
20
20
|
findRequesters(params: any, refresh: any): Promise<void>;
|
|
21
21
|
removeOwner(member: any): Promise<void>;
|
|
@@ -105,7 +105,7 @@ export default class PostStream extends RestModel {
|
|
|
105
105
|
triggerNewPostsInStream(postIds: any, opts: any): globalThis.Promise<void>;
|
|
106
106
|
_loadingPostIds: any;
|
|
107
107
|
triggerRecoveredPost(postId: any): globalThis.Promise<any>;
|
|
108
|
-
triggerDeletedPost(postId: any):
|
|
108
|
+
triggerDeletedPost(postId: any): import("rsvp").default.Promise<any> | globalThis.Promise<void>;
|
|
109
109
|
triggerDestroyedPost(postId: any): import("rsvp").default.Promise<any>;
|
|
110
110
|
/**
|
|
111
111
|
* Updates a post in the stream when it has been changed on the server.
|
|
@@ -163,7 +163,7 @@ export default class Post extends RestModel {
|
|
|
163
163
|
failed on the server.
|
|
164
164
|
**/
|
|
165
165
|
undoDeleteState(): void;
|
|
166
|
-
destroy(deletedBy: any, opts: any):
|
|
166
|
+
destroy(deletedBy: any, opts: any): import("rsvp").default.Promise<any> | globalThis.Promise<any>;
|
|
167
167
|
/**
|
|
168
168
|
* Updates a post from another's attributes. This will normally happen when a post is loading but
|
|
169
169
|
* is already found in an identity map.
|
|
@@ -11,7 +11,7 @@ export default class Reviewable extends RestModel {
|
|
|
11
11
|
flaggedReviewableContextQuestion(humanNoun: any): any;
|
|
12
12
|
userReviewableContextQuestion(resolvedType: any, scores: any): any;
|
|
13
13
|
category(): any;
|
|
14
|
-
update(updates: any):
|
|
14
|
+
update(updates: any): import("rsvp").default.Promise<any> | globalThis.Promise<void>;
|
|
15
15
|
}
|
|
16
16
|
import RestModel from "discourse/models/rest";
|
|
17
17
|
//# sourceMappingURL=reviewable.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default class TagGroup extends RestModel {
|
|
2
|
-
permissionName(permissions: any): "visible" | "
|
|
2
|
+
permissionName(permissions: any): "visible" | "private" | "public";
|
|
3
3
|
}
|
|
4
4
|
import RestModel from "discourse/models/rest";
|
|
5
5
|
//# sourceMappingURL=tag-group.d.ts.map
|
|
@@ -122,7 +122,7 @@ export default class User extends RestModel {
|
|
|
122
122
|
statsCountNonPM(): number;
|
|
123
123
|
statsExcludingPms(): any;
|
|
124
124
|
findDetails(options: any): import("rsvp").default.Promise<this>;
|
|
125
|
-
findStaffInfo():
|
|
125
|
+
findStaffInfo(): import("rsvp").default.Promise<any> | globalThis.Promise<void>;
|
|
126
126
|
pickAvatar(upload_id: any, type: any): globalThis.Promise<any>;
|
|
127
127
|
selectAvatar(avatarUrl: any): globalThis.Promise<any>;
|
|
128
128
|
isAllowedToUploadAFile(type: any): any;
|
|
@@ -5,7 +5,7 @@ export default class BadgesShow extends DiscourseRoute {
|
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
7
|
serialize(model: any): any;
|
|
8
|
-
model(params: any):
|
|
8
|
+
model(params: any): import("rsvp").default.Promise<any> | Promise<any>;
|
|
9
9
|
afterModel(model: any, transition: any): import("rsvp").default.Promise<{
|
|
10
10
|
userBadgesGrant: void;
|
|
11
11
|
userBadgesAll: void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default class InvitesShow extends DiscourseRoute {
|
|
2
2
|
siteSettings: any;
|
|
3
3
|
titleToken(): any;
|
|
4
|
-
model(params: any):
|
|
4
|
+
model(params: any): import("rsvp").default.Promise<any> | Promise<any>;
|
|
5
5
|
activate(...args: any[]): void;
|
|
6
6
|
deactivate(...args: any[]): void;
|
|
7
7
|
setupController(controller: any, model: any, ...args: any[]): void;
|
|
@@ -4,7 +4,7 @@ export default class SecondFactorAuth extends DiscourseRoute {
|
|
|
4
4
|
refreshModel: boolean;
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
|
-
model(params: any):
|
|
7
|
+
model(params: any): import("rsvp").default.Promise<any> | Promise<any>;
|
|
8
8
|
setupController(controller: any, model: any, ...args: any[]): void;
|
|
9
9
|
}
|
|
10
10
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
@@ -60,7 +60,7 @@ export default class ComposerService extends Service {
|
|
|
60
60
|
selectedFormTemplate: any;
|
|
61
61
|
toggleText(showPreview: any): any;
|
|
62
62
|
showPreviewChanged(): void;
|
|
63
|
-
focusTarget(replyingToTopic: any, creatingPM: any, usernames: any, composeState: any): "title" | "
|
|
63
|
+
focusTarget(replyingToTopic: any, creatingPM: any, usernames: any, composeState: any): "title" | "usernames" | "reply" | "editor";
|
|
64
64
|
set showToolbar(val: any);
|
|
65
65
|
get showToolbar(): any;
|
|
66
66
|
_toolbarEnabled: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../../../discourse/app/services/composer.js"],"names":[],"mappings":"AAsFA,uDAEC;AAED,kEAEC;AAED;IAEE,eAAmB;IACnB,kBAAsB;IACtB,iBAAqB;IACrB,YAAgB;IAChB,mBAAuB;IACvB,gBAAoB;IACpB,WAAe;IACf,YAAgB;IAChB,UAAc;IACd,kBAAsB;IACtB,WAAe;IACf,YAAgB;IAEhB,sBAA8B;IAC9B,+BAA0C;IAC1C,yBAAwB;IACxB,kBAAoB;IACpB,wBAAuB;IACvB,gBAAkB;IAClB,sBAAwB;IACxB,2BAA6B;IAC7B,wBAA0B;IAC1B,qBAAuB;IACvB,qBAAoB;IACpB,4BAA2B;IAC3B,mBAAc;IACd,oBAAe;IACf,WAAa;IACb,gBAAkB;IAElB,oBAAsB;IAEtB,kBAAoD;IACpD,gBAAyC;IACzC,gBAA2C;IAC3C,iBAAwC;IACxC,eAA0C;IAC1C,oBAA0D;IAC1D,kBAAuD;IAEvD,kBAAsB;IAWtB,4BAEC;IAXD,uBAOC;IAMD;;OAEG;IACH,uBAFa,OAAO,6BAA6B,EAAE,OAAO,CAIzD;IAED,gCAEC;IAED,iCAGC;IAED,sBAEC;IAED,4BAEC;IAED,qCAEC;IAiBD,8BAEC;IAjBD,yBAaC;IAMD,2BAUC;IAED,+BAMC;IAED,4BAcC;IAMD,2CAEC;IAND,qCAEC;IAMD,8CAGC;IADC,0BAAwC;IAG1C,kCAKC;IAED,2BAQC;IAED,kIAyBC;IAeD,0BAMC;IAnBD,uBAWC;IAJG,qBACyD;IAa7D,iEASC;IAED,qEAGC;IAED,gEAGC;IAED,oEAGC;IAED,+CAKC;IAED,wEAUC;IAID,4FAuBC;IAED,sDAGC;IAED,wCAwBC;IAED,yEAGC;IAED,
|
|
1
|
+
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../../../discourse/app/services/composer.js"],"names":[],"mappings":"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"}
|
|
@@ -14,7 +14,7 @@ declare class PrivateMessageTopicTrackingState extends Service {
|
|
|
14
14
|
willDestroy(...args: any[]): void;
|
|
15
15
|
onStateChange(key: any, callback: any): void;
|
|
16
16
|
offStateChange(key: any): void;
|
|
17
|
-
startTracking():
|
|
17
|
+
startTracking(): import("rsvp").default.Promise<any> | globalThis.Promise<void>;
|
|
18
18
|
lookupCount(type: any, opts?: {}): number;
|
|
19
19
|
trackIncoming(inbox: any, filter: any, activeGroup: any): void;
|
|
20
20
|
resetIncomingTracking(topicIds: any): void;
|
|
@@ -10,7 +10,7 @@ export default class Search extends Service {
|
|
|
10
10
|
noResults: boolean;
|
|
11
11
|
welcomeBannerSearchInViewport: boolean;
|
|
12
12
|
searchContextEnabled: boolean;
|
|
13
|
-
get currentSearchInputId(): "
|
|
13
|
+
get currentSearchInputId(): "icon-search-input" | "welcome-banner-search-input" | "header-search-input";
|
|
14
14
|
get searchExperience(): any;
|
|
15
15
|
focusSearchInput(): void;
|
|
16
16
|
get contextType(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../../../../../discourse/app/static/prosemirror/core/serializer.js"],"names":[],"mappings":"AAKA;IAGE,0EAQC;IAPC;;MAAyE;IAGzE;;;;;;;;MAAyE;IAM3E,uBAWC;;CAgCF"}
|
|
1
|
+
{"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../../../../../discourse/app/static/prosemirror/core/serializer.js"],"names":[],"mappings":"AAKA;IAGE,0EAQC;IAPC;;MAAyE;IAGzE;;;;;;;;MAAyE;IAM3E,uBAWC;;CAgCF;wCA1DM,sBAAsB"}
|
|
@@ -5,7 +5,7 @@ export default class ComposerActions extends DropdownSelectBoxComponent {
|
|
|
5
5
|
seq: number;
|
|
6
6
|
isEditing: any;
|
|
7
7
|
isInSlowMode: any;
|
|
8
|
-
iconForComposerAction(isEditing: any, composerAction: any, whisper: any, noBump: any, isInSlowMode: any): "
|
|
8
|
+
iconForComposerAction(isEditing: any, composerAction: any, whisper: any, noBump: any, isInSlowMode: any): "anchor" | "pencil" | "far-clipboard" | "plus" | "envelope" | "far-eye-slash" | "hourglass-start" | "share";
|
|
9
9
|
contentChanged(): void;
|
|
10
10
|
didReceiveAttrs(...args: any[]): void;
|
|
11
11
|
modifySelection(): {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default class EmailGroupUserChooser extends UserChooserComponent {
|
|
2
2
|
nameProperty: string;
|
|
3
|
-
search(...args: any[]):
|
|
3
|
+
search(...args: any[]): import("rsvp").default.Promise<any> | Promise<any>;
|
|
4
4
|
}
|
|
5
5
|
import UserChooserComponent from "discourse/select-kit/components/user-chooser";
|
|
6
6
|
//# sourceMappingURL=email-group-user-chooser.d.ts.map
|
|
@@ -4,7 +4,7 @@ export function testsTornDown(): void;
|
|
|
4
4
|
export function updateCurrentUser(properties: any): void;
|
|
5
5
|
export function logIn(owner: any): any;
|
|
6
6
|
export function loggedInUser(): any;
|
|
7
|
-
export function fakeTime(timeString: any, timezone?: any, advanceTime?: boolean):
|
|
7
|
+
export function fakeTime(timeString: any, timezone?: any, advanceTime?: boolean): sinon.SinonFakeTimers;
|
|
8
8
|
export function withFrozenTime(timeString: any, timezone: any, callback: any): void;
|
|
9
9
|
export function resetSite(extras?: {}): void;
|
|
10
10
|
export function applyPretender(name: any, server: any, helper: any): void;
|
|
@@ -33,4 +33,5 @@ export function normalizeHtml(html: any): string;
|
|
|
33
33
|
export const metaModifier: {
|
|
34
34
|
[x: string]: boolean;
|
|
35
35
|
};
|
|
36
|
+
import sinon from "sinon";
|
|
36
37
|
//# sourceMappingURL=qunit-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qunit-helpers.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/qunit-helpers.js"],"names":[],"mappings":"AA8GA,mCAIC;AAID,yCAEC;AAED,sCAEC;AAED,yDAIC;AAGD,uCASC;AAGD,oCAEC;AAED,
|
|
1
|
+
{"version":3,"file":"qunit-helpers.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/qunit-helpers.js"],"names":[],"mappings":"AA8GA,mCAIC;AAID,yCAEC;AAED,sCAEC;AAED,yDAIC;AAGD,uCASC;AAGD,oCAEC;AAED,wGAOC;AAED,oFAOC;AAID,6CAQC;AAED,0EAKC;AAGD,4DAkFC;AAQD,+DA4CC;AAED,+DAQC;AAED,oEAuHC;AAED,gDAKC;AA8BD,oEAMC;AAED,oEAGC;AAED,2CAEC;AAED,kDAOC;AAED,gDAEC;AAED,6CAEC;AAED,+CAEC;AAED,qFASC;AAED,0EAyBC;AAED,gFAIC;AAED,2DAEC;AAED,4DAEC;AAED,2EASC;AAED,yFAUC;AAED,mEAuBC;AAED,qEAIC;AAKD,iDAIC;AAED;;EAAsE;kBApnBpD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-settings.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/site-settings.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"site-settings.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/site-settings.js"],"names":[],"mappings":"AAuBA,uCAEC;AAED,+CAMC;AAED,qCAGC"}
|