Skip to content

Commit db5dfbd

Browse files
docs: use sub titles for better readability
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 03825d7 commit db5dfbd

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/reference/functions/typescript/sdk.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function setDocStore(params: SetDocStoreParams): void;
3434

3535
📦 Import from `@junobuild/functions/sdk`
3636

37-
Parameters:
37+
#### Parameters:
3838

3939
- `params`: An object containing the following fields:
4040
- `caller`: The caller initiating the operation (`RawUserId` or `UserId`).
@@ -45,11 +45,11 @@ Parameters:
4545
- `description` (optional): A short description linked with the document.
4646
- `version` (optional if new): An expected version number to prevent overwrite.
4747

48-
Returns:
48+
#### Returns:
4949

5050
- `void`
5151

52-
Throws:
52+
#### Throws:
5353

5454
- `ZodError` if the input schema is invalid.
5555
- `Error` if the operation is rejected by the Satellite (e.g. due to a failed assertion or validation error).

docs/reference/functions/typescript/utils.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ function decodeDocData<T>(data: Uint8Array): T;
3232

3333
📦 Import from `@junobuild/functions/utils`
3434

35-
Parameters:
35+
#### Parameters:
3636

3737
- `data`: A Uint8Array containing the raw binary document data.
3838

39-
Returns:
39+
#### Returns:
4040

4141
- A deserialized object of type `T`.
4242

@@ -52,10 +52,10 @@ function encodeDocData<T>(data: T): Uint8Array;
5252

5353
📦 Import from `@junobuild/functions/utils`
5454

55-
Parameters:
55+
#### Parameters:
5656

5757
- `data`: A JavaScript object to serialize.
5858

59-
Returns:
59+
#### Returns:
6060

6161
- A `Uint8Array` containing the encoded binary data.

0 commit comments

Comments
 (0)