@taktoria/sdk 0.2.3 → 0.2.4

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@taktoria/sdk",
46
- "X-Fern-SDK-Version": "0.2.3",
47
- "User-Agent": "@taktoria/sdk/0.2.3",
46
+ "X-Fern-SDK-Version": "0.2.4",
47
+ "User-Agent": "@taktoria/sdk/0.2.4",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -9,6 +9,13 @@ export interface ScorecardRow {
9
9
  /** Its tags, A to Z. */
10
10
  tags: string[];
11
11
  weight: number;
12
+ /**
13
+ * The objective it aligns to, if any. The Scorecard page sets an
14
+ * aligned objective in its parent's rows, in its own time frame's
15
+ * column after the parent's key results there, when the parent is
16
+ * on the scorecard too.
17
+ */
18
+ parentObjectiveId?: string;
12
19
  timeframe: Taktoria.ScorecardTimeframe;
13
20
  /** Rolled up from its key results, by weight. */
14
21
  cells: Record<string, Taktoria.ScorecardCell>;
@@ -12,6 +12,7 @@ export declare namespace ScorecardRow {
12
12
  description?: string | null;
13
13
  tags: string[];
14
14
  weight: number;
15
+ parentObjectiveId?: string | null;
15
16
  timeframe: ScorecardTimeframe.Raw;
16
17
  cells: Record<string, ScorecardCell.Raw>;
17
18
  keyResults: ScorecardKeyResultRow.Raw[];
@@ -45,6 +45,7 @@ exports.ScorecardRow = core.serialization.object({
45
45
  description: core.serialization.string().optional(),
46
46
  tags: core.serialization.list(core.serialization.string()),
47
47
  weight: core.serialization.number(),
48
+ parentObjectiveId: core.serialization.string().optional(),
48
49
  timeframe: ScorecardTimeframe_js_1.ScorecardTimeframe,
49
50
  cells: core.serialization.record(core.serialization.string(), ScorecardCell_js_1.ScorecardCell),
50
51
  keyResults: core.serialization.list(ScorecardKeyResultRow_js_1.ScorecardKeyResultRow),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.2.3";
1
+ export declare const SDK_VERSION = "0.2.4";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.2.3";
4
+ exports.SDK_VERSION = "0.2.4";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@taktoria/sdk",
9
- "X-Fern-SDK-Version": "0.2.3",
10
- "User-Agent": "@taktoria/sdk/0.2.3",
9
+ "X-Fern-SDK-Version": "0.2.4",
10
+ "User-Agent": "@taktoria/sdk/0.2.4",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -9,6 +9,13 @@ export interface ScorecardRow {
9
9
  /** Its tags, A to Z. */
10
10
  tags: string[];
11
11
  weight: number;
12
+ /**
13
+ * The objective it aligns to, if any. The Scorecard page sets an
14
+ * aligned objective in its parent's rows, in its own time frame's
15
+ * column after the parent's key results there, when the parent is
16
+ * on the scorecard too.
17
+ */
18
+ parentObjectiveId?: string;
12
19
  timeframe: Taktoria.ScorecardTimeframe;
13
20
  /** Rolled up from its key results, by weight. */
14
21
  cells: Record<string, Taktoria.ScorecardCell>;
@@ -12,6 +12,7 @@ export declare namespace ScorecardRow {
12
12
  description?: string | null;
13
13
  tags: string[];
14
14
  weight: number;
15
+ parentObjectiveId?: string | null;
15
16
  timeframe: ScorecardTimeframe.Raw;
16
17
  cells: Record<string, ScorecardCell.Raw>;
17
18
  keyResults: ScorecardKeyResultRow.Raw[];
@@ -9,6 +9,7 @@ export const ScorecardRow = core.serialization.object({
9
9
  description: core.serialization.string().optional(),
10
10
  tags: core.serialization.list(core.serialization.string()),
11
11
  weight: core.serialization.number(),
12
+ parentObjectiveId: core.serialization.string().optional(),
12
13
  timeframe: ScorecardTimeframe,
13
14
  cells: core.serialization.record(core.serialization.string(), ScorecardCell),
14
15
  keyResults: core.serialization.list(ScorecardKeyResultRow),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.2.3";
1
+ export declare const SDK_VERSION = "0.2.4";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.2.3";
1
+ export const SDK_VERSION = "0.2.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taktoria/sdk",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "main": "./dist/cjs/index.js",