@workbuddy/cli-edge 1.0.0 → 1.0.2

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 +44 -93
  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: ""
@@ -4740,8 +4733,8 @@ var operations = [
4740
4733
  },
4741
4734
  {
4742
4735
  name: "body",
4743
- cliName: "body",
4744
- optionKey: "body",
4736
+ cliName: "body-body",
4737
+ optionKey: "bodyBody",
4745
4738
  source: "body",
4746
4739
  type: "object",
4747
4740
  required: false,
@@ -4850,8 +4843,8 @@ var operations = [
4850
4843
  },
4851
4844
  {
4852
4845
  name: "body",
4853
- cliName: "body",
4854
- optionKey: "body",
4846
+ cliName: "body-body",
4847
+ optionKey: "bodyBody",
4855
4848
  source: "body",
4856
4849
  type: "object",
4857
4850
  required: false,
@@ -4924,8 +4917,8 @@ var operations = [
4924
4917
  },
4925
4918
  {
4926
4919
  name: "body",
4927
- cliName: "body",
4928
- optionKey: "body",
4920
+ cliName: "body-body",
4921
+ optionKey: "bodyBody",
4929
4922
  source: "body",
4930
4923
  type: "object",
4931
4924
  required: false,
@@ -5027,8 +5020,8 @@ var operations = [
5027
5020
  },
5028
5021
  {
5029
5022
  name: "body",
5030
- cliName: "body",
5031
- optionKey: "body",
5023
+ cliName: "body-body",
5024
+ optionKey: "bodyBody",
5032
5025
  source: "body",
5033
5026
  type: "object",
5034
5027
  required: false,
@@ -5083,8 +5076,8 @@ var operations = [
5083
5076
  },
5084
5077
  {
5085
5078
  name: "body",
5086
- cliName: "body",
5087
- optionKey: "body",
5079
+ cliName: "body-body",
5080
+ optionKey: "bodyBody",
5088
5081
  source: "body",
5089
5082
  type: "object",
5090
5083
  required: false,
@@ -5262,8 +5255,8 @@ var operations = [
5262
5255
  },
5263
5256
  {
5264
5257
  name: "body",
5265
- cliName: "body",
5266
- optionKey: "body",
5258
+ cliName: "body-body",
5259
+ optionKey: "bodyBody",
5267
5260
  source: "body",
5268
5261
  type: "object",
5269
5262
  required: false,
@@ -5381,8 +5374,8 @@ var operations = [
5381
5374
  },
5382
5375
  {
5383
5376
  name: "body",
5384
- cliName: "body",
5385
- optionKey: "body",
5377
+ cliName: "body-body",
5378
+ optionKey: "bodyBody",
5386
5379
  source: "body",
5387
5380
  type: "object",
5388
5381
  required: false,
@@ -5464,8 +5457,8 @@ var operations = [
5464
5457
  },
5465
5458
  {
5466
5459
  name: "body",
5467
- cliName: "body",
5468
- optionKey: "body",
5460
+ cliName: "body-body",
5461
+ optionKey: "bodyBody",
5469
5462
  source: "body",
5470
5463
  type: "object",
5471
5464
  required: false,
@@ -5576,8 +5569,8 @@ var operations = [
5576
5569
  },
5577
5570
  {
5578
5571
  name: "body",
5579
- cliName: "body",
5580
- optionKey: "body",
5572
+ cliName: "body-body",
5573
+ optionKey: "bodyBody",
5581
5574
  source: "body",
5582
5575
  type: "object",
5583
5576
  required: false,
@@ -5641,8 +5634,8 @@ var operations = [
5641
5634
  },
5642
5635
  {
5643
5636
  name: "body",
5644
- cliName: "body",
5645
- optionKey: "body",
5637
+ cliName: "body-body",
5638
+ optionKey: "bodyBody",
5646
5639
  source: "body",
5647
5640
  type: "object",
5648
5641
  required: false,
@@ -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.2",
4
4
  "description": "WorkBuddy command line interface",
5
5
  "license": "MIT",
6
6
  "type": "module",