Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/smx/src/modules/targets/models.ts>ITarget

Manage and sync scripts, configs and templates between computers
Latest
interface ITarget
import { type ITarget } from "https://deno.land/x/smx@v0.6.0/src/modules/targets/models.ts";

Properties

readonly
id: string
readonly
isDefault: boolean
readonly
name: string
readonly
initialized: boolean
readonly
path: string

Methods

init(setDefault: boolean): Promise<void>
reset(type: "all" | "settings" | "content"): Promise<void>
setDefault(): Promise<void>
delete(): Promise<void>
setName(value: string): Promise<void>