@colony2/jobdb 0.0.34 → 0.0.36

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 (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -129,14 +129,18 @@ types, and runtime package reference.
129
129
  ## Tenant Configuration
130
130
 
131
131
  Every backend provides a tenant configuration store and public administration API.
132
- Set or remove JSON values through a running server:
132
+ Set strings by default, or use `--json` (`-j`) for JSON values, through a running server:
133
133
 
134
134
  ```sh
135
- printf '%s' '{"region":"eu-west-1","parallelism":4}' | jobdb config set build.defaults -t tenant-a -f -
136
- jobdb config add build.defaults -t tenant-a -f ./defaults.json
135
+ jobdb config set codex_api_base_url -t tenant-a -f ./codex.url
136
+ printf '%s' '{"region":"eu-west-1","parallelism":4}' | jobdb config set build.defaults -t tenant-a -f - -j
137
+ jobdb config add build.defaults -t tenant-a -f ./defaults.json --json
137
138
  jobdb config remove build.defaults -t tenant-a
138
139
  ```
139
140
 
141
+ String input preserves whitespace, including trailing newlines. Existing commands
142
+ that supply JSON must now include `--json` (`-j`).
143
+
140
144
  `--url` (`-u`) selects the server (default `http://127.0.0.1:9047`). Set
141
145
  `JOBDB_BEARER_TOKEN` if deployment authentication requires it. `--if-match`
142
146
  accepts a quoted ETag for conditional writes. Configuration is ordinary JSON
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@colony2/jobdb",
3
3
  "type": "module",
4
- "version": "0.0.34",
4
+ "version": "0.0.36",
5
5
  "description": "jobdb job system",
6
6
  "scripts": {
7
7
  "postinstall": "node install.js",
@@ -30,51 +30,51 @@
30
30
  },
31
31
  "archives": {
32
32
  "darwin-arm64": {
33
- "name": "jobdb_0.0.34_Darwin_arm64.tar.gz",
34
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.34/jobdb_0.0.34_Darwin_arm64.tar.gz",
33
+ "name": "jobdb_0.0.36_Darwin_arm64.tar.gz",
34
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.36/jobdb_0.0.36_Darwin_arm64.tar.gz",
35
35
  "bins": [
36
36
  "jobdb"
37
37
  ],
38
38
  "format": "tar.gz",
39
39
  "checksum": {
40
40
  "algorithm": "sha256",
41
- "digest": "ee95c0f4e7bbc42578118a434322323fa9ebf0ea3771203fd8b525eb27db047d"
41
+ "digest": "20a18e5445cd37d79654f5f6e7775353d42af015e7d072d6665f5d40c11d9e75"
42
42
  }
43
43
  },
44
44
  "darwin-x64": {
45
- "name": "jobdb_0.0.34_Darwin_x86_64.tar.gz",
46
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.34/jobdb_0.0.34_Darwin_x86_64.tar.gz",
45
+ "name": "jobdb_0.0.36_Darwin_x86_64.tar.gz",
46
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.36/jobdb_0.0.36_Darwin_x86_64.tar.gz",
47
47
  "bins": [
48
48
  "jobdb"
49
49
  ],
50
50
  "format": "tar.gz",
51
51
  "checksum": {
52
52
  "algorithm": "sha256",
53
- "digest": "876500906c1f9a05ff8e34b917701d70708879703c34d5f813d310d662066377"
53
+ "digest": "f85d10e62a02319cec76989685b8491b86248e412b8dbf870c46fb1440fc6f5c"
54
54
  }
55
55
  },
56
56
  "linux-arm64": {
57
- "name": "jobdb_0.0.34_Linux_arm64.tar.gz",
58
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.34/jobdb_0.0.34_Linux_arm64.tar.gz",
57
+ "name": "jobdb_0.0.36_Linux_arm64.tar.gz",
58
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.36/jobdb_0.0.36_Linux_arm64.tar.gz",
59
59
  "bins": [
60
60
  "jobdb"
61
61
  ],
62
62
  "format": "tar.gz",
63
63
  "checksum": {
64
64
  "algorithm": "sha256",
65
- "digest": "b7395102f78118b37e3d2b90a2dbd88f1ebe175db2abbb4311f8faabd8a0d9b8"
65
+ "digest": "c407fca2f6e6543635d1b2c122482da4227bb242790aa7ade9e835b330097c15"
66
66
  }
67
67
  },
68
68
  "linux-x64": {
69
- "name": "jobdb_0.0.34_Linux_x86_64.tar.gz",
70
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.34/jobdb_0.0.34_Linux_x86_64.tar.gz",
69
+ "name": "jobdb_0.0.36_Linux_x86_64.tar.gz",
70
+ "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.36/jobdb_0.0.36_Linux_x86_64.tar.gz",
71
71
  "bins": [
72
72
  "jobdb"
73
73
  ],
74
74
  "format": "tar.gz",
75
75
  "checksum": {
76
76
  "algorithm": "sha256",
77
- "digest": "712ae28df59303c6b8ed1dad822bee7f469414d0fe3ddf12f225d9ff1def5531"
77
+ "digest": "4bef1e14bad5bd0816fcd54270faad17756922509d794dff356af24afeac0478"
78
78
  }
79
79
  }
80
80
  },