@timber-js/app 0.2.0-alpha.217 → 0.2.0-alpha.219

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.
Files changed (81) hide show
  1. package/agent-skill.md +5 -5
  2. package/dist/_chunks/{actions-CUh3cClk.js → actions-BwkmAYXq.js} +8 -1
  3. package/dist/_chunks/actions-BwkmAYXq.js.map +1 -0
  4. package/dist/_chunks/cloudflare-Byxl8FWP.js.map +1 -1
  5. package/dist/_chunks/dev-server-B8zsT-ee.js.map +1 -1
  6. package/dist/_chunks/dist-DtrJyBbw.js.map +1 -1
  7. package/dist/_chunks/graph-cache-CYiUS2aS.js.map +1 -1
  8. package/dist/_chunks/use-query-states-I3JMng6J.js.map +1 -1
  9. package/dist/adapters/cloudflare.js +1 -2
  10. package/dist/adapters/nitro.js.map +1 -1
  11. package/dist/analyze/graph-command.js.map +1 -1
  12. package/dist/client/error-boundary.js +1 -2
  13. package/dist/client/form.d.ts +34 -37
  14. package/dist/client/form.d.ts.map +1 -1
  15. package/dist/client/index.d.ts +3 -3
  16. package/dist/client/index.d.ts.map +1 -1
  17. package/dist/client/index.js +40 -75
  18. package/dist/client/index.js.map +1 -1
  19. package/dist/client/{use-form-field.d.ts → use-field-state.d.ts} +10 -7
  20. package/dist/client/use-field-state.d.ts.map +1 -0
  21. package/dist/config-types.d.ts +15 -18
  22. package/dist/config-types.d.ts.map +1 -1
  23. package/dist/cookies/index.js.map +1 -1
  24. package/dist/index.js +29 -27
  25. package/dist/index.js.map +1 -1
  26. package/dist/plugins/build-manifest.d.ts.map +1 -1
  27. package/dist/plugins/shims.d.ts.map +1 -1
  28. package/dist/search-params/index.js.map +1 -1
  29. package/dist/server/action-client.d.ts +11 -172
  30. package/dist/server/action-client.d.ts.map +1 -1
  31. package/dist/server/action-handler.d.ts +0 -7
  32. package/dist/server/action-handler.d.ts.map +1 -1
  33. package/dist/server/action-schema.d.ts +126 -0
  34. package/dist/server/action-schema.d.ts.map +1 -0
  35. package/dist/server/action-types.d.ts +108 -0
  36. package/dist/server/action-types.d.ts.map +1 -0
  37. package/dist/server/form-data.d.ts +7 -0
  38. package/dist/server/form-data.d.ts.map +1 -1
  39. package/dist/server/index.d.ts +3 -2
  40. package/dist/server/index.d.ts.map +1 -1
  41. package/dist/server/index.js +511 -148
  42. package/dist/server/index.js.map +1 -1
  43. package/dist/server/internal.js +12 -3
  44. package/dist/server/internal.js.map +1 -1
  45. package/dist/server/pipeline-metadata.d.ts +9 -0
  46. package/dist/server/pipeline-metadata.d.ts.map +1 -1
  47. package/dist/server/pipeline-phases.d.ts.map +1 -1
  48. package/dist/server/rsc-entry/action-dispatcher.d.ts +0 -3
  49. package/dist/server/rsc-entry/action-dispatcher.d.ts.map +1 -1
  50. package/dist/server/rsc-entry/index.d.ts.map +1 -1
  51. package/dist/server/schema-introspection.d.ts +68 -0
  52. package/dist/server/schema-introspection.d.ts.map +1 -0
  53. package/dist/server/sensitive-fields.d.ts +40 -26
  54. package/dist/server/sensitive-fields.d.ts.map +1 -1
  55. package/dist/server/sitemap-handler.d.ts.map +1 -1
  56. package/docs/api/31-api-client.mdx +19 -18
  57. package/docs/api/34-api-config.mdx +1 -1
  58. package/docs/learn/08-forms-and-actions.mdx +57 -23
  59. package/package.json +8 -8
  60. package/src/client/browser-entry/index.ts +7 -1
  61. package/src/client/form.tsx +57 -108
  62. package/src/client/index.ts +3 -3
  63. package/src/client/{use-form-field.ts → use-field-state.ts} +20 -8
  64. package/src/config-types.ts +15 -18
  65. package/src/plugins/build-manifest.ts +12 -27
  66. package/src/plugins/shims.ts +0 -1
  67. package/src/server/action-client.ts +82 -307
  68. package/src/server/action-handler.ts +1 -42
  69. package/src/server/action-schema.ts +203 -0
  70. package/src/server/action-types.ts +145 -0
  71. package/src/server/form-data.ts +7 -0
  72. package/src/server/index.ts +5 -3
  73. package/src/server/pipeline-metadata.ts +11 -1
  74. package/src/server/pipeline-phases.ts +9 -2
  75. package/src/server/rsc-entry/action-dispatcher.ts +0 -4
  76. package/src/server/rsc-entry/index.ts +1 -2
  77. package/src/server/schema-introspection.ts +393 -0
  78. package/src/server/sensitive-fields.ts +115 -58
  79. package/src/server/sitemap-handler.ts +14 -21
  80. package/dist/_chunks/actions-CUh3cClk.js.map +0 -1
  81. package/dist/client/use-form-field.d.ts.map +0 -1
