@t4h.framework/cache 0.5.0 → 0.6.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/CHANGELOG.md ADDED
@@ -0,0 +1,36 @@
1
+ # @t4h.framework/cache
2
+
3
+ ## 0.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Updated dependencies [[`8098041`](https://github.com/tech4humans-brasil/framework/commit/80980419d59a987378b7c94372ee2f7b7dcc00f5)]:
8
+ - @t4h.framework/core@0.10.0
9
+
10
+ ## 0.5.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Update skills ([`6d7e7bc`](https://github.com/tech4humans-brasil/framework/commit/6d7e7bca0c780a9c53a0c9e5aa0a865c5af67959))
15
+
16
+ ## 0.4.0
17
+
18
+ ### Patch Changes
19
+
20
+ - Internal dependency updates
21
+
22
+ ## 0.3.0
23
+
24
+ ### Minor Changes
25
+
26
+ - Adds .ai/skills in packages ([#88](https://github.com/tech4humans-brasil/framework/pull/88))
27
+
28
+ ### Patch Changes
29
+
30
+ - Remove activity prefix from cache claim class name ([`4fa4ec9`](https://github.com/tech4humans-brasil/framework/commit/4fa4ec9e319fffeae0b5c96e0ec0e9cfa4e22c22))
31
+ - Adds github workflow to run, build, tests and lint ([#18](https://github.com/tech4humans-brasil/framework/pull/18))
32
+ - Adds readme ([`d810413`](https://github.com/tech4humans-brasil/framework/commit/d810413e79a04425013c836f76a2dd72ccaf4252))
33
+ - Update package metadata and author information across multiple packages ([`2ca73df`](https://github.com/tech4humans-brasil/framework/commit/2ca73df42dc63c86ed44717b50d5402fca45b4e7))
34
+ - Improve repository info ([`1fad92d`](https://github.com/tech4humans-brasil/framework/commit/1fad92d959b804189fd1486d047115995ac81eb0))
35
+ - Fix resolve module resolution issues in check-types ([`c97a0d2`](https://github.com/tech4humans-brasil/framework/commit/c97a0d2747f38e561cc5c7d592b20de0459bc1ee))
36
+ - Update package dependencies across multiple packages ([`8b4fc1d`](https://github.com/tech4humans-brasil/framework/commit/8b4fc1d0e92d6bd880ddf4c8119fb68c49c53760))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t4h.framework/cache",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Cache module for the T4H Framework",
5
5
  "homepage": "https://github.com/tech4humans-brasil/framework/tree/main/packages/cache",
6
6
  "bugs": "https://github.com/tech4humans-brasil/framework/issues",
@@ -30,11 +30,11 @@
30
30
  "prepublishOnly": "yarn build"
31
31
  },
32
32
  "devDependencies": {
33
- "@t4h.framework/core": "^0.8.0",
33
+ "@t4h.framework/core": "^0.10.0",
34
34
  "typescript": "^5.9.3"
35
35
  },
36
36
  "peerDependencies": {
37
- "@t4h.framework/core": "^0.8.0"
37
+ "@t4h.framework/core": "^0.10.0"
38
38
  },
39
39
  "packageManager": "yarn@4.12.0",
40
40
  "engines": {
@@ -1,9 +0,0 @@
1
- import type { Serializable } from '@t4h.framework/core';
2
- export interface ActivityCacheClaimSetOptions {
3
- ttl?: number;
4
- }
5
- export declare abstract class ActivityCacheClaim {
6
- abstract get<T extends Serializable>(key: string): T | undefined | Promise<T | undefined>;
7
- abstract set(key: string, value: Serializable, options?: ActivityCacheClaimSetOptions): Promise<void>;
8
- }
9
- //# sourceMappingURL=ActivityCacheClaim.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActivityCacheClaim.d.ts","sourceRoot":"","sources":["../src/ActivityCacheClaim.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,WAAW,4BAA4B;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,8BAAsB,kBAAkB;aACtB,GAAG,CAAC,CAAC,SAAS,YAAY,EACxC,GAAG,EAAE,MAAM,GACV,CAAC,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;aAEzB,GAAG,CACjB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,YAAY,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;CACjB"}
@@ -1,3 +0,0 @@
1
- export class ActivityCacheClaim {
2
- }
3
- //# sourceMappingURL=ActivityCacheClaim.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActivityCacheClaim.js","sourceRoot":"","sources":["../src/ActivityCacheClaim.ts"],"names":[],"mappings":"AAMA,MAAM,OAAgB,kBAAkB;CAUvC"}
@@ -1,3 +0,0 @@
1
- import { CacheClaim } from '../CacheClaim.js';
2
- export declare function mockCacheClaim(implementation?: Partial<CacheClaim>): import("@t4h.framework/core").ClaimProvider<CacheClaim>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,wBAAgB,cAAc,CAC5B,cAAc,GAAE,OAAO,CAAC,UAAU,CAAM,2DAWzC"}
@@ -1,13 +0,0 @@
1
- import { mockClaim } from '@t4h.framework/core/testing';
2
- import { CacheClaim } from '../CacheClaim.js';
3
- export function mockCacheClaim(implementation = {}) {
4
- const store = new Map();
5
- return mockClaim(CacheClaim, {
6
- get: async (key) => store.get(key),
7
- set: async (key, value) => {
8
- store.set(key, value);
9
- },
10
- ...implementation,
11
- });
12
- }
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,MAAM,UAAU,cAAc,CAC5B,iBAAsC,EAAE;IAExC,MAAM,KAAK,GAAG,IAAI,GAAG,EAAmB,CAAA;IAExC,OAAO,SAAS,CAAC,UAAU,EAAE;QAC3B,GAAG,EAAE,KAAK,EAAC,GAAG,EAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAU;QACzC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE;YACxB,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QACvB,CAAC;QACD,GAAG,cAAc;KAClB,CAAC,CAAA;AACJ,CAAC"}