@stacksjs/actions 0.75.519 → 0.75.522

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/action.d.ts CHANGED
@@ -146,6 +146,9 @@ export declare class Action<TModel = string, TValidations extends ActionValidati
146
146
  handle: ActionOptions<TModel, TValidations, TPath, TPayload, TResult, TInvocation>['handle'];
147
147
  model?: string;
148
148
  modelDefinition?: TModel;
149
+ private _dependenciesFactory;
150
+ private _resolvedDeps;
151
+ private _depsOverrides;
149
152
  constructor({
150
153
  name,
151
154
  description,
@@ -174,3 +177,4 @@ export declare class Action<TModel = string, TValidations extends ActionValidati
174
177
  overrideDependencies(overrides: Record<string, unknown>): void;
175
178
  resetDependencies(): void;
176
179
  }
180
+ export {};
@@ -35,26 +35,26 @@ export declare const ANDROID_UNMAPPED_CRAFT_FLAGS: Readonly<Record<`enable${stri
35
35
  * Connect reads and no background refresh.
36
36
  */
37
37
  export declare const CRAFT_ANDROID_FLOORS: {
38
- audioRecording: '0.0.324';
38
+ readonly audioRecording: '0.0.324';
39
39
  /** The native app shell: tabs, paths to screens, the app script, synchronous stores. */
40
- nativeShell: '0.0.169';
40
+ readonly nativeShell: '0.0.169';
41
41
  /** Verified HTTPS hosts and ordered website path exclusions. */
42
- appLinks: '0.0.201';
43
- bluetooth: '0.0.178';
42
+ readonly appLinks: '0.0.201';
43
+ readonly bluetooth: '0.0.178';
44
44
  /** CraftHeartRate.kt: Bluetooth heart-rate straps, the same `craft.heartRate` as iOS. */
45
- heartRate: '0.0.247';
45
+ readonly heartRate: '0.0.247';
46
46
  /** Health Connect for native screens (workouts, sleep, heart rate, mindful, nutrition). */
47
- healthConnect: '0.0.169';
47
+ readonly healthConnect: '0.0.169';
48
48
  /** WorkManager background refresh for the app script. */
49
- backgroundRefresh: '0.0.169';
49
+ readonly backgroundRefresh: '0.0.169';
50
50
  /** `bundleRelease` (an AAB for Google Play) and release signing from the environment. */
51
- appBundle: '0.0.169';
51
+ readonly appBundle: '0.0.169';
52
52
  /** CraftCrashReporter.kt: uncaught exceptions, ANRs, JavaScript errors, the outbox. */
53
- crashReporting: '0.0.179';
53
+ readonly crashReporting: '0.0.179';
54
54
  /** A white notification glyph and tint for push, local and recording notifications. */
55
- notificationIcon: '0.0.241';
55
+ readonly notificationIcon: '0.0.241';
56
56
  /** The accelerometer's `shake` event. Tagged at 0.0.427, first published in 0.0.435. */
57
- shakeGesture: '0.0.435'
57
+ readonly shakeGesture: '0.0.435'
58
58
  };
59
59
  export declare interface CraftAndroidConfig {
60
60
  [key: string]: unknown
@@ -45,3 +45,4 @@ declare type Env = Record<string, string | undefined>;
45
45
  export declare class IosToolchainError extends Error {
46
46
  name: string;
47
47
  }
48
+ export {};
@@ -6,8 +6,6 @@ import type { DesktopAgentManifest, MacosAgentBundle, MacosDistribution, Resolve
6
6
  * without WebKit and say nothing, leaving every `<WebView>` blank.
7
7
  */
8
8
  export declare function craftSupportsWebkit(source: string): boolean;
9
- /** What the host binary depends on, so a rebuilt screen reuses it and a new Craft does not. */
10
- declare function hostKey(entry: string, root: string, webkit?: boolean): string;
11
9
  export declare function prepareMacosNative(config: ResolvedMacosDesktop, options?: { root?: string }): Promise<PreparedMacosNative>;
12
10
  /** Where the agent's own routes are: `macos.agent.entry`, else `app/Desktop/Agent.ts` when the project has one. */
13
11
  export declare function macosAgentEntry(root: string, config: Pick<ResolvedMacosDesktop, 'agent'>): string | undefined;
@@ -57,3 +55,4 @@ declare type CompileNativeBundle = (options: {
57
55
  app?: string
58
56
  shareStorage?: Record<string, string>
59
57
  }) => Promise<{ outFile?: string, diagnostics?: Array<{ level?: string, message: string, file?: string }> }>;
58
+ export {};
@@ -14,3 +14,4 @@ declare interface MobileBuildTarget {
14
14
  fallbackWebAssets?: string
15
15
  production?: boolean
16
16
  }
17
+ export {};
@@ -57,3 +57,4 @@ declare type CompileNativeBundle = (options: {
57
57
  /** Web-storage keys shared with the Keychain: a web view's sign-in is the native screens' (stx 0.2.661 and later). */
58
58
  shareStorage?: Record<string, string>
59
59
  }) => Promise<NativeBundleResult>;
60
+ export {};
@@ -7,3 +7,4 @@ type ChangelogOptions = {
7
7
  version?: string
8
8
  r?: string
9
9
  }
10
+ export {};
@@ -33,3 +33,4 @@ declare interface UndeployStackOptions {
33
33
  region: string
34
34
  verbose?: boolean
35
35
  }
36
+ export {};
@@ -8,3 +8,4 @@ declare interface CraftApplication {
8
8
  close: () => void
9
9
  }
10
10
  declare type CraftCreateApp = (options: Record<string, unknown>) => CraftApplication;
11
+ export {};
@@ -63,3 +63,4 @@ export declare interface PublishGitHubReleaseOptions {
63
63
  run?: RunCommand
64
64
  }
65
65
  declare type RunCommand = (cmd: string[], input?: string) => { exitCode: number, stdout: string }
66
+ export {};
@@ -78,3 +78,4 @@ export type RunnableActionName = keyof RunnableActions extends never
78
78
  */
79
79
  // eslint-disable-next-line ts/ban-types -- `string & {}` keeps literal completions alive
80
80
  declare type Action = RunnableActionName | (string & {});
81
+ export {};
@@ -45,3 +45,4 @@ export declare interface ReleaseEvidenceOptions {
45
45
  maxExpandedBytes?: number
46
46
  }
47
47
  declare type PackageFiles = Map<string, { sha256: string, bytes: number }>;
48
+ export {};
@@ -1,2 +1,3 @@
1
+ import process from 'node:process';
1
2
  /** Resolve the configured upstream and required source-CI branch before release writes. */
2
- export declare function releasePushTarget(cwd?: unknown, requiredBranch?: string): { remote: string, ref: string };
3
+ export declare function releasePushTarget(cwd?: ReturnType<typeof process.cwd>, requiredBranch?: string): { remote: string, ref: string };
@@ -17,3 +17,4 @@ export declare interface ReviewOsEvidencePlan {
17
17
  steps: string[]
18
18
  }
19
19
  declare type Decision = { state: 'pending' } | { state: 'accepted', number: number, url: string }
20
+ export {};
package/dist/seo.d.ts CHANGED
@@ -127,3 +127,4 @@ export declare interface SiteSeoHandlerOptions {
127
127
  /** Why a view was left out of the sitemap, for the boot report and tests. */
128
128
  export type SitemapSkipReason = 'dynamic' | 'error-page' | 'non-page' | 'noindex' | 'auth' | 'excluded' | 'disallowed';
129
129
  declare type SeoFile = 'sitemap.xml' | 'robots.txt';
130
+ export {};
@@ -5,24 +5,24 @@
5
5
  * which works with the @stacksjs/strings template function
6
6
  */
7
7
  export declare const CODE_TEMPLATES: {
8
- action: string;
9
- actionWithValidation: string;
10
- actionWithAuth: string;
11
- actionWithBoth: string;
12
- component: string;
13
- page: string;
14
- function: string;
15
- language: string;
16
- notification: string;
17
- mail: string;
18
- mailTemplate: string;
19
- middleware: string;
20
- model: string;
21
- migration: string;
22
- stackPackageJson: string;
23
- job: string;
24
- event: string;
25
- listener: string;
26
- command: string
8
+ readonly action: string;
9
+ readonly actionWithValidation: string;
10
+ readonly actionWithAuth: string;
11
+ readonly actionWithBoth: string;
12
+ readonly component: string;
13
+ readonly page: string;
14
+ readonly function: string;
15
+ readonly language: string;
16
+ readonly notification: string;
17
+ readonly mail: string;
18
+ readonly mailTemplate: string;
19
+ readonly middleware: string;
20
+ readonly model: string;
21
+ readonly migration: string;
22
+ readonly stackPackageJson: string;
23
+ readonly job: string;
24
+ readonly event: string;
25
+ readonly listener: string;
26
+ readonly command: string
27
27
  };
28
28
  export type TemplateKey = keyof typeof CODE_TEMPLATES;
@@ -112,3 +112,4 @@ declare type PostSyncSpawn = (options: PostSyncSpawnOptions) => { exited: Promis
112
112
  * directory - not `node_modules` - is what module resolution actually reads.
113
113
  */
114
114
  export type DependencyInstaller = 'bun' | 'pantry';
115
+ export {};
@@ -92,3 +92,4 @@ declare interface ProjectPackageJson {
92
92
  [key: string]: unknown
93
93
  }
94
94
  export type DetectedAiProvider = 'claude' | 'codex' | 'cursor' | 'copilot' | 'gemini';
95
+ export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.519",
5
+ "version": "0.75.522",
6
6
  "description": "The Stacks actions.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -66,54 +66,54 @@
66
66
  "prepublishOnly": "bun run build"
67
67
  },
68
68
  "dependencies": {
69
- "@stacksjs/action-runner": "0.75.519",
70
- "@stacksjs/ai": "0.75.519",
71
- "@stacksjs/analytics": "0.75.519",
72
- "@stacksjs/api": "0.75.519",
73
- "@stacksjs/auth": "0.75.519",
74
- "@stacksjs/build": "0.75.519",
69
+ "@stacksjs/action-runner": "0.75.522",
70
+ "@stacksjs/ai": "0.75.522",
71
+ "@stacksjs/analytics": "0.75.522",
72
+ "@stacksjs/api": "0.75.522",
73
+ "@stacksjs/auth": "0.75.522",
74
+ "@stacksjs/build": "0.75.522",
75
75
  "@stacksjs/bumpx": "^0.2.26",
76
76
  "@stacksjs/bunpress": "^0.2.15",
77
- "@stacksjs/cli": "0.75.519",
78
- "@stacksjs/cloud": "0.75.519",
79
- "@stacksjs/cms": "0.75.519",
77
+ "@stacksjs/cli": "0.75.522",
78
+ "@stacksjs/cloud": "0.75.522",
79
+ "@stacksjs/cms": "0.75.522",
80
80
  "@stacksjs/components": "0.2.807",
81
- "@stacksjs/config": "0.75.519",
82
- "@stacksjs/database": "0.75.519",
83
- "@stacksjs/desktop-build": "0.75.519",
84
- "@stacksjs/dns": "0.75.519",
85
- "@stacksjs/enums": "0.75.519",
86
- "@stacksjs/env": "0.75.519",
87
- "@stacksjs/error-handling": "0.75.519",
88
- "@stacksjs/github": "0.75.519",
81
+ "@stacksjs/config": "0.75.522",
82
+ "@stacksjs/database": "0.75.522",
83
+ "@stacksjs/desktop-build": "0.75.522",
84
+ "@stacksjs/dns": "0.75.522",
85
+ "@stacksjs/enums": "0.75.522",
86
+ "@stacksjs/env": "0.75.522",
87
+ "@stacksjs/error-handling": "0.75.522",
88
+ "@stacksjs/github": "0.75.522",
89
89
  "@stacksjs/gitit": "^0.2.5",
90
- "@stacksjs/i18n": "0.75.519",
91
- "@stacksjs/image": "0.75.519",
92
- "@stacksjs/logging": "0.75.519",
90
+ "@stacksjs/i18n": "0.75.522",
91
+ "@stacksjs/image": "0.75.522",
92
+ "@stacksjs/logging": "0.75.522",
93
93
  "@stacksjs/logsmith": "^0.2.11",
94
- "@stacksjs/mobile": "0.75.519",
95
- "@stacksjs/orm": "0.75.519",
96
- "@stacksjs/path": "0.75.519",
97
- "@stacksjs/payments": "0.75.519",
98
- "@stacksjs/queue": "0.75.519",
99
- "@stacksjs/registry": "0.75.519",
100
- "@stacksjs/router": "0.75.519",
94
+ "@stacksjs/mobile": "0.75.522",
95
+ "@stacksjs/orm": "0.75.522",
96
+ "@stacksjs/path": "0.75.522",
97
+ "@stacksjs/payments": "0.75.522",
98
+ "@stacksjs/queue": "0.75.522",
99
+ "@stacksjs/registry": "0.75.522",
100
+ "@stacksjs/router": "0.75.522",
101
101
  "@stacksjs/rpx": "^0.11.54",
102
- "@stacksjs/scheduler": "0.75.519",
103
- "@stacksjs/search-engine": "0.75.519",
104
- "@stacksjs/security": "0.75.519",
105
- "@stacksjs/server": "0.75.519",
106
- "@stacksjs/sites": "0.75.519",
107
- "@stacksjs/storage": "0.75.519",
108
- "@stacksjs/strings": "0.75.519",
102
+ "@stacksjs/scheduler": "0.75.522",
103
+ "@stacksjs/search-engine": "0.75.522",
104
+ "@stacksjs/security": "0.75.522",
105
+ "@stacksjs/server": "0.75.522",
106
+ "@stacksjs/sites": "0.75.522",
107
+ "@stacksjs/storage": "0.75.522",
108
+ "@stacksjs/strings": "0.75.522",
109
109
  "@stacksjs/stx": "0.2.807",
110
110
  "@stacksjs/tlsx": "^0.13.19",
111
111
  "@stacksjs/ts-cloud": "^0.16.109",
112
112
  "@stacksjs/ts-md": "^0.1.1",
113
- "@stacksjs/tunnel": "0.75.519",
114
- "@stacksjs/types": "0.75.519",
115
- "@stacksjs/utils": "0.75.519",
116
- "@stacksjs/whois": "0.75.519",
113
+ "@stacksjs/tunnel": "0.75.522",
114
+ "@stacksjs/types": "0.75.522",
115
+ "@stacksjs/utils": "0.75.522",
116
+ "@stacksjs/whois": "0.75.522",
117
117
  "bun-plugin-stx": "0.2.807"
118
118
  },
119
119
  "peerDependencies": {
@@ -129,7 +129,7 @@
129
129
  }
130
130
  },
131
131
  "devDependencies": {
132
- "@stacksjs/validation": "0.75.519",
132
+ "@stacksjs/validation": "0.75.522",
133
133
  "better-dx": "^0.2.24"
134
134
  }
135
135
  }