diff --git a/package.json b/package.json index 8fd58ff..246ba1c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@types/node": "^20.11.24" }, "dependencies": { - "@apiglobal/typedrequest-interfaces": "^2.0.1", + "@api.global/typedrequest-interfaces": "^3.0.18", "@push.rocks/smartlog-interfaces": "^3.0.0", "@tsclass/tsclass": "^4.0.52" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dbdef8d..5b1650d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,9 +5,9 @@ settings: excludeLinksFromLockfile: false dependencies: - '@apiglobal/typedrequest-interfaces': - specifier: ^2.0.1 - version: 2.0.1 + '@api.global/typedrequest-interfaces': + specifier: ^3.0.18 + version: 3.0.18 '@push.rocks/smartlog-interfaces': specifier: ^3.0.0 version: 3.0.0 @@ -34,14 +34,13 @@ devDependencies: packages: - /@api.global/typedrequest-interfaces@3.0.1: - resolution: {integrity: sha512-eR2Cr01BYRwIq/X2ajOenWhm8l+/YE4A5kK/9V6I8ZnhtEBMFHG6YjF6Fg8npLJWbvhZXhOms+axZ6JKI71o8g==} - dev: true + /@api.global/typedrequest-interfaces@3.0.18: + resolution: {integrity: sha512-O/AdHnk9NDcBfb/Qcpi3Bq/7I6uAJHXfIT5peeKODvLUYysmuxG/c3t9NWQvfSOXQUKnVKb0WrCGjraOL7Pyww==} /@api.global/typedrequest@3.0.4: resolution: {integrity: sha512-8UThH9c3MxdSLiON8UN1CPXooU6Mp0eleFhVS3QB2OUsYqgEGn/EzuMt+cMIv/+ESSS6zcTpHvAhZ8ZMLfpL8A==} dependencies: - '@api.global/typedrequest-interfaces': 3.0.1 + '@api.global/typedrequest-interfaces': 3.0.18 '@push.rocks/isounique': 1.0.5 '@push.rocks/lik': 6.0.12 '@push.rocks/smartdelay': 3.0.5 @@ -53,7 +52,7 @@ packages: resolution: {integrity: sha512-bJA79KxGD24xqOMNZCovMK13Qf1x0hhzwQ+vlfbqvnKkMAieNbfiTfYcrMsfmTSMMDP0rEi9JEBW8tFSt4bn5g==} dependencies: '@api.global/typedrequest': 3.0.4 - '@api.global/typedrequest-interfaces': 3.0.1 + '@api.global/typedrequest-interfaces': 3.0.18 '@api.global/typedsocket': 3.0.0 '@push.rocks/lik': 6.0.12 '@push.rocks/smartchok': 1.0.23 @@ -91,7 +90,7 @@ packages: resolution: {integrity: sha512-ui+6MLd99iTN/lC+iC/FKPRjzVyiZ4PrmlU6ptbCtbBj3cSOXHx+RRGF54+be2xHodf4FOgwFv/GZdW8LtO3vg==} dependencies: '@api.global/typedrequest': 3.0.4 - '@api.global/typedrequest-interfaces': 3.0.1 + '@api.global/typedrequest-interfaces': 3.0.18 '@push.rocks/isohash': 2.0.1 '@push.rocks/smartjson': 5.0.10 '@push.rocks/smartrx': 3.0.7 @@ -887,7 +886,7 @@ packages: /@push.rocks/smartsocket@2.0.24: resolution: {integrity: sha512-Glqv1Zi5TXgD+04P8OvTpiytyfrQxTPv67qAwZizAVVQ2zWJJgKqnIuoHT1zKP8QiKRNer+D58LCxX0ZE2XfzQ==} dependencies: - '@api.global/typedrequest-interfaces': 3.0.1 + '@api.global/typedrequest-interfaces': 3.0.18 '@api.global/typedserver': 3.0.20 '@push.rocks/isohash': 2.0.1 '@push.rocks/isounique': 1.0.5 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 161ce5f..c9cc7f8 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/interfaces', - version: '1.0.44', + version: '1.0.45', description: 'interfaces for working with containers' } diff --git a/ts/plugins.ts b/ts/plugins.ts index 192724a..a620bd1 100644 --- a/ts/plugins.ts +++ b/ts/plugins.ts @@ -1,5 +1,5 @@ // @apiglobal scope -import * as typedrequestInterfaces from '@apiglobal/typedrequest-interfaces'; +import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces'; export { typedrequestInterfaces diff --git a/ts/requests/image.ts b/ts/requests/image.ts index 57c84be..07d2142 100644 --- a/ts/requests/image.ts +++ b/ts/requests/image.ts @@ -9,11 +9,10 @@ export interface IRequest_PushImage extends plugins.typedrequestInterfaces.imple jwt: string; image: string; version: string; - transferId?: string; + imageStream?: plugins.typedrequestInterfaces.IVirtualStream; chunk: Buffer; }; response: { - transferId: string; }; } @@ -21,15 +20,13 @@ export interface IRequest_DownloadImage extends plugins.typedrequestInterfaces.i plugins.typedrequestInterfaces.ITypedRequest, IRequest_DownloadImage > { - method: 'downloadImage'; + method: 'pullImage'; request: { jwt: string; image: string; version: string; - transferId: string; }; response: { - transferId: string; - chunk: Buffer; + imageStream: plugins.typedrequestInterfaces.IVirtualStream; }; } \ No newline at end of file