mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 10:55:57 +08:00
Admin support for creating 3rd party external link actions (#72)
* WIP external actions * Add comment * Add support for external actions icons and colors
This commit is contained in:
@ -4,7 +4,7 @@ import React, { useState, useEffect } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import { STATUS, fetchData, FETCH_INTERVAL, SERVER_CONFIG } from './apis';
|
||||
import { ConfigDetails, UpdateArgs } from '../types/config-section';
|
||||
import { ConfigDetails, UpdateArgs, ExternalAction } from '../types/config-section';
|
||||
import { DEFAULT_VARIANT_STATE } from './config-constants';
|
||||
|
||||
export const initialServerConfigState: ConfigDetails = {
|
||||
@ -44,6 +44,7 @@ export const initialServerConfigState: ConfigDetails = {
|
||||
cpuUsageLevel: 3,
|
||||
videoQualityVariants: [DEFAULT_VARIANT_STATE],
|
||||
},
|
||||
externalActions: [],
|
||||
};
|
||||
|
||||
const initialServerStatusState = {
|
||||
|
||||
Reference in New Issue
Block a user