@momoyu-ink/kit 0.5.5 → 0.6.1

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.
@@ -119,6 +119,8 @@ type GamepadCommand = {
119
119
  params: EffectParams;
120
120
  };
121
121
 
122
+ type WarpBoundary = 'before' | 'after';
123
+
122
124
  type JsonValue = number | string | boolean | Array<JsonValue> | {
123
125
  [key in string]: JsonValue;
124
126
  } | null;
@@ -173,6 +175,20 @@ type ScenarioCommand = {
173
175
  };
174
176
  } | {
175
177
  subCommand: 'getVariables';
178
+ } | {
179
+ subCommand: 'setLocalVariable';
180
+ name: string;
181
+ value: JsonValue;
182
+ } | {
183
+ subCommand: 'getLocalVariable';
184
+ name: string;
185
+ } | {
186
+ subCommand: 'setLocalVariables';
187
+ variables: {
188
+ [key in string]: JsonValue;
189
+ };
190
+ } | {
191
+ subCommand: 'getLocalVariables';
176
192
  } | {
177
193
  subCommand: 'setPermanentVariable';
178
194
  key: string;
@@ -198,6 +214,20 @@ type ScenarioCommand = {
198
214
  meta: {
199
215
  [key in string]: JsonValue;
200
216
  };
217
+ } | {
218
+ subCommand: 'restoreCheckpoint';
219
+ key: string;
220
+ } | {
221
+ subCommand: 'clearCheckpoints';
222
+ } | {
223
+ subCommand: 'getExecutionCursor';
224
+ } | {
225
+ subCommand: 'getFastForwardCheckpoint';
226
+ key: string;
227
+ } | {
228
+ subCommand: 'warp';
229
+ markerId: string;
230
+ boundary: WarpBoundary;
201
231
  } | {
202
232
  subCommand: 'getRecords';
203
233
  offset?: number;
@@ -119,6 +119,8 @@ type GamepadCommand = {
119
119
  params: EffectParams;
120
120
  };
121
121
 
122
+ type WarpBoundary = 'before' | 'after';
123
+
122
124
  type JsonValue = number | string | boolean | Array<JsonValue> | {
123
125
  [key in string]: JsonValue;
124
126
  } | null;
@@ -173,6 +175,20 @@ type ScenarioCommand = {
173
175
  };
174
176
  } | {
175
177
  subCommand: 'getVariables';
178
+ } | {
179
+ subCommand: 'setLocalVariable';
180
+ name: string;
181
+ value: JsonValue;
182
+ } | {
183
+ subCommand: 'getLocalVariable';
184
+ name: string;
185
+ } | {
186
+ subCommand: 'setLocalVariables';
187
+ variables: {
188
+ [key in string]: JsonValue;
189
+ };
190
+ } | {
191
+ subCommand: 'getLocalVariables';
176
192
  } | {
177
193
  subCommand: 'setPermanentVariable';
178
194
  key: string;
@@ -198,6 +214,20 @@ type ScenarioCommand = {
198
214
  meta: {
199
215
  [key in string]: JsonValue;
200
216
  };
217
+ } | {
218
+ subCommand: 'restoreCheckpoint';
219
+ key: string;
220
+ } | {
221
+ subCommand: 'clearCheckpoints';
222
+ } | {
223
+ subCommand: 'getExecutionCursor';
224
+ } | {
225
+ subCommand: 'getFastForwardCheckpoint';
226
+ key: string;
227
+ } | {
228
+ subCommand: 'warp';
229
+ markerId: string;
230
+ boundary: WarpBoundary;
201
231
  } | {
202
232
  subCommand: 'getRecords';
203
233
  offset?: number;
@@ -1,4 +1,4 @@
1
1
  export { Fragment, jsxDEV } from 'react/jsx-dev-runtime';
2
- export { J as JSX } from './jsx-dev-runtime-BKsP0hXU.mjs';
2
+ export { J as JSX } from './jsx-dev-runtime-CFlTWFj5.mjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
1
  export { Fragment, jsxDEV } from 'react/jsx-dev-runtime';
2
- export { J as JSX } from './jsx-dev-runtime-BKsP0hXU.js';
2
+ export { J as JSX } from './jsx-dev-runtime-CFlTWFj5.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
1
  export { Fragment, jsx, jsxs } from 'react/jsx-runtime';
2
- export { J as JSX } from './jsx-dev-runtime-BKsP0hXU.mjs';
2
+ export { J as JSX } from './jsx-dev-runtime-CFlTWFj5.mjs';
3
3
  import 'react/jsx-dev-runtime';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
1
  export { Fragment, jsx, jsxs } from 'react/jsx-runtime';
2
- export { J as JSX } from './jsx-dev-runtime-BKsP0hXU.js';
2
+ export { J as JSX } from './jsx-dev-runtime-CFlTWFj5.js';
3
3
  import 'react/jsx-dev-runtime';
4
4
  import 'react';