@devvit/shared 0.11.20-next-2025-07-30-23-39-02-f472e0ba8.0 → 0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/shared",
3
- "version": "0.11.20-next-2025-07-30-23-39-02-f472e0ba8.0",
3
+ "version": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,12 +23,12 @@
23
23
  },
24
24
  "types": "./index.d.ts",
25
25
  "dependencies": {
26
- "@devvit/protos": "0.11.20-next-2025-07-30-23-39-02-f472e0ba8.0",
27
- "@devvit/shared-types": "0.11.20-next-2025-07-30-23-39-02-f472e0ba8.0"
26
+ "@devvit/protos": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
27
+ "@devvit/shared-types": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@devvit/repo-tools": "0.11.20-next-2025-07-30-23-39-02-f472e0ba8.0",
31
- "@devvit/tsconfig": "0.11.20-next-2025-07-30-23-39-02-f472e0ba8.0",
30
+ "@devvit/repo-tools": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
31
+ "@devvit/tsconfig": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
32
32
  "eslint": "9.11.1",
33
33
  "typescript": "5.8.3",
34
34
  "vitest": "1.6.1"
@@ -37,5 +37,5 @@
37
37
  "directory": "dist"
38
38
  },
39
39
  "source": "./src/index.ts",
40
- "gitHead": "64d68a68cbdff8a8f652741bd00f6cc962f3782a"
40
+ "gitHead": "a22f4ae371c11088c2c95888b009a3bde094a0e5"
41
41
  }
package/types/form.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import type { FieldConfig_Boolean, FieldConfig_Number, FieldConfig_Paragraph, FieldConfig_Selection, FieldConfig_Selection_Item, FieldConfig_String } from '@devvit/protos';
2
- import type { JSONObject } from '@devvit/shared-types/json.js';
2
+ import type { JsonObject } from '@devvit/shared-types/json.js';
3
3
  import type { Prettify } from '@devvit/shared-types/Prettify.js';
4
- export type FormValues<T extends JSONObject> = T;
5
- export type FormRequest<T extends JSONObject> = T;
4
+ export type FormValues<T extends JsonObject> = T;
5
+ export type FormRequest<T extends JsonObject> = T;
6
6
  export type Form = {
7
7
  /** The fields that will be displayed in the form */
8
8
  fields: readonly FormField[];
@@ -1,4 +1,4 @@
1
- import type { JSONObject } from '@devvit/shared-types/json.js';
1
+ import type { JsonObject } from '@devvit/shared-types/json.js';
2
2
  import type { Form, FormValues } from './form.js';
3
3
  /**
4
4
  * Response format that can be returned from menu action handlers and form handlers.
@@ -6,7 +6,7 @@ import type { Form, FormValues } from './form.js';
6
6
  * This will create client-side UI effects in Reddit clients as responses to user
7
7
  * actions in cases where the Devvit app is not in the direct code path.
8
8
  */
9
- export type UiResponse<InitFormData extends JSONObject = JSONObject> = {
9
+ export type UiResponse<InitFormData extends JsonObject = JsonObject> = {
10
10
  /** Navigate the user's reddit client to this URL or Reddit Thing (containing `url`). */
11
11
  navigateTo?: string | {
12
12
  url: string;