@pnp/cli-microsoft365 6.3.0-beta.37c6261 → 6.3.0-beta.4c3b2c9

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/Command.js CHANGED
@@ -484,15 +484,15 @@ class Command {
484
484
  const title = this.getLogItemTitle(l);
485
485
  const id = this.getLogItemId(l);
486
486
  if (title && id) {
487
- output.push(`## ${title} (${id})`);
487
+ output.push(`## ${title} (${id})`, os.EOL, os.EOL);
488
488
  }
489
489
  else if (title) {
490
- output.push(`## ${title}`);
490
+ output.push(`## ${title}`, os.EOL, os.EOL);
491
491
  }
492
492
  else if (id) {
493
- output.push(`## ${id}`);
493
+ output.push(`## ${id}`, os.EOL, os.EOL);
494
494
  }
495
- output.push(os.EOL, os.EOL, `Property | Value`, os.EOL, `---------|-------`, os.EOL);
495
+ output.push(`Property | Value`, os.EOL, `---------|-------`, os.EOL);
496
496
  output.push(Object.keys(l).map(k => {
497
497
  const value = l[k];
498
498
  let stringValue = value;
@@ -79,7 +79,7 @@ class PlannerPlanRemoveCommand extends GraphCommand_1.default {
79
79
  return planner_1.planner.getPlanById(id, 'minimal');
80
80
  }
81
81
  const groupId = yield this.getGroupId(args);
82
- return yield planner_1.planner.getPlanByTitle(title, groupId, 'minimal');
82
+ return yield planner_1.planner.getPlanByTitle(title, groupId, undefined, 'minimal');
83
83
  });
84
84
  }
85
85
  getGroupId(args) {
@@ -69,6 +69,9 @@ class PlannerTaskAddCommand extends GraphCommand_1.default {
69
69
  };
70
70
  const newTask = yield request_1.default.post(requestOptions);
71
71
  const result = yield this.updateTaskDetails(args.options, newTask);
72
+ if (result.description) {
73
+ result.hasDescription = true;
74
+ }
72
75
  logger.log(result);
73
76
  }
74
77
  catch (err) {
@@ -53,6 +53,9 @@ class SpoSiteDesignAddCommand extends SpoCommand_1.default {
53
53
  if (args.options.previewImageAltText) {
54
54
  info.PreviewImageAltText = args.options.previewImageAltText;
55
55
  }
56
+ if (args.options.thumbnailUrl) {
57
+ info.ThumbnailUrl = args.options.thumbnailUrl;
58
+ }
56
59
  if (args.options.isDefault) {
57
60
  info.IsDefault = true;
58
61
  }
@@ -83,6 +86,7 @@ _SpoSiteDesignAddCommand_instances = new WeakSet(), _SpoSiteDesignAddCommand_ini
83
86
  description: (!(!args.options.description)).toString(),
84
87
  previewImageUrl: (!(!args.options.previewImageUrl)).toString(),
85
88
  previewImageAltText: (!(!args.options.previewImageAltText)).toString(),
89
+ thumbnailUrl: (!(!args.options.thumbnailUrl)).toString(),
86
90
  isDefault: args.options.isDefault || false
87
91
  });
88
92
  });
@@ -100,6 +104,8 @@ _SpoSiteDesignAddCommand_instances = new WeakSet(), _SpoSiteDesignAddCommand_ini
100
104
  option: '-m, --previewImageUrl [previewImageUrl]'
101
105
  }, {
102
106
  option: '-a, --previewImageAltText [previewImageAltText]'
107
+ }, {
108
+ option: '--thumbnailUrl [thumbnailUrl]'
103
109
  }, {
104
110
  option: '--isDefault'
105
111
  });
@@ -28,6 +28,9 @@ m365 spo sitedesign add [options]
28
28
  `-a, --previewImageAltText [previewImageAltText]`
29
29
  : The alt text description of the image for accessibility
30
30
 
31
+ `--thumbnailUrl [thumbnailUrl]`
32
+ : The new URL of a thumbnail image. If none is specified SharePoint will use a generic image
33
+
31
34
  `--isDefault`
32
35
  : Set if the site design is applied as the default site design
33
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.3.0-beta.37c6261",
3
+ "version": "6.3.0-beta.4c3b2c9",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",