mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 10:46:38 +00:00
get niceid
This commit is contained in:
@@ -47,6 +47,7 @@ type JoinedRow = {
|
|||||||
niceId: string;
|
niceId: string;
|
||||||
name: string;
|
name: string;
|
||||||
ssl: boolean;
|
ssl: boolean;
|
||||||
|
niceId: string;
|
||||||
fullDomain: string | null;
|
fullDomain: string | null;
|
||||||
passwordId: number | null;
|
passwordId: number | null;
|
||||||
sso: boolean;
|
sso: boolean;
|
||||||
@@ -79,7 +80,7 @@ export type ResourceWithTargets = {
|
|||||||
proxyPort: number | null;
|
proxyPort: number | null;
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
domainId: string | null;
|
domainId: string | null;
|
||||||
niceId: string | null;
|
niceId: string;
|
||||||
targets: Array<{
|
targets: Array<{
|
||||||
targetId: number;
|
targetId: number;
|
||||||
ip: string;
|
ip: string;
|
||||||
@@ -261,6 +262,7 @@ export async function listResources(
|
|||||||
proxyPort: row.proxyPort,
|
proxyPort: row.proxyPort,
|
||||||
enabled: row.enabled,
|
enabled: row.enabled,
|
||||||
domainId: row.domainId,
|
domainId: row.domainId,
|
||||||
|
niceId: row.niceId,
|
||||||
targets: [],
|
targets: [],
|
||||||
};
|
};
|
||||||
map.set(row.resourceId, entry);
|
map.set(row.resourceId, entry);
|
||||||
|
|||||||
Reference in New Issue
Block a user