feat: Add Be and tbd skill, also added Roadmap file

This commit is contained in:
2026-05-10 16:32:12 -04:00
parent 3500ade13f
commit 0bb8885802
29587 changed files with 10611695 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { Analytics, Jetstream, Versions, GlobalEvents } from './Types';
export interface ServiceContainer {
analytics?: Analytics;
jetstream?: Jetstream;
versions?: Versions;
globalEvents?: GlobalEvents;
}
export declare class ServiceOwner {
private static _owner;
static init(owner: ServiceContainer): void;
static readonly analytics: Analytics;
static readonly jetstream: Jetstream;
static readonly versions: Versions;
static readonly globalEvents: GlobalEvents;
}

View File

@@ -0,0 +1,24 @@
import { Event } from 'jibo-typed-events';
import { types as JetstreamTypes } from '@jibo/jetstream-client';
export declare type ServiceRecord = {
name?: string;
host: string;
port: number;
};
export declare type InitCallback = (err?: Error | string) => void;
export declare type Callback<T = any> = (err?: any, result?: T) => void;
export interface Analytics {
track(event: string, props?: any): void;
}
export interface Jetstream {
events: {
speakerID: Event<JetstreamTypes.SpeakerIDData>;
};
}
export interface Versions {
requiresPlatform: string;
supported(version: string): boolean;
}
export interface GlobalEvents {
touchStop: Event<boolean[]>;
}

View File

@@ -0,0 +1,19 @@
export declare enum RequestType {
POST = 0,
GET = 1,
}
export declare const ErrorStatus: {
ABORTED: string;
NETWORK_ERROR: string;
DATA_ERROR: string;
};
export declare class WebCommunication {
static readonly ErrorStatus: {
ABORTED: string;
NETWORK_ERROR: string;
DATA_ERROR: string;
};
static readonly RequestType: typeof RequestType;
static sendMessage(requestType: RequestType, path: string, data: any, dataVerification: (response: any, status: number) => boolean, cb: (err: Error, response: any, status: number) => void): XMLHttpRequest;
}
export default WebCommunication;