@@ -0,0 +1,108 @@
1
+ /**
2
+ * Types for `createActionClient` actions: what a caller passes, what the
3
+ * action body receives, and the result the client reads.
4
+ *
5
+ * A validated action has two input types. Callers pass the schema's input
6
+ * (`SchemaInput`), the values before coercion: a form's strings, or whatever
7
+ * a direct call hands it. The body receives the schema's output
8
+ * (`SchemaOutput`), after coercion and defaults.
9
+ *
10
+ * See design/08-forms-and-actions.md §"Middleware and Server Actions"
11
+ */
12
+ import type { ActionSchema, SchemaInput, SchemaOutput } from './action-schema.ts';
13
+ /** Recursion budget for `FieldPath`: six levels, then a path ends in `string`. */
14
+ type Depth = [never, 0, 1, 2, 3, 4, 5, 6];
15
+ /**
16
+ * The dot paths of the fields in `T`, as a form names them and a validation
17
+ * error is keyed: `title`, `user.email`, `sets.${number}.name`.
18
+ *
19
+ * An input of unknown shape has `string` paths, so nothing is rejected: an
20
+ * action with no schema (`undefined` input, whose only validation errors are
21
+ * `fileSizeLimit`'s) and a schema that declares no types.
22
+ */
23
+ export type FieldPath<T> = unknown extends T ? string : [T] extends [undefined] ? string : PathsOf<NonNullable<T>, 5>;
24
+ type PathsOf<T, D extends number> = [D] extends [never] ? string : unknown extends T ? never : T extends File | Blob | Date ? never : T extends readonly (infer Item)[] ? `${number}` | `${number}.${PathsOf<NonNullable<Item>, Depth[D]>}` : T extends object ? {
25
+ [K in keyof T & string]-?: K | `${K}.${PathsOf<NonNullable<T[K]>, Depth[D]>}`;
26
+ }[keyof T & string] : never;
27
+ /**
28
+ * Validation errors keyed by field path. `_root` holds errors that belong to
29
+ * the whole input rather than one field.
30
+ */
31
+ export type ValidationErrors<TPath extends string = string> = {
32
+ [K in TPath | '_root']?: string[];
33
+ };
34
+ /** Middleware function: returns context to merge into the action body's ctx. */
35
+ export type ActionMiddleware<TCtx = Record<string, unknown>> = () => Promise<TCtx> | TCtx;
36
+ /** A typed failure: an `ActionError`'s code and data, or `INTERNAL_ERROR`. */
37
+ export interface ActionServerError {
38
+ code: string;
39
+ data?: Record<string, unknown>;
40
+ }
41
+ /**
42
+ * The result returned to the client. `TInput` is the schema's input type,
43
+ * which keys `validationErrors` by the input's field paths.
44
+ */
45
+ export type ActionResult<TData = unknown, TInput = unknown> = {
46
+ data: TData;
47
+ validationErrors?: never;
48
+ serverError?: never;
49
+ submittedValues?: never;
50
+ } | {
51
+ data?: never;
52
+ validationErrors: ValidationErrors<FieldPath<TInput>>;
53
+ serverError?: never;
54
+ /** Raw input values on validation failure — for repopulating form fields. */
55
+ submittedValues?: Record<string, unknown>;
56
+ } | {
57
+ data?: never;
58
+ validationErrors?: never;
59
+ serverError: ActionServerError;
60
+ /**
61
+ * The submitted form, when the input was FormData — for repopulating
62
+ * form fields, which React resets after the action (TIM-1573).
63
+ */
64
+ submittedValues?: Record<string, unknown>;
65
+ };
66
+ /** Context passed to the action body. */
67
+ export interface ActionContext<TCtx, TInput> {
68
+ ctx: TCtx;
69
+ input: TInput;
70
+ }
71
+ /** Intermediate builder returned by createActionClient(). */
72
+ export interface ActionBuilder<TCtx> {
73
+ /** Declare the input schema. Validation errors are returned typed. */
74
+ schema<S extends ActionSchema>(schema: S): ActionBuilderWithSchema<TCtx, SchemaInput<S>, SchemaOutput<S>>;
75
+ /** Define the action body without input validation. */
76
+ action<TData>(fn: (ctx: ActionContext<TCtx, undefined>) => Promise<TData>): ActionFn<TData, undefined>;
77
+ }
78
+ /** Builder after .schema() has been called. */
79
+ export interface ActionBuilderWithSchema<TCtx, TInput, TOutput = TInput> {
80
+ /** Define the action body. It receives the schema's output. */
81
+ action<TData>(fn: (ctx: ActionContext<TCtx, TOutput>) => Promise<TData>): ActionFn<TData, TInput>;
82
+ }
83
+ /**
84
+ * The final action function. Callable three ways:
85
+ * - Direct: action(input) → Promise<ActionResult<TData>>
86
+ * - React useActionState: action(prevState, payload) → Promise<ActionResult<TData>>,
87
+ * where payload is the submitted FormData or the value dispatch was called with
88
+ * - React <form action={fn}>: action(formData) → void (return value ignored by React)
89
+ *
90
+ * `TInput` is what callers pass: the schema's input type. The third overload
91
+ * exists purely for type compatibility with React's `<form action>` prop,
92
+ * which expects `(formData: FormData) => void`. At runtime the function still
93
+ * returns Promise<ActionResult>, but React discards it. This lets validated
94
+ * actions be passed directly to forms without casts.
95
+ */
96
+ export type ActionFn<TData = unknown, TInput = unknown> = {
97
+ /** <form action={fn}> compatibility — React discards the return value. */
98
+ (formData: FormData): void;
99
+ /** Direct call: action(input) — optional when TInput is undefined/unknown (no-schema actions). */
100
+ (...args: undefined extends TInput ? [input?: TInput] : [input: TInput]): Promise<ActionResult<TData, TInput>>;
101
+ /**
102
+ * React useActionState: action(prevState, payload). The payload is the
103
+ * submitted FormData, or whatever the hook's dispatch was called with.
104
+ */
105
+ (prevState: ActionResult<TData, TInput> | null, payload: TInput | FormData): Promise<ActionResult<TData, TInput>>;
106
+ };
107
+ export {};
108
+ //# sourceMappingURL=action-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-types.d.ts","sourceRoot":"","sources":["../../src/server/action-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIlF,kFAAkF;AAClF,KAAK,KAAK,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE1C;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,OAAO,SAAS,CAAC,GACxC,MAAM,GACN,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,C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uB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM;IACrE,+DAA+D;IAC/D,MAAM,CAAC,KAAK,EAAE,EAAE,EAAE,CAAC,GAAG,EAAE,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CACnG;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI;IACxD,0EAA0E;IAC1E,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,kGAAkG;IAClG,CACE,GAAG,IAAI,EAAE,SAAS,SAAS,MAAM,GAAG,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,GACrE,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;IACxC;;;OAGG;IACH,CACE,SAAS,EAAE,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,IAAI,EAC7C,OAAO,EAAE,MAAM,GAAG,QAAQ,GACzB,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;CACzC,CAAC"}
@@ -24,6 +24,13 @@
24
24
  * - **Empty Files → undefined**: File inputs with no selection become `undefined`
25
25
  * - **Strips `$ACTION_*` fields**: React's internal hidden fields are excluded
26
26
  * - **Drops `__proto__` paths and names deeper than 32 segments**
27
+ *
28
+ * A field's shape follows its count: a name sent once is a scalar, several
29
+ * times an array, never at all absent. A `createActionClient` action with a
30
+ * schema then gives every field the schema declares as a list one shape
31
+ * (`normalizeListFields` in `schema-introspection.ts`). A raw call, and a raw
32
+ * `'use server'` action that calls this itself, keep the count-dependent
33
+ * shape.
27
34
  */
28
35
  export declare function parseFormData(formData: FormData): Record<string, unknown>;
29
36
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../src/server/form-data.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA2BzE;AAgID;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,MAAM;IACjB;;;;;;;;;;;OAWG;IACH,IAAI,QAAQ,OAAO,GAAG,MAAM,GAAG,SAAS;IAMxC;;;;;;OAMG;IACH,MAAM,QAAQ,OAAO,GAAG,MAAM,GAAG,SAAS;IAS1C;;;;;OAKG;IACH,QAAQ,QAAQ,OAAO,GAAG,OAAO;IAOjC;;;;;OAKG;IACH,IAAI,QAAQ,OAAO,GAAG,OAAO;IAU7B;;;;;;;;OAQG;IACH,IAAI,QAAQ,OAAO,GAAG,IAAI,GAAG,SAAS;IAgCtC;;;;;;;;;;;;;;OAcG;IACH,IAAI,WAAW;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAAG,SAAS;CAmB9F,CAAC"}
1
+ {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../src/server/form-data.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA2BzE;AAgID;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,MAAM;IACjB;;;;;;;;;;;OAWG;IACH,IAAI,QAAQ,OAAO,GAAG,MAAM,GAAG,SAAS;IAMxC;;;;;;OAMG;IACH,MAAM,QAAQ,OAAO,GAAG,MAAM,GAAG,SAAS;IAS1C;;;;;OAKG;IACH,QAAQ,QAAQ,OAAO,GAAG,OAAO;IAOjC;;;;;OAKG;IACH,IAAI,QAAQ,OAAO,GAAG,OAAO;IAU7B;;;;;;;;OAQG;IACH,IAAI,QAAQ,OAAO,GAAG,IAAI,GAAG,SAAS;IAgCtC;;;;;;;;;;;;;;OAcG;IACH,IAAI,WAAW;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAAG,SAAS;CAmB9F,CAAC"}
@@ -7,8 +7,9 @@ export type { ReadonlyHeaders } from './request-context.ts';
7
7
  export { getCookieJar } from './cookie-context.ts';
8
8
  export type { RequestCookies, CookieOptions, SetCookieOptions } from './cookie-context.ts';
9
9
  export { deny, redirect, redirectExternal, RedirectType, waitUntil, type DenyOptions, type RedirectOptions, } from './primitives.ts';
10
- export { createActionClient, ActionError, validated } from './action-client.ts';
11
- export type { ActionResult, ActionFn, ActionBuilder, ActionBuilderWithSchema, ActionContext, ActionMiddleware, ActionSchema, ValidationErrors, } from './action-client.ts';
10
+ export { createActionClient, ActionError } from './action-client.ts';
11
+ export type { ActionResult, ActionFn, ActionBuilder, ActionBuilderWithSchema, ActionContext, ActionMiddleware, ActionServerError, FieldPath, ValidationErrors, } from './action-types.ts';
12
+ export type { ActionSchema, SchemaInput, SchemaOutput } from './action-schema.ts';
12
13
  export { coerce, parseFormData } from './form-data.ts';
13
14
  export { revalidatePath, revalidateTag } from './actions.ts';
14
15
  export { getTraceId, getSpanId, withSpan, addSpanEvent } from './tracing.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAMA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CA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