@futdevpro/fsm-dynamo 1.20.142 → 1.20.144
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/build/_collections/utils/doc-only-path.util.d.ts +4 -1
- package/build/_collections/utils/doc-only-path.util.d.ts.map +1 -1
- package/build/_collections/utils/doc-only-path.util.js +5 -1
- package/build/_collections/utils/doc-only-path.util.js.map +1 -1
- package/build/_collections/utils/time.util.d.ts +6 -0
- package/build/_collections/utils/time.util.d.ts.map +1 -1
- package/build/_collections/utils/time.util.js +15 -1
- package/build/_collections/utils/time.util.js.map +1 -1
- package/build-esm/_collections/utils/doc-only-path.util.js +5 -1
- package/build-esm/_collections/utils/time.util.js +15 -1
- package/package.json +1 -1
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
*
|
|
11
11
|
* The patterns are the Overseer's `DOC_PATTERNS` of 2026-09-24 (`CFR-FLEET-027`): `CLAUDE.md` / `AGENTS.md` / `SKILLS.md`
|
|
12
12
|
* anywhere, and anything under `__documentations/` or `__agent/` (part of the repo, never gitignored, but never the product).
|
|
13
|
-
*
|
|
13
|
+
* 🔁 **2026-10-28 (IN-2026-10-28-SH-38): `__agent-workspaces/` IS a doc path** — a workspace (QA, crusade, orchestrator)
|
|
14
|
+
* is agent documentation like `__agent/` (its logs and scripts too, as under `__agent/`). Before, it was left out
|
|
15
|
+
* only to mirror the Overseer list; measured: a new QA workspace's doc commit carried an FDP dependency bump 4 times
|
|
16
|
+
* (art-tarot, organizer, overseer `b69cde9`, fdp-assistant `4f413b7`). `x__agent-workspaces/` is still not one.
|
|
14
17
|
*/
|
|
15
18
|
export declare class DyFM_DocOnlyPath_Util {
|
|
16
19
|
/** The agent / documentation paths (repo-relative, `/`-separated; a `\` path is normalized first). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-only-path.util.d.ts","sourceRoot":"","sources":["../../../src/_collections/utils/doc-only-path.util.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"doc-only-path.util.d.ts","sourceRoot":"","sources":["../../../src/_collections/utils/doc-only-path.util.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,qBAAqB;IAEhC,sGAAsG;IACtG,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAK5C;IAEF;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAM3C;;;;;OAKG;IACH,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO;CAKxD"}
|
|
@@ -13,7 +13,10 @@ exports.DyFM_DocOnlyPath_Util = void 0;
|
|
|
13
13
|
*
|
|
14
14
|
* The patterns are the Overseer's `DOC_PATTERNS` of 2026-09-24 (`CFR-FLEET-027`): `CLAUDE.md` / `AGENTS.md` / `SKILLS.md`
|
|
15
15
|
* anywhere, and anything under `__documentations/` or `__agent/` (part of the repo, never gitignored, but never the product).
|
|
16
|
-
*
|
|
16
|
+
* 🔁 **2026-10-28 (IN-2026-10-28-SH-38): `__agent-workspaces/` IS a doc path** — a workspace (QA, crusade, orchestrator)
|
|
17
|
+
* is agent documentation like `__agent/` (its logs and scripts too, as under `__agent/`). Before, it was left out
|
|
18
|
+
* only to mirror the Overseer list; measured: a new QA workspace's doc commit carried an FDP dependency bump 4 times
|
|
19
|
+
* (art-tarot, organizer, overseer `b69cde9`, fdp-assistant `4f413b7`). `x__agent-workspaces/` is still not one.
|
|
17
20
|
*/
|
|
18
21
|
class DyFM_DocOnlyPath_Util {
|
|
19
22
|
/** The agent / documentation paths (repo-relative, `/`-separated; a `\` path is normalized first). */
|
|
@@ -21,6 +24,7 @@ class DyFM_DocOnlyPath_Util {
|
|
|
21
24
|
/(^|\/)(CLAUDE|AGENTS|SKILLS)\.md$/,
|
|
22
25
|
/(^|\/)__documentations\//,
|
|
23
26
|
/(^|\/)__agent\//,
|
|
27
|
+
/(^|\/)__agent-workspaces\//,
|
|
24
28
|
];
|
|
25
29
|
/**
|
|
26
30
|
* Whether ONE path is an agent / documentation path.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-only-path.util.js","sourceRoot":"","sources":["../../../src/_collections/utils/doc-only-path.util.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"doc-only-path.util.js","sourceRoot":"","sources":["../../../src/_collections/utils/doc-only-path.util.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,qBAAqB;IAEhC,sGAAsG;IACtG,MAAM,CAAU,WAAW,GAAsB;QAC/C,mCAAmC;QACnC,0BAA0B;QAC1B,iBAAiB;QACjB,4BAA4B;KAC7B,CAAC;IAEF;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,QAAgB;QAC/B,MAAM,UAAU,GAAW,GAAG,QAAQ,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAE1E,OAAO,CAAC,CAAC,UAAU,IAAI,qBAAqB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,OAAe,EAAW,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACxH,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,SAAS,CAAC,SAA4B;QAC3C,MAAM,KAAK,GAAa,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,QAAgB,EAAW,EAAE,CAAC,CAAC,CAAC,GAAG,QAAQ,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;QAE9G,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,QAAgB,EAAW,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;IACnH,CAAC;;AA/BH,sDAgCC"}
|
|
@@ -88,8 +88,14 @@ export declare class DyFM_Time {
|
|
|
88
88
|
static getDateByAge(age: number): Date;
|
|
89
89
|
/**
|
|
90
90
|
* returns the date x before the current date
|
|
91
|
+
*
|
|
92
|
+
* BFR-MYASSISTANT-018 - an UNKNOWN value throws a 400 (`DyFM-TIME-RD0`, with the accepted values). It used to fall
|
|
93
|
+
* to `new Date(0)` = ALL TIME, so a `24h` from a route meant the whole store, silently (measured: 1539 records under a
|
|
94
|
+
* "24h" label). For human short forms (`24h`, `7d`) see `DyNTS_ErrorsQuery_Util.resolveRange` in nts-dynamo.
|
|
95
|
+
*
|
|
91
96
|
* @param relativeDate
|
|
92
97
|
* @returns
|
|
98
|
+
* @throws DyFM_Error (status 400) for a value that is not a `DyFM_RelativeDate`
|
|
93
99
|
*
|
|
94
100
|
* @example
|
|
95
101
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.util.d.ts","sourceRoot":"","sources":["../../../src/_collections/utils/time.util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"time.util.d.ts","sourceRoot":"","sources":["../../../src/_collections/utils/time.util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAKzE;;GAEG;AACH,qBAAa,SAAS;IAEpB;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,MAAM,QAAU;IAEhC;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,MAAM,SAAU;IAEhC;;OAEG;IACH,MAA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;;OAUG;IACH,MAAM,CAAC,WAAW,CAAC,UAAU,GAAE,IAAiB,GAAG,IAAI;IAIvD;;;;;;;;;OASG;IACH,MAAM,CAAC,cAAc,IAAI,cAAc;IAMvC;;;;;;;;;OASG;IACH,MAAM,CAAC,sBAAsB,IAAI,cAAc,EAAE;IAQjD;;;;;;;;;OASG;IACH,MAAM,CAAC,oBAAoB,IAAI,cAAc,EAAE;IAQ/C;;;;;;;;;OASG;IACH,MAAM,CAAC,eAAe,IAAI,UAAU;IAMpC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAsBjE;;;;;;;;;;OAUG;IACH,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIxC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM;IAuElE;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAmBrD"}
|
|
@@ -6,6 +6,7 @@ const month_enum_1 = require("../../_enums/time/month.enum");
|
|
|
6
6
|
const day_of_week_enum_1 = require("../../_enums/time/day-of-week.enum");
|
|
7
7
|
const relative_date_enum_1 = require("../../_enums/time/relative-date.enum");
|
|
8
8
|
const math_util_1 = require("./math/math.util");
|
|
9
|
+
const error_control_model_1 = require("../../_models/control-models/error.control-model");
|
|
9
10
|
/* export type DyFM_T = DyFM_Time; */
|
|
10
11
|
/**
|
|
11
12
|
* Time utility class
|
|
@@ -108,8 +109,14 @@ class DyFM_Time {
|
|
|
108
109
|
}
|
|
109
110
|
/**
|
|
110
111
|
* returns the date x before the current date
|
|
112
|
+
*
|
|
113
|
+
* BFR-MYASSISTANT-018 - an UNKNOWN value throws a 400 (`DyFM-TIME-RD0`, with the accepted values). It used to fall
|
|
114
|
+
* to `new Date(0)` = ALL TIME, so a `24h` from a route meant the whole store, silently (measured: 1539 records under a
|
|
115
|
+
* "24h" label). For human short forms (`24h`, `7d`) see `DyNTS_ErrorsQuery_Util.resolveRange` in nts-dynamo.
|
|
116
|
+
*
|
|
111
117
|
* @param relativeDate
|
|
112
118
|
* @returns
|
|
119
|
+
* @throws DyFM_Error (status 400) for a value that is not a `DyFM_RelativeDate`
|
|
113
120
|
*
|
|
114
121
|
* @example
|
|
115
122
|
* ```ts
|
|
@@ -131,7 +138,14 @@ class DyFM_Time {
|
|
|
131
138
|
case relative_date_enum_1.DyFM_RelativeDate.allTime:
|
|
132
139
|
return new Date(0);
|
|
133
140
|
default:
|
|
134
|
-
|
|
141
|
+
throw new error_control_model_1.DyFM_Error({
|
|
142
|
+
status: 400,
|
|
143
|
+
errorCode: 'DyFM-TIME-RD0',
|
|
144
|
+
message: `Unknown relative date "${String(relativeDate).slice(0, 40)}" - accepted: `
|
|
145
|
+
+ `${Object.values(relative_date_enum_1.DyFM_RelativeDate).join(', ')}`,
|
|
146
|
+
userMessage: `Unknown time range. Accepted: ${Object.values(relative_date_enum_1.DyFM_RelativeDate).join(', ')}.`,
|
|
147
|
+
issuerService: 'DyFM_Time.getDateByRelativeDate',
|
|
148
|
+
});
|
|
135
149
|
}
|
|
136
150
|
}
|
|
137
151
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.util.js","sourceRoot":"","sources":["../../../src/_collections/utils/time.util.ts"],"names":[],"mappings":";;;AACA,0DAAwF;AACxF,6DAA0D;AAC1D,yEAAoE;AACpE,6EAAyE;AACzE,gDAA6C;
|
|
1
|
+
{"version":3,"file":"time.util.js","sourceRoot":"","sources":["../../../src/_collections/utils/time.util.ts"],"names":[],"mappings":";;;AACA,0DAAwF;AACxF,6DAA0D;AAC1D,yEAAoE;AACpE,6EAAyE;AACzE,gDAA6C;AAC7C,0FAA8E;AAE9E,qCAAqC;AACrC;;GAEG;AACH,M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C3B,CAAC;aAAM,IAAI,IAAI,GAAG,iBAAG,KAAK,CAAC,EAAE,CAAC;YAC5B,OAAO,GAAG,IAAI,GAAG,iBAAG,GAAG,CAAC;QAC1B,CAAC;aAAM,IAAI,IAAI,GAAG,kBAAI,KAAK,CAAC,EAAE,CAAC;YAC7B,OAAO,GAAG,IAAI,GAAG,kBAAI,GAAG,CAAC;QAC3B,CAAC;aAAM,IAAI,IAAI,GAAG,oBAAM,KAAK,CAAC,EAAE,CAAC;YAC/B,OAAO,GAAG,IAAI,GAAG,oBAAM,GAAG,CAAC;QAC7B,CAAC;aAAM,IAAI,IAAI,GAAG,oBAAM,KAAK,CAAC,EAAE,CAAC;YAC/B,OAAO,GAAG,IAAI,GAAG,oBAAM,GAAG,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,OAAO,GAAG,IAAI,IAAI,CAAC;QACrB,CAAC;IACH,CAAC;;AAjeH,8BAkeC"}
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
*
|
|
11
11
|
* The patterns are the Overseer's `DOC_PATTERNS` of 2026-09-24 (`CFR-FLEET-027`): `CLAUDE.md` / `AGENTS.md` / `SKILLS.md`
|
|
12
12
|
* anywhere, and anything under `__documentations/` or `__agent/` (part of the repo, never gitignored, but never the product).
|
|
13
|
-
*
|
|
13
|
+
* 🔁 **2026-10-28 (IN-2026-10-28-SH-38): `__agent-workspaces/` IS a doc path** — a workspace (QA, crusade, orchestrator)
|
|
14
|
+
* is agent documentation like `__agent/` (its logs and scripts too, as under `__agent/`). Before, it was left out
|
|
15
|
+
* only to mirror the Overseer list; measured: a new QA workspace's doc commit carried an FDP dependency bump 4 times
|
|
16
|
+
* (art-tarot, organizer, overseer `b69cde9`, fdp-assistant `4f413b7`). `x__agent-workspaces/` is still not one.
|
|
14
17
|
*/
|
|
15
18
|
export class DyFM_DocOnlyPath_Util {
|
|
16
19
|
/** The agent / documentation paths (repo-relative, `/`-separated; a `\` path is normalized first). */
|
|
@@ -18,6 +21,7 @@ export class DyFM_DocOnlyPath_Util {
|
|
|
18
21
|
/(^|\/)(CLAUDE|AGENTS|SKILLS)\.md$/,
|
|
19
22
|
/(^|\/)__documentations\//,
|
|
20
23
|
/(^|\/)__agent\//,
|
|
24
|
+
/(^|\/)__agent-workspaces\//,
|
|
21
25
|
];
|
|
22
26
|
/**
|
|
23
27
|
* Whether ONE path is an agent / documentation path.
|
|
@@ -3,6 +3,7 @@ import { DyFM_Month } from '../../_enums/time/month.enum';
|
|
|
3
3
|
import { DyFM_DayOfWeek } from '../../_enums/time/day-of-week.enum';
|
|
4
4
|
import { DyFM_RelativeDate } from '../../_enums/time/relative-date.enum';
|
|
5
5
|
import { DyFM_Math } from './math/math.util';
|
|
6
|
+
import { DyFM_Error } from '../../_models/control-models/error.control-model';
|
|
6
7
|
/* export type DyFM_T = DyFM_Time; */
|
|
7
8
|
/**
|
|
8
9
|
* Time utility class
|
|
@@ -105,8 +106,14 @@ export class DyFM_Time {
|
|
|
105
106
|
}
|
|
106
107
|
/**
|
|
107
108
|
* returns the date x before the current date
|
|
109
|
+
*
|
|
110
|
+
* BFR-MYASSISTANT-018 - an UNKNOWN value throws a 400 (`DyFM-TIME-RD0`, with the accepted values). It used to fall
|
|
111
|
+
* to `new Date(0)` = ALL TIME, so a `24h` from a route meant the whole store, silently (measured: 1539 records under a
|
|
112
|
+
* "24h" label). For human short forms (`24h`, `7d`) see `DyNTS_ErrorsQuery_Util.resolveRange` in nts-dynamo.
|
|
113
|
+
*
|
|
108
114
|
* @param relativeDate
|
|
109
115
|
* @returns
|
|
116
|
+
* @throws DyFM_Error (status 400) for a value that is not a `DyFM_RelativeDate`
|
|
110
117
|
*
|
|
111
118
|
* @example
|
|
112
119
|
* ```ts
|
|
@@ -128,7 +135,14 @@ export class DyFM_Time {
|
|
|
128
135
|
case DyFM_RelativeDate.allTime:
|
|
129
136
|
return new Date(0);
|
|
130
137
|
default:
|
|
131
|
-
|
|
138
|
+
throw new DyFM_Error({
|
|
139
|
+
status: 400,
|
|
140
|
+
errorCode: 'DyFM-TIME-RD0',
|
|
141
|
+
message: `Unknown relative date "${String(relativeDate).slice(0, 40)}" - accepted: `
|
|
142
|
+
+ `${Object.values(DyFM_RelativeDate).join(', ')}`,
|
|
143
|
+
userMessage: `Unknown time range. Accepted: ${Object.values(DyFM_RelativeDate).join(', ')}.`,
|
|
144
|
+
issuerService: 'DyFM_Time.getDateByRelativeDate',
|
|
145
|
+
});
|
|
132
146
|
}
|
|
133
147
|
}
|
|
134
148
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/fsm-dynamo",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.144",
|
|
4
4
|
"description": "Full Stack Model Collection for Dynamic (NodeJS-Typescript) Framework called Dynamo, by Future Development Ltd.",
|
|
5
5
|
"DyBu_settings": {
|
|
6
6
|
"packageType": "full-stack-package",
|