tickerowl-app-base
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,51 @@ | ||
export declare const name = "TickerOwl App Base"; | ||
export type AppInfo = { | ||
id: string; | ||
name: string; | ||
description: string; | ||
version: number; | ||
author: string; | ||
authorXUrl?: string; | ||
authorGitHubUrl?: string; | ||
}; | ||
export type SlideInput = { | ||
label: string; | ||
description?: string; | ||
type: "text" | "number"; | ||
required?: boolean; | ||
placeholder?: string; | ||
}; | ||
export type SlideInputValue = { | ||
value?: string | number | null; | ||
}; | ||
export type SlideData = { | ||
type: "TEXT" | "KEY_VALUE" | "TIME" | "YOUTUBE" | "MATRIX"; | ||
text?: string | null; | ||
key?: string; | ||
value?: string; | ||
matrix?: number[][]; | ||
steps?: number; | ||
}; | ||
export type AppSlide = { | ||
title: string; | ||
description: string; | ||
inputs: Record<string, SlideInput>; | ||
getData: (options: { | ||
store: AppDataStore; | ||
inputs: Record<string, { | ||
input: SlideInput; | ||
value: SlideInputValue; | ||
}>; | ||
}) => Promise<{ | ||
slides: SlideData[]; | ||
}>; | ||
}; | ||
export interface AppDataStore { | ||
read(key: string): Promise<string | null>; | ||
write(key: string, value: string): Promise<void>; | ||
delete(key: string): Promise<void>; | ||
list(prefix: string): Promise<string[]>; | ||
} | ||
export interface App { | ||
getInfo(): AppInfo; | ||
getSlides(): Record<string, AppSlide>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.name = void 0; | ||
exports.name = "TickerOwl App Base"; |
{ | ||
"name": "tickerowl-app-base", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1701
53
0