sideload wip, websockets, styling, multiple todos (#2865)

* sideload wip, websockets, styling, multiple todos

* sideload

* misc backend updates

* chore: comments

* prep for license and instructions display

* comment for Matt

* s9pk updates and 040 sdk

* fix dependency error for actions

* 0.4.0-beta.1

* beta.2

---------

Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: waterplea <alexander@inkin.ru>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
This commit is contained in:
Matt Hill
2025-04-10 13:51:05 -06:00
committed by GitHub
parent ab4336cfd7
commit fc2be42418
88 changed files with 773 additions and 965 deletions

View File

@@ -935,26 +935,17 @@ export namespace Mock {
loggedIn: '2021-07-14T20:49:17.774Z',
lastActive: '2021-07-14T20:49:17.774Z',
userAgent: 'AppleWebKit/{WebKit Rev} (KHTML, like Gecko)',
metadata: {
platforms: ['iphone', 'mobileweb', 'mobile', 'ios'],
},
},
klndsfjhbwsajkdnaksj: {
loggedIn: '2021-07-14T20:49:17.774Z',
lastActive: '2019-07-14T20:49:17.774Z',
userAgent: 'AppleWebKit/{WebKit Rev} (KHTML, like Gecko)',
metadata: {
platforms: ['cli'],
},
},
b7b1a9cef4284f00af9e9dda6e676177: {
loggedIn: '2021-07-14T20:49:17.774Z',
lastActive: '2021-06-14T20:49:17.774Z',
userAgent:
'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0',
metadata: {
platforms: ['desktop'],
},
},
},
}
@@ -1500,7 +1491,6 @@ export namespace Mock {
},
{
spec: ISB.InputSpec.of({
/* TODO: Convert range for this value ([0, 2])*/
union: ISB.Value.union(
{
name: 'Preference',
@@ -1560,19 +1550,18 @@ export namespace Mock {
},
disabled: ['option2'],
})),
'favorite-number':
/* TODO: Convert range for this value ((-100,100])*/ ISB.Value.number(
{
name: 'Favorite Number',
description: 'Your favorite number of all time',
warning:
'Once you set this number, it can never be changed without severe consequences.',
required: false,
default: 7,
integer: false,
units: 'BTC',
},
),
'favorite-number': ISB.Value.number({
name: 'Favorite Number',
description: 'Your favorite number of all time',
warning:
'Once you set this number, it can never be changed without severe consequences.',
required: false,
default: 7,
integer: false,
units: 'BTC',
min: -100,
max: 100,
}),
rpcsettings: ISB.Value.object(
{
name: 'RPC Settings',
@@ -1906,7 +1895,7 @@ export namespace Mock {
name: 'View Properties',
description: 'view important information about Bitcoin',
warning: null,
visibility: 'enabled',
visibility: 'hidden',
allowedStatuses: 'any',
hasInput: false,
group: null,

View File

@@ -31,7 +31,6 @@ export namespace RR {
export type LoginReq = {
password: string
metadata: SessionMetadata
ephemeral?: boolean
} // auth.login - unauthed
export type loginRes = null
@@ -421,30 +420,8 @@ export type Session = {
loggedIn: string
lastActive: string
userAgent: string
metadata: SessionMetadata
}
export type SessionMetadata = {
platforms: PlatformType[]
}
export type PlatformType =
| 'cli'
| 'ios'
| 'ipad'
| 'iphone'
| 'android'
| 'phablet'
| 'tablet'
| 'cordova'
| 'capacitor'
| 'electron'
| 'pwa'
| 'mobile'
| 'mobileweb'
| 'desktop'
| 'hybrid'
export type BackupTarget = DiskBackupTarget | CifsBackupTarget
export interface DiskBackupTarget {
@@ -604,7 +581,7 @@ export type DependencyErrorTransitive = {
type: 'transitive'
}
// **** @TODO 041 ****
// @TODO 041
// export namespace RR041 {
// // ** domains **

View File

@@ -252,7 +252,7 @@ export const mockPatchData: DataModel = {
name: 'View Properties',
description: 'view important information about Bitcoin',
warning: null,
visibility: 'enabled',
visibility: 'hidden',
allowedStatuses: 'any',
hasInput: false,
group: null,