@nu-art/ts-focused-object-shared 0.401.9 → 0.500.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/api-def.d.ts CHANGED
@@ -1,14 +1,8 @@
1
- import { ApiDefResolver, BodyApi } from '@nu-art/thunderstorm-shared';
1
+ import { ApiDefResolver, BodyApi } from '@nu-art/api-types';
2
2
  import { FocusedEntity } from './types.js';
3
- export type FocusedItem_Update = {
4
- request: {
3
+ export type API_FocusedObject = {
4
+ update: BodyApi<void, {
5
5
  focusedEntities: FocusedEntity[];
6
- };
7
- response: void;
6
+ }>;
8
7
  };
9
- export type ApiStruct_FocusedObject = {
10
- _v1: {
11
- update: BodyApi<FocusedItem_Update['response'], FocusedItem_Update['request']>;
12
- };
13
- };
14
- export declare const ApiDef_FocusedObject: ApiDefResolver<ApiStruct_FocusedObject>;
8
+ export declare const ApiDef_FocusedObject: ApiDefResolver<API_FocusedObject>;
package/api-def.js CHANGED
@@ -1,10 +1,4 @@
1
- import { HttpMethod } from '@nu-art/thunderstorm-shared';
1
+ import { HttpMethod } from '@nu-art/api-types';
2
2
  export const ApiDef_FocusedObject = {
3
- _v1: {
4
- // setFocusStatusByTabId: {method: HttpMethod.POST, path: '/v1/focus-object/set-focus-status'},
5
- // updateFocusData: {method: HttpMethod.POST, path: '/v1/focus-object/focus'},
6
- // releaseObject: {method: HttpMethod.POST, path: '/v1/focus-object/release'},
7
- // releaseByTabId: {method: HttpMethod.POST, path: '/v1/focus-object/release-tab'}, // Tab Id is sent as header, so we know what tab to release.
8
- update: { method: HttpMethod.POST, path: '/v1/focus-object/update' },
9
- }
3
+ update: { method: HttpMethod.POST, path: '/v1/focus-object/update' },
10
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/ts-focused-object-shared",
3
- "version": "0.401.9",
3
+ "version": "0.500.0",
4
4
  "description": "ts-focused-object - Express & Typescript based backend framework Shared",
5
5
  "keywords": [
6
6
  "TacB0sS",
@@ -31,10 +31,10 @@
31
31
  "build": "tsc"
32
32
  },
33
33
  "dependencies": {
34
- "@nu-art/ts-common": "0.401.9",
35
- "@nu-art/thunderstorm-shared": "0.401.9",
36
- "@nu-art/firebase-shared": "0.401.9",
37
- "@nu-art/user-account-shared": "0.401.9",
34
+ "@nu-art/api-types": "{{THUNDERSTORM_VERSION}}",
35
+ "@nu-art/ts-common": "0.500.0",
36
+ "@nu-art/firebase-shared": "0.500.0",
37
+ "@nu-art/user-account-shared": "0.500.0",
38
38
  "firebase": "^11.9.0",
39
39
  "firebase-admin": "13.4.0",
40
40
  "firebase-functions": "6.3.2",