Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tours #2420

Merged
merged 3 commits into from
Nov 9, 2023
Merged

Tours #2420

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/foundry/client/core/tour.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {};
export { Tour };

declare global {
/** A step in a Tour */
Expand Down
1 change: 1 addition & 0 deletions src/foundry/client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ import "./dice";
import "./game";
import "./head";
import "./pixi";
import "./tours";
import "./tail";
import "./ui";
9 changes: 9 additions & 0 deletions src/foundry/client/tours/canvas-tour.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Tour } from "../core/tour";

declare global {
class CanvasTour extends Tour {
override start(): Promise<void>;
override get canStart(): boolean;
protected override _preStep(): Promise<void>;
}
}
3 changes: 3 additions & 0 deletions src/foundry/client/tours/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import "./canvas-tour";
import "./setup-tour";
import "./sidebar-tour";
13 changes: 13 additions & 0 deletions src/foundry/client/tours/setup-tour.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Tour } from "../core/tour";
import { Application } from "../apps/app";

declare global {
class SetupTour extends Tour {
focusedApp: Application<any>;
override get canStart(): boolean;
override get steps(): TourStep[];
protected override _preStep(): Promise<void>;
private _installingASystem(): Promise<void>;
private _creatingAWorld(): Promise<void>;
}
}
9 changes: 9 additions & 0 deletions src/foundry/client/tours/sidebar-tour.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Tour } from "../core/tour";

declare global {
class SidebarTour extends Tour {
override start(): Promise<void>;
protected override _preStep(): Promise<void>;
_updateSidebarTab(): Promise<void>;
}
}
Loading