@beeblock/svelar 0.4.3 → 0.4.4
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/dist/cli/bin.js +375 -198
- package/dist/cli/commands/MakeEventCommand.d.ts +6 -2
- package/dist/cli/commands/MakeListenerCommand.d.ts +7 -2
- package/dist/cli/commands/NewCommand.d.ts +9 -2
- package/dist/cli/commands/NewCommandTemplates.d.ts +5 -0
- package/dist/cli/index.js +73 -73
- package/package.json +1 -1
|
@@ -6,6 +6,10 @@ export declare class MakeEventCommand extends Command {
|
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
arguments: string[];
|
|
9
|
-
flags:
|
|
10
|
-
|
|
9
|
+
flags: {
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
type: "string";
|
|
13
|
+
}[];
|
|
14
|
+
handle(args: string[], flags: Record<string, any>): Promise<void>;
|
|
11
15
|
}
|
|
@@ -6,11 +6,16 @@ export declare class MakeListenerCommand extends Command {
|
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
arguments: string[];
|
|
9
|
-
flags: {
|
|
9
|
+
flags: ({
|
|
10
10
|
name: string;
|
|
11
11
|
alias: string;
|
|
12
12
|
description: string;
|
|
13
13
|
type: "string";
|
|
14
|
-
}
|
|
14
|
+
} | {
|
|
15
|
+
name: string;
|
|
16
|
+
description: string;
|
|
17
|
+
type: "string";
|
|
18
|
+
alias?: undefined;
|
|
19
|
+
})[];
|
|
15
20
|
handle(args: string[], flags: Record<string, any>): Promise<void>;
|
|
16
21
|
}
|
|
@@ -4,18 +4,25 @@
|
|
|
4
4
|
* Scaffolds a complete SvelteKit + Svelar SaaS project with auth,
|
|
5
5
|
* dashboard, admin panel, jobs, tasks, and 90+ API endpoints.
|
|
6
6
|
* Usage: npx svelar new my-app
|
|
7
|
+
* npx svelar new my-app --flat
|
|
7
8
|
*/
|
|
8
9
|
import { Command } from '../Command.js';
|
|
9
10
|
export declare class NewCommand extends Command {
|
|
10
11
|
name: string;
|
|
11
12
|
description: string;
|
|
12
13
|
arguments: string[];
|
|
13
|
-
flags: {
|
|
14
|
+
flags: ({
|
|
14
15
|
name: string;
|
|
15
16
|
alias: string;
|
|
16
17
|
description: string;
|
|
17
18
|
type: "boolean";
|
|
18
19
|
default: boolean;
|
|
19
|
-
}
|
|
20
|
+
} | {
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
type: "boolean";
|
|
24
|
+
default: boolean;
|
|
25
|
+
alias?: undefined;
|
|
26
|
+
})[];
|
|
20
27
|
handle(args: string[], flags: Record<string, any>): Promise<void>;
|
|
21
28
|
}
|
|
@@ -10,6 +10,7 @@ export declare class NewCommandTemplates {
|
|
|
10
10
|
static viteConfig(): string;
|
|
11
11
|
static tsConfig(): string;
|
|
12
12
|
static appHtml(): string;
|
|
13
|
+
static faviconSvg(): string;
|
|
13
14
|
static appCss(): string;
|
|
14
15
|
static appTs(): string;
|
|
15
16
|
static hooksServerTs(): string;
|
|
@@ -27,6 +28,10 @@ export declare class NewCommandTemplates {
|
|
|
27
28
|
static adminController(): string;
|
|
28
29
|
static registerRequest(): string;
|
|
29
30
|
static loginRequest(): string;
|
|
31
|
+
static forgotPasswordRequest(): string;
|
|
32
|
+
static resetPasswordRequest(): string;
|
|
33
|
+
static otpSendRequest(): string;
|
|
34
|
+
static otpVerifyRequest(): string;
|
|
30
35
|
static createPostRequest(): string;
|
|
31
36
|
static updatePostRequest(): string;
|
|
32
37
|
static registerUserAction(): string;
|