@privateaim/kit 0.8.9 → 0.8.10

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.10](https://github.com/PrivateAIM/hub/compare/v0.8.9...v0.8.10) (2025-04-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * better typing for slot props ([58d514b](https://github.com/PrivateAIM/hub/commit/58d514b96d759eab9356431876cd15d9ed592f4f))
9
+
3
10
  ## [0.8.9](https://github.com/PrivateAIM/hub/compare/v0.8.8...v0.8.9) (2025-04-17)
4
11
 
5
12
 
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export * from './domains';
3
3
  export * from './domain-event';
4
4
  export * from './utils';
5
5
  export * from './constants';
6
+ export * from './types';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type ObjectLiteral = Record<string, any>;
2
+ export type ObjectLiteralKeys<T extends ObjectLiteral> = {
3
+ [K in keyof T as `${K & (string | number)}`]: T[K];
4
+ };
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAChD,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,aAAa,IAAI;KACpD,CAAC,IAAI,MAAM,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;CACrD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@privateaim/kit",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "exports": {
package/src/index.ts CHANGED
@@ -10,3 +10,4 @@ export * from './domains';
10
10
  export * from './domain-event';
11
11
  export * from './utils';
12
12
  export * from './constants';
13
+ export * from './types';
package/src/types.ts ADDED
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) 2025.
3
+ * Author Peter Placzek (tada5hi)
4
+ * For the full copyright and license information,
5
+ * view the LICENSE file that was distributed with this source code.
6
+ */
7
+
8
+ export type ObjectLiteral = Record<string, any>;
9
+ export type ObjectLiteralKeys<T extends ObjectLiteral> = {
10
+ [K in keyof T as `${K & (string | number)}`]: T[K];
11
+ };