Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .swm/how-to-add-a-new-user-configuration-value.mnbf3.sw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
id: mnbf3
name: ⚙️ How to Add a New User Configuration Value
file_version: 1.0.2
app_version: 0.8.2-0
file_blobs:
package.json: 3f8f60fe132239f750302fb2222f56fe42321aba
---

## Why is This Important?

david is the king

## What is "{add an example configuration value}"?

{Describe an example configuration value, and some details on what it does}

In this document we will see how to make this value configurable (instead of constant in the code).

## Definition Example

We define our configuration values in {add a file or directory, use the "/path" command}

<br/>

<!-- NOTE-swimm-snippet: the lines below link your snippet to Swimm -->
### 📄 package.json
```json
⬜ 4 "description": "",
⬜ 5 "main": "index.js",
⬜ 6 "scripts": {
🟩 7 "test": "echo \"Error: no test specified\" && exit 1"
⬜ 8 },
⬜ 9 "author": "",
⬜ 10 "license": "ISC"
```

<br/>

## Usage Example

{Add an example of where the configurable value is used in the code}

<br/>



<br/>

## Updating an Existing Configuration Value

{Add any required migrations, or other actions, when updating an existing configuration value}

<br/>



<br/>

This file was generated by Swimm. [Click here to view it in the app](https://swimm-web-app.web.app/repos/Z2l0aHViJTNBJTNBa2x1bSUzQSUzQWQtc3R1ZmY=/docs/mnbf3).
6 changes: 6 additions & 0 deletions .swm/swimm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"repo_id": "Z2l0aHViJTNBJTNBa2x1bSUzQSUzQWQtc3R1ZmY=",
"configuration": {
"swmd": true
}
}