Merge branch 'next/minor' of github.com:Start9Labs/start-os into next/major

This commit is contained in:
Matt Hill
2024-12-02 16:50:37 -07:00
42 changed files with 605 additions and 194 deletions

View File

@@ -10,6 +10,8 @@ import { configBuilderToSpec } from 'src/app/utils/configBuilderToSpec'
import { T, ISB, IST } from '@start9labs/start-sdk'
import { GetPackagesRes } from '@start9labs/marketplace'
import markdown from 'raw-loader!../../../../../shared/assets/markdown/md-sample.md'
const mockMerkleArchiveCommitment: T.MerkleArchiveCommitment = {
rootSighash: 'fakehash',
rootMaxsize: 0,
@@ -811,6 +813,17 @@ export module Mock {
data: null,
read: false,
},
{
id: 5,
packageId: null,
createdAt: '2019-12-26T14:20:30.872Z',
code: 2,
level: 'success',
title: 'Welcome to StartOS 0.3.6!',
message: 'Click "View Details" to learn all about the new version',
data: markdown,
read: false,
},
]
export function getMetrics(): ServerMetrics {

View File

@@ -602,7 +602,9 @@ export type NotificationData<T> = T extends 0
? null
: T extends 1
? BackupReport
: any
: T extends 2
? string
: any
export type BackupReport = {
server: {

View File

@@ -4,7 +4,6 @@ import { Mock } from './api.fixures'
export const mockPatchData: DataModel = {
ui: {
name: `Matt's Server`,
ackWelcome: '1.0.0',
theme: 'Dark',
desktop: ['lnd'],
marketplace: {