@workbuddy/cli-edge 1.0.0 → 1.0.1

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/dist/index.js +24 -73
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4,15 +4,29 @@ var __getProtoOf = Object.getPrototypeOf;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ function __accessProp(key) {
8
+ return this[key];
9
+ }
10
+ var __toESMCache_node;
11
+ var __toESMCache_esm;
7
12
  var __toESM = (mod, isNodeMode, target) => {
13
+ var canCache = mod != null && typeof mod === "object";
14
+ if (canCache) {
15
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
16
+ var cached = cache.get(mod);
17
+ if (cached)
18
+ return cached;
19
+ }
8
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
9
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
10
22
  for (let key of __getOwnPropNames(mod))
11
23
  if (!__hasOwnProp.call(to, key))
12
24
  __defProp(to, key, {
13
- get: () => mod[key],
25
+ get: __accessProp.bind(mod, key),
14
26
  enumerable: true
15
27
  });
28
+ if (canCache)
29
+ cache.set(mod, to);
16
30
  return to;
17
31
  };
18
32
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
@@ -3352,31 +3366,10 @@ var operations = [
3352
3366
  description: ""
3353
3367
  },
3354
3368
  {
3355
- name: "tagsSet",
3356
- cliName: "tags-set",
3357
- optionKey: "tagsSet",
3358
- source: "body",
3359
- bodyPath: "tags.set",
3360
- type: "array",
3361
- required: false,
3362
- description: ""
3363
- },
3364
- {
3365
- name: "tagsAdd",
3366
- cliName: "tags-add",
3367
- optionKey: "tagsAdd",
3368
- source: "body",
3369
- bodyPath: "tags.add",
3370
- type: "array",
3371
- required: false,
3372
- description: ""
3373
- },
3374
- {
3375
- name: "tagsRemove",
3376
- cliName: "tags-remove",
3377
- optionKey: "tagsRemove",
3369
+ name: "tagIds",
3370
+ cliName: "tag-ids",
3371
+ optionKey: "tagIds",
3378
3372
  source: "body",
3379
- bodyPath: "tags.remove",
3380
3373
  type: "array",
3381
3374
  required: false,
3382
3375
  description: ""
@@ -6136,31 +6129,10 @@ var operations = [
6136
6129
  description: ""
6137
6130
  },
6138
6131
  {
6139
- name: "tagsSet",
6140
- cliName: "tags-set",
6141
- optionKey: "tagsSet",
6142
- source: "body",
6143
- bodyPath: "tags.set",
6144
- type: "array",
6145
- required: false,
6146
- description: ""
6147
- },
6148
- {
6149
- name: "tagsAdd",
6150
- cliName: "tags-add",
6151
- optionKey: "tagsAdd",
6152
- source: "body",
6153
- bodyPath: "tags.add",
6154
- type: "array",
6155
- required: false,
6156
- description: ""
6157
- },
6158
- {
6159
- name: "tagsRemove",
6160
- cliName: "tags-remove",
6161
- optionKey: "tagsRemove",
6132
+ name: "tagIds",
6133
+ cliName: "tag-ids",
6134
+ optionKey: "tagIds",
6162
6135
  source: "body",
6163
- bodyPath: "tags.remove",
6164
6136
  type: "array",
6165
6137
  required: false,
6166
6138
  description: ""
@@ -6632,31 +6604,10 @@ var operations = [
6632
6604
  description: ""
6633
6605
  },
6634
6606
  {
6635
- name: "tagsSet",
6636
- cliName: "tags-set",
6637
- optionKey: "tagsSet",
6638
- source: "body",
6639
- bodyPath: "tags.set",
6640
- type: "array",
6641
- required: false,
6642
- description: ""
6643
- },
6644
- {
6645
- name: "tagsAdd",
6646
- cliName: "tags-add",
6647
- optionKey: "tagsAdd",
6648
- source: "body",
6649
- bodyPath: "tags.add",
6650
- type: "array",
6651
- required: false,
6652
- description: ""
6653
- },
6654
- {
6655
- name: "tagsRemove",
6656
- cliName: "tags-remove",
6657
- optionKey: "tagsRemove",
6607
+ name: "tagIds",
6608
+ cliName: "tag-ids",
6609
+ optionKey: "tagIds",
6658
6610
  source: "body",
6659
- bodyPath: "tags.remove",
6660
6611
  type: "array",
6661
6612
  required: false,
6662
6613
  description: ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/cli-edge",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "WorkBuddy command line interface",
5
5
  "license": "MIT",
6
6
  "type": "module",