src: add flag to measure on prem import
The flag can be used later to track the usage of on prem import feature.
This commit is contained in:
parent
5cfab75813
commit
b2401afe27
3 changed files with 3 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ export const mapOnPremToHosted = (
|
||||||
metadata: {
|
metadata: {
|
||||||
parent_id: null,
|
parent_id: null,
|
||||||
exported_at: '',
|
exported_at: '',
|
||||||
|
is_on_prem: true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -348,6 +348,7 @@ export const mapExportRequestToState = (
|
||||||
metadata: {
|
metadata: {
|
||||||
parent_id: request.metadata?.parent_id || null,
|
parent_id: request.metadata?.parent_id || null,
|
||||||
exported_at: request.metadata?.exported_at || '',
|
exported_at: request.metadata?.exported_at || '',
|
||||||
|
is_on_prem: request.metadata?.is_on_prem || false,
|
||||||
},
|
},
|
||||||
env: initialState.env,
|
env: initialState.env,
|
||||||
registration: initialState.registration,
|
registration: initialState.registration,
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,7 @@ export type wizardState = {
|
||||||
metadata?: {
|
metadata?: {
|
||||||
parent_id: string | null;
|
parent_id: string | null;
|
||||||
exported_at: string;
|
exported_at: string;
|
||||||
|
is_on_prem: boolean;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue