@cedx/base 0.32.0 → 0.33.0

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/ReadMe.md CHANGED
@@ -1,6 +1,4 @@
1
1
  # Cédric Belin's Base
2
- ![.NET](https://badgen.net/badge/.net/%3E%3D9.0/green) ![Version](https://badgen.net/badge/project/v0.32.0/blue) ![Licence](https://badgen.net/badge/licence/MIT/blue)
3
-
4
2
  Base library by [Cédric Belin](https://cedric-belin.fr), full stack developer,
5
3
  implemented in [C#](https://learn.microsoft.com/en-us/dotnet/csharp) and [TypeScript](https://www.typescriptlang.org).
6
4
 
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Defines the scenario used in data validation.
3
+ */
4
+ export declare const Scenario: Readonly<{
5
+ /**
6
+ * A scenario in which the underlying model is created.
7
+ */
8
+ Creation: "Creation";
9
+ /**
10
+ * A scenario in which the underlying model is updated.
11
+ */
12
+ Update: "Update";
13
+ }>;
14
+ /**
15
+ * Defines the scenario used in data validation.
16
+ */
17
+ export type Scenario = typeof Scenario[keyof typeof Scenario];
18
+ //# sourceMappingURL=Scenario.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scenario.d.ts","sourceRoot":"","sources":["../../src/Client/Data/Scenario.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ;IAEpB;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Defines the scenario used in data validation.
3
+ */
4
+ export const Scenario = Object.freeze({
5
+ /**
6
+ * A scenario in which the underlying model is created.
7
+ */
8
+ Creation: "Creation",
9
+ /**
10
+ * A scenario in which the underlying model is updated.
11
+ */
12
+ Update: "Update"
13
+ });
package/package.json CHANGED
@@ -7,23 +7,23 @@
7
7
  "name": "@cedx/base",
8
8
  "repository": "cedx/base",
9
9
  "type": "module",
10
- "version": "0.32.0",
10
+ "version": "0.33.0",
11
11
  "devDependencies": {
12
- "@playwright/browser-chromium": "^1.55.0",
12
+ "@playwright/browser-firefox": "^1.56.1",
13
13
  "@types/bootstrap": "^5.2.10",
14
- "@types/chai": "^5.2.2",
14
+ "@types/chai": "^5.2.3",
15
15
  "@types/mocha": "^10.0.10",
16
- "@types/node": "^24.5.2",
16
+ "@types/node": "^24.10.1",
17
17
  "@types/serve-handler": "^6.1.4",
18
- "chai": "^6.0.1",
19
- "esbuild": "^0.25.10",
20
- "globals": "^16.4.0",
21
- "mocha": "^11.7.2",
22
- "playwright": "^1.55.0",
18
+ "chai": "^6.2.1",
19
+ "esbuild": "^0.27.0",
20
+ "globals": "^16.5.0",
21
+ "mocha": "^11.7.5",
22
+ "playwright": "^1.56.1",
23
23
  "serve-handler": "^6.1.6",
24
- "typedoc": "^0.28.13",
25
- "typescript": "^5.9.2",
26
- "typescript-eslint": "^8.44.0"
24
+ "typedoc": "^0.28.14",
25
+ "typescript": "^5.9.3",
26
+ "typescript-eslint": "^8.46.4"
27
27
  },
28
28
  "engines": {
29
29
  "node": ">=24.0.0"
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Defines the scenario used in data validation.
3
+ */
4
+ export const Scenario = Object.freeze({
5
+
6
+ /**
7
+ * A scenario in which the underlying model is created.
8
+ */
9
+ Creation: "Creation",
10
+
11
+ /**
12
+ * A scenario in which the underlying model is updated.
13
+ */
14
+ Update: "Update"
15
+ });
16
+
17
+ /**
18
+ * Defines the scenario used in data validation.
19
+ */
20
+ export type Scenario = typeof Scenario[keyof typeof Scenario];