@balena/open-balena-api 27.2.0-build-device-type-helper-renames-8e842aedd18dd4e4133c351a45d6b76bd665ada4-1 → 27.2.0-build-device-type-helper-renames-71e668934e33cfaeb54d5ac8e000063a53d41e20-1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -161,12 +161,12 @@ export declare const release: {
161
161
  };
162
162
  export declare const deviceTypes: {
163
163
  /** @deprecated Use getAccessibleDeviceTypeJsons */
164
- getAccessibleDeviceTypes: (resinApi: sbvrUtils.PinejsClient<import("./balena-model.js").default>) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson[]>;
165
- getAccessibleDeviceTypeJsons: (resinApi: sbvrUtils.PinejsClient<import("./balena-model.js").default>) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson[]>;
164
+ getAccessibleDeviceTypes: (resinApi: typeof sbvrUtils.api.resin) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson[]>;
165
+ getAccessibleDeviceTypeJsons: (resinApi: typeof sbvrUtils.api.resin) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson[]>;
166
166
  /** @deprecated Use getDeviceTypeJsonBySlug */
167
- findBySlug: (resinApi: sbvrUtils.PinejsClient<import("./balena-model.js").default>, slug: string) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson>;
168
- getDeviceTypeJsonBySlug: (resinApi: sbvrUtils.PinejsClient<import("./balena-model.js").default>, slug: string) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson>;
169
- getDeviceTypeBySlug: (resinApi: sbvrUtils.PinejsClient<import("./balena-model.js").default>, slug: string) => Promise<{
167
+ findBySlug: (resinApi: typeof sbvrUtils.api.resin, slug: string) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson>;
168
+ getDeviceTypeJsonBySlug: (resinApi: typeof sbvrUtils.api.resin, slug: string) => Promise<import("./features/device-types/device-type-json.js").DeviceTypeJson>;
169
+ getDeviceTypeBySlug: (resinApi: typeof sbvrUtils.api.resin, slug: string) => Promise<{
170
170
  id: number;
171
171
  slug: string;
172
172
  }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@balena/open-balena-api",
3
3
  "description": "Internet of things, Made Simple",
4
- "version": "27.2.0-build-device-type-helper-renames-8e842aedd18dd4e4133c351a45d6b76bd665ada4-1",
4
+ "version": "27.2.0-build-device-type-helper-renames-71e668934e33cfaeb54d5ac8e000063a53d41e20-1",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -130,7 +130,7 @@
130
130
  "thirty-two": "^1.0.2",
131
131
  "ts-node": "^10.9.2",
132
132
  "typed-error": "^3.2.2",
133
- "typescript": "^5.5.4",
133
+ "typescript": "^5.6.2",
134
134
  "uuid": "^10.0.0",
135
135
  "validator": "^13.12.0"
136
136
  },
@@ -168,6 +168,6 @@
168
168
  "loader": "ts-node/esm/transpile-only"
169
169
  },
170
170
  "versionist": {
171
- "publishedAt": "2024-09-10T08:42:54.310Z"
171
+ "publishedAt": "2024-09-10T08:55:47.200Z"
172
172
  }
173
173
  }