@shuffl/cli 0.5.9 → 0.5.10

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.
@@ -3185,6 +3185,10 @@ export const commands = [
3185
3185
  const: 'pulse.editProposal',
3186
3186
  type: 'string',
3187
3187
  },
3188
+ {
3189
+ const: 'pulse.groupTrends',
3190
+ type: 'string',
3191
+ },
3188
3192
  {
3189
3193
  const: 'pulse.insights',
3190
3194
  type: 'string',
@@ -13090,6 +13094,37 @@ export const commands = [
13090
13094
  scope: 'pulse:write',
13091
13095
  summary: 'Reword a suggested Pulse question before approving it',
13092
13096
  },
13097
+ {
13098
+ access: 'read',
13099
+ command: ['pulse', 'group-trends'],
13100
+ input: {
13101
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
13102
+ additionalProperties: false,
13103
+ properties: {
13104
+ days: {
13105
+ anyOf: [
13106
+ {
13107
+ const: 30,
13108
+ type: 'number',
13109
+ },
13110
+ {
13111
+ const: 90,
13112
+ type: 'number',
13113
+ },
13114
+ {
13115
+ const: 180,
13116
+ type: 'number',
13117
+ },
13118
+ ],
13119
+ },
13120
+ },
13121
+ type: 'object',
13122
+ },
13123
+ path: ['pulse', 'groupTrends'],
13124
+ permission: 'pulse.groupTrends',
13125
+ scope: 'pulse:read',
13126
+ summary: "Read each group's Pulse results over time, period by period, with the change since the start (published group totals only)",
13127
+ },
13093
13128
  {
13094
13129
  access: 'read',
13095
13130
  command: ['pulse', 'insights'],
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@orpc/client": "1.15.3",
4
- "@shuffl/api-contracts": "0.5.9",
5
- "@shuffl/sdk": "0.5.9"
4
+ "@shuffl/api-contracts": "0.5.10",
5
+ "@shuffl/sdk": "0.5.10"
6
6
  },
7
7
  "description": "Shuffl command line: every public API operation as a scriptable command with JSON output.",
8
8
  "engines": {
@@ -33,7 +33,7 @@
33
33
  "sideEffects": false,
34
34
  "type": "module",
35
35
  "types": "./dist/index.d.ts",
36
- "version": "0.5.9",
36
+ "version": "0.5.10",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }