@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/okr/types/ScorecardRow.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardRow.d.ts +1 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardRow.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/okr/types/ScorecardRow.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardRow.d.mts +1 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardRow.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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.
|
|
47
|
-
"User-Agent": "@taktoria/sdk/0.2.
|
|
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),
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.2.
|
|
1
|
+
export declare const SDK_VERSION = "0.2.4";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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.
|
|
10
|
-
"User-Agent": "@taktoria/sdk/0.2.
|
|
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),
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.2.
|
|
1
|
+
export declare const SDK_VERSION = "0.2.4";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.2.
|
|
1
|
+
export const SDK_VERSION = "0.2.4";
|