Add TypeScript integrations package
This commit is contained in:
@@ -0,0 +1 @@
|
||||
This folder is generated from Home Assistant component metadata. Replace it with a handwritten TypeScript port when implementing runtime support.
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from './onedrive_for_business.classes.integration.js';
|
||||
export * from './onedrive_for_business.types.js';
|
||||
@@ -0,0 +1,31 @@
|
||||
import { DescriptorOnlyIntegration } from '../../core/classes.descriptoronlyintegration.js';
|
||||
|
||||
export class HomeAssistantOnedriveForBusinessIntegration extends DescriptorOnlyIntegration {
|
||||
constructor() {
|
||||
super({
|
||||
domain: "onedrive_for_business",
|
||||
displayName: "OneDrive for Business",
|
||||
status: 'descriptor-only',
|
||||
metadata: {
|
||||
"source": "home-assistant/core",
|
||||
"upstreamPath": "homeassistant/components/onedrive_for_business",
|
||||
"upstreamDomain": "onedrive_for_business",
|
||||
"integrationType": "service",
|
||||
"iotClass": "cloud_polling",
|
||||
"qualityScale": "platinum",
|
||||
"requirements": [
|
||||
"onedrive-personal-sdk==0.1.7"
|
||||
],
|
||||
"dependencies": [
|
||||
"application_credentials"
|
||||
],
|
||||
"afterDependencies": [
|
||||
"cloud"
|
||||
],
|
||||
"codeowners": [
|
||||
"@zweckj"
|
||||
]
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface IHomeAssistantOnedriveForBusinessConfig {
|
||||
// TODO: replace with the TypeScript-native config for onedrive_for_business.
|
||||
[key: string]: unknown;
|
||||
}
|
||||
Reference in New Issue
Block a user