@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
45 lines (44 loc) • 1.19 kB
TypeScript
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
export interface SecretRegistrationMsg {
/**
* The Secret Info
*/
info: SecretInfo;
/**
* Is Profile scoped secret
*/
isProfileScoped?: boolean;
/**
* This influence the order of the secret form displayed in Omnia Admin, be nice, use ordering with gap -100, 0, 100, 200
So other extensions etc can inject between
*/
weight: number;
}
export interface Secret {
key: string;
value?: string;
form?: SecretForm;
serviceId: GuidValue;
availableToAllServices?: boolean;
}
export interface SecretInfo {
bladeTitle: string;
title: string;
key: string;
serviceId: GuidValue;
availableToAllServices?: boolean;
uiRenderer?: string;
}
export interface SecretField {
name: string;
masked: boolean;
value: string;
}
export interface SecretForm {
fields: SecretField[];
}
export declare const UnsplashSettingsKey = "omnia-unsplash-configuration-secret";
export declare const UnsplashSecretForm: {
readonly applicationId: "applicationid";
readonly clientIdKey: "clientidkey";
};