Skip to content

Commit 3d84239

Browse files
ci: apply automated fixes
1 parent 01e5bec commit 3d84239

60 files changed

Lines changed: 1093 additions & 961 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/extract-solid-ref.mjs

Lines changed: 596 additions & 543 deletions
Large diffs are not rendered by default.

src/routes/v2/reference/_unmapped/create-error-boundary.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { createErrorBoundary } from "@solidjs/signals";
2929

3030
```ts
3131
function createErrorBoundary<U>(
32-
fn: () => any,
33-
fallback: (error: unknown, reset: () => void) => U
32+
fn: () => any,
33+
fallback: (error: unknown, reset: () => void) => U
3434
);
3535
```

src/routes/v2/reference/_unmapped/create-loading-boundary.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import { createLoadingBoundary } from "solid-js";
2626

2727
```ts
2828
function createLoadingBoundary(
29-
fn: () => any,
30-
fallback: () => any,
31-
options?: { on?: () => any }
29+
fn: () => any,
30+
fallback: () => any,
31+
options?: { on?: () => any }
3232
): () => unknown;
3333
```

src/routes/v2/reference/_unmapped/create-reveal-order.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ source_path: "packages/solid-signals/src/boundaries.ts"
1414
Coordinate the reveal timing of sibling loading boundaries.
1515

1616
Accepts reactive accessors:
17+
1718
- `order`: `"sequential"` (default) | `"together"` | `"natural"`.
1819
- `"sequential"` — classic frontier reveal: siblings reveal in registration order
1920
as each resolves; later siblings stay hidden until earlier ones complete.
@@ -34,6 +35,7 @@ releases that slot. Once released, the inner controller runs its own order local
3435
over anything still pending. There is no opt-out from an outer hold.
3536

3637
"Minimally ready" is what an order considers its first visible content:
38+
3739
- `sequential` — frontier-0 is minimally ready (leaf: on resolve; nested: via its
3840
own minimal signal).
3941
- `together` — every direct slot is minimally ready.
@@ -50,7 +52,7 @@ import { createRevealOrder } from "solid-js";
5052

5153
```ts
5254
function createRevealOrder<T>(
53-
fn: () => T,
54-
options?: { order?: OrderAccessor; collapsed?: BoolAccessor }
55+
fn: () => T,
56+
options?: { order?: OrderAccessor; collapsed?: BoolAccessor }
5557
): T;
5658
```

src/routes/v2/reference/_unmapped/flatten.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import { flatten } from "solid-js";
2929

3030
```ts
3131
function flatten(
32-
children: any,
33-
options?: { skipNonRendered?: boolean; doNotUnwrap?: boolean }
32+
children: any,
33+
options?: { skipNonRendered?: boolean; doNotUnwrap?: boolean }
3434
): any;
3535
```
3636

src/routes/v2/reference/_unmapped/get-context.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ import { getContext } from "@solidjs/signals";
2222
## Type signature
2323

2424
```ts
25-
function getContext<T>(context: Context<T>, owner: Owner | null = getOwner()): T;
25+
function getContext<T>(
26+
context: Context<T>,
27+
owner: Owner | null = getOwner()
28+
): T;
2629
```

src/routes/v2/reference/_unmapped/merge-props.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ source_path: "packages/solid-signals/src/store/utils.ts"
1111

1212
{/* Generated by scripts/extract-solid-v2-reference.mjs. Edit the source JSDoc or route map, then regenerate. */}
1313

14-
Merges multiple props-like objects into a single proxy that *preserves
15-
reactivity*. Reads are forwarded to the right-most source that defines the
14+
Merges multiple props-like objects into a single proxy that _preserves
15+
reactivity_. Reads are forwarded to the right-most source that defines the
1616
property, so later sources override earlier ones (like `Object.assign`).
1717

1818
Function arguments are treated as memo-backed sources — useful for passing
@@ -37,8 +37,12 @@ function merge<T extends unknown[]>(...sources: T): Merge<T>;
3737

3838
```tsx
3939
function Button(_props: { label: string; type?: string; disabled?: boolean }) {
40-
const props = merge({ type: "button", disabled: false }, _props);
40+
const props = merge({ type: "button", disabled: false }, _props);
4141

42-
return <button type={props.type} disabled={props.disabled}>{props.label}</button>;
42+
return (
43+
<button type={props.type} disabled={props.disabled}>
44+
{props.label}
45+
</button>
46+
);
4347
}
4448
```

src/routes/v2/reference/_unmapped/projection-options.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import type { ProjectionOptions } from "@solidjs/signals";
2323

2424
```ts
2525
interface ProjectionOptions extends StoreOptions {
26-
/** Key property name or function for reconciliation identity */
27-
key?: string | ((item: NonNullable<any>) => any);
28-
};
26+
/** Key property name or function for reconciliation identity */
27+
key?: string | ((item: NonNullable<any>) => any);
28+
}
2929
```

src/routes/v2/reference/_unmapped/set-context.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@ import { setContext } from "@solidjs/signals";
2222
## Type signature
2323

2424
```ts
25-
function setContext<T>(context: Context<T>, value?: T, owner: Owner | null = getOwner());
25+
function setContext<T>(
26+
context: Context<T>,
27+
value?: T,
28+
owner: Owner | null = getOwner()
29+
);
2630
```

src/routes/v2/reference/_unmapped/store-options.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import type { StoreOptions } from "@solidjs/signals";
2323

2424
```ts
2525
interface StoreOptions {
26-
/** Debug name (dev mode only) */
27-
name?: string;
28-
};
26+
/** Debug name (dev mode only) */
27+
name?: string;
28+
}
2929
```

0 commit comments

Comments
 (0)