@nyrra/prismantix-cli 0.0.3-next.30 → 0.0.3-next.32

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.
package/dist/api.js CHANGED
@@ -140,10 +140,10 @@ export class ApiDecodeError extends Schema.TaggedError()("ApiDecodeError", {
140
140
  export class PrismantixApiClient extends Context.Service()("@prismantix/cli/PrismantixApiClient") {
141
141
  }
142
142
  const apiConfig = (apiKeyOverride) => Config.all({
143
- apiBaseUrl: Config.withDefault(Config.nonEmptyString("PRISMANTIX_API_BASE"), DEFAULT_API_BASE_URL),
143
+ apiBaseUrl: Config.withDefault(Config.NonEmptyString("PRISMANTIX_API_BASE"), DEFAULT_API_BASE_URL),
144
144
  apiKey: apiKeyOverride
145
145
  ? Config.succeed(Redacted.make(apiKeyOverride))
146
- : Config.redacted("PRISMANTIX_API_KEY"),
146
+ : Config.Redacted("PRISMANTIX_API_KEY"),
147
147
  });
148
148
  export const makePrismantixApiClientLayer = (options = {}) => Layer.effect(PrismantixApiClient, Effect.gen(function* () {
149
149
  const config = yield* apiConfig(options.apiKey).pipe(Effect.mapError(() => new ApiConfigurationError({
@@ -82,42 +82,6 @@
82
82
  "list.js"
83
83
  ]
84
84
  },
85
- "ontology:list": {
86
- "aliases": [],
87
- "args": {},
88
- "description": "List every registered PrismantiX ontology.",
89
- "flags": {
90
- "api-base": {
91
- "description": "PrismantiX API base URL.",
92
- "env": "PRISMANTIX_API_BASE",
93
- "name": "api-base",
94
- "hasDynamicHelp": false,
95
- "multiple": false,
96
- "type": "option"
97
- },
98
- "json": {
99
- "description": "Print one machine-readable JSON result to stdout.",
100
- "name": "json",
101
- "allowNo": false,
102
- "type": "boolean"
103
- }
104
- },
105
- "hasDynamicHelp": false,
106
- "hiddenAliases": [],
107
- "id": "ontology:list",
108
- "pluginAlias": "@nyrra/prismantix-cli",
109
- "pluginName": "@nyrra/prismantix-cli",
110
- "pluginType": "core",
111
- "strict": true,
112
- "enableJsonFlag": false,
113
- "isESM": true,
114
- "relativePath": [
115
- "dist",
116
- "commands",
117
- "ontology",
118
- "list.js"
119
- ]
120
- },
121
85
  "records:cancel": {
122
86
  "aliases": [],
123
87
  "args": {
@@ -361,7 +325,43 @@
361
325
  "records",
362
326
  "status.js"
363
327
  ]
328
+ },
329
+ "ontology:list": {
330
+ "aliases": [],
331
+ "args": {},
332
+ "description": "List every registered PrismantiX ontology.",
333
+ "flags": {
334
+ "api-base": {
335
+ "description": "PrismantiX API base URL.",
336
+ "env": "PRISMANTIX_API_BASE",
337
+ "name": "api-base",
338
+ "hasDynamicHelp": false,
339
+ "multiple": false,
340
+ "type": "option"
341
+ },
342
+ "json": {
343
+ "description": "Print one machine-readable JSON result to stdout.",
344
+ "name": "json",
345
+ "allowNo": false,
346
+ "type": "boolean"
347
+ }
348
+ },
349
+ "hasDynamicHelp": false,
350
+ "hiddenAliases": [],
351
+ "id": "ontology:list",
352
+ "pluginAlias": "@nyrra/prismantix-cli",
353
+ "pluginName": "@nyrra/prismantix-cli",
354
+ "pluginType": "core",
355
+ "strict": true,
356
+ "enableJsonFlag": false,
357
+ "isESM": true,
358
+ "relativePath": [
359
+ "dist",
360
+ "commands",
361
+ "ontology",
362
+ "list.js"
363
+ ]
364
364
  }
365
365
  },
366
- "version": "0.0.3-next.30"
366
+ "version": "0.0.3-next.32"
367
367
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nyrra/prismantix-cli",
3
3
  "description": "PrismantiX API client CLI.",
4
- "version": "0.0.3-next.30",
4
+ "version": "0.0.3-next.32",
5
5
  "author": "NYRRA Inc.",
6
6
  "bin": {
7
7
  "prismantix": "bin/run.js"
@@ -13,7 +13,7 @@
13
13
  "@oclif/core": "^4.11.14",
14
14
  "@oclif/plugin-help": "^6.2.53",
15
15
  "@oclif/plugin-plugins": "5.4.86",
16
- "effect": "4.0.0-beta.106"
16
+ "effect": "4.0.0-rc.116"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@oclif/test": "^4.1.20",