import { Core, CorePlatform, CorePlatformConfig } from '@jovotech/platform-core';

declare module '@jovotech/framework/dist/types/Extensible' {
  interface ExtensiblePluginConfig {
    WebPlatform?: CorePlatformConfig<'web'>;
  }

  interface ExtensiblePlugins {
    WebPlatform?: CorePlatform<'web'>;
  }
}

declare module '@jovotech/framework/dist/types/Jovo' {
  interface Jovo {
    $web?: Core;
  }
}

export const WebPlatform = CorePlatform.createCustomPlatform('WebPlatform', 'web');
export * from '@jovotech/platform-core';

import {
  Core,
  CorePlatform,
  CorePlatformConfig,
  NormalizedCoreOutputTemplate,
} from '@jovotech/platform-core';

declare module '@jovotech/framework/dist/types/Extensible' {
  interface ExtensiblePluginConfig {
    WebPlatform?: CorePlatformConfig<'web'>;
  }

  interface ExtensiblePlugins {
    WebPlatform?: CorePlatform<'web'>;
  }
}

declare module '@jovotech/framework/dist/types/Jovo' {
  interface Jovo {
    $web?: Core;
  }
}

declare module '@jovotech/framework/dist/types/index' {
  interface NormalizedOutputTemplatePlatforms {
    web?: NormalizedCoreOutputTemplate;
  }
}

export const WebPlatform = CorePlatform.createCustomPlatform('WebPlatform', 'web');
export * from '@jovotech/platform-core';

Add augment platforms property to include a typed web-property
:sparkles: Add augment platforms property to include a typed web-property
