sidestore-source-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

sidestore-source-types

npm

Fully documented type defintions for SideStore's source format. Based on https://github.com/SideStore/SideStore-Docs/blob/main/references/sources.md.

Web docs are available at https://sidestore.io/sidestore-source-types.

Usage in normal JSON

We have a JSON schema available at https://github.com/SideStore/sidestore-source-types/raw/main/schema.json.

You can use it like this for editor autocomplete and documentation:

{
    "$schema": "https://github.com/SideStore/sidestore-source-types/raw/main/schema.json",
    "name": "Your Source"
}

Usage in TypeScript

Installing

NPM: npm i -D sidestore-source-types

Yarn: yarn add -D sidestore-source-types

PNPM: pnpm i -D sidestore-source-types

Usage

You should be able to import the types like this:

import type { Source } from "sidestore-source-types";

Available imports:

Usage Example

See test/index.ts

/sidestore-source-types/

    Package Sidebar

    Install

    npm i sidestore-source-types

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    17.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • naturecodevoid