@northern.tech/store 0.46.1 → 0.46.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.cts +6 -6
- package/dist/actions.d.ts +6 -6
- package/dist/api/general-api.d.cts +3 -3
- package/dist/api/general-api.d.ts +3 -3
- package/dist/api/general-api.js +1 -1
- package/dist/appSlice/index.d.cts +1 -1
- package/dist/appSlice/index.d.ts +1 -1
- package/dist/appSlice/index.js +1 -1
- package/dist/appSlice/mocks.d.cts +2 -3
- package/dist/appSlice/mocks.d.ts +2 -3
- package/dist/appSlice/selectors.cjs +1 -2
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +26 -27
- package/dist/appSlice/selectors.d.ts +26 -27
- package/dist/appSlice/selectors.js +1 -2
- package/dist/appSlice/selectors.js.map +1 -1
- package/dist/appSlice/thunks.d.cts +5 -6
- package/dist/appSlice/thunks.d.ts +5 -6
- package/dist/auth.d.cts +6 -7
- package/dist/auth.d.ts +6 -7
- package/dist/auth.js +1 -1
- package/dist/commonConstants.d.cts +1 -1
- package/dist/commonConstants.d.ts +1 -1
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.d.cts +30 -31
- package/dist/commonSelectors.d.ts +30 -31
- package/dist/commonSelectors.js +1 -1
- package/dist/{constants-B_H4squx.d.ts → constants-BJuY-ODE.d.ts} +3 -3
- package/dist/{constants-Rl3FJzFf.d.cts → constants-C2O55iZu.d.cts} +3 -3
- package/dist/{constants-eWaA3HCq.js → constants-D5hACLhF.js} +3 -3
- package/dist/{constants-eWaA3HCq.js.map → constants-D5hACLhF.js.map} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/mocks.d.cts +1 -2
- package/dist/deploymentsSlice/mocks.d.ts +1 -2
- package/dist/deploymentsSlice/selectors.d.cts +15 -16
- package/dist/deploymentsSlice/selectors.d.ts +15 -16
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +20 -21
- package/dist/deploymentsSlice/thunks.d.ts +20 -21
- package/dist/devicesSlice/constants.d.cts +1 -1
- package/dist/devicesSlice/constants.d.ts +1 -1
- package/dist/devicesSlice/constants.js +1 -1
- package/dist/devicesSlice/index.d.cts +1 -1
- package/dist/devicesSlice/index.d.ts +1 -1
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.d.cts +1 -2
- package/dist/devicesSlice/mocks.d.ts +1 -2
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +4 -3
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +34 -35
- package/dist/devicesSlice/selectors.d.ts +34 -35
- package/dist/devicesSlice/selectors.js +5 -4
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +52 -53
- package/dist/devicesSlice/thunks.d.ts +52 -53
- package/dist/{index-DgiMpzq3.d.ts → index--SKVGToc.d.ts} +2 -2
- package/dist/{index-DeOpb2oK.d.cts → index-BKU1G9-x.d.cts} +2 -2
- package/dist/{index-CGT1O9T5.d.ts → index-BMsafOyJ.d.ts} +2 -2
- package/dist/{index-ChKTa1aL.d.ts → index-BVNS-Aut.d.ts} +2 -2
- package/dist/{index-Ctj2r57a.d.cts → index-BfmRpbiJ.d.cts} +2 -2
- package/dist/{index-BAGyeC-q.d.ts → index-CRqnH_go.d.ts} +2 -2
- package/dist/{index-Cf6_W5Y7.d.cts → index-CqhXqGLt.d.cts} +2 -2
- package/dist/{index-BpamudGf.d.ts → index-D9GJhX1I.d.ts} +2 -2
- package/dist/{index-C_LGDJN2.d.cts → index-HjOSTTGF.d.cts} +2 -2
- package/dist/{index-DnKVKM0G.d.cts → index-KxRmyFLr.d.cts} +2 -2
- package/dist/{index-ExguKUh-.d.cts → index-fGVC5s1C.d.cts} +2 -2
- package/dist/{index-Bs0c1-WY.d.ts → index-xxqlerg5.d.ts} +2 -2
- package/dist/liststatehook.d.cts +2 -3
- package/dist/liststatehook.d.ts +2 -3
- package/dist/locationutils.d.cts +29 -30
- package/dist/locationutils.d.ts +29 -30
- package/dist/locationutils.js +1 -1
- package/dist/monitorSlice/constants.d.cts +1 -1
- package/dist/monitorSlice/constants.d.ts +1 -1
- package/dist/monitorSlice/index.d.cts +1 -1
- package/dist/monitorSlice/index.d.ts +1 -1
- package/dist/monitorSlice/index.js +1 -1
- package/dist/monitorSlice/mocks.d.cts +2 -3
- package/dist/monitorSlice/mocks.d.ts +2 -3
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/selectors.d.cts +2 -3
- package/dist/monitorSlice/selectors.d.ts +2 -3
- package/dist/monitorSlice/thunks.d.cts +9 -10
- package/dist/monitorSlice/thunks.d.ts +9 -10
- package/dist/monitorSlice/thunks.js +1 -1
- package/dist/onboardingSlice/mocks.d.cts +1 -2
- package/dist/onboardingSlice/mocks.d.ts +1 -2
- package/dist/onboardingSlice/selectors.d.cts +2 -3
- package/dist/onboardingSlice/selectors.d.ts +2 -3
- package/dist/onboardingSlice/thunks.d.cts +9 -10
- package/dist/onboardingSlice/thunks.d.ts +9 -10
- package/dist/organizationSlice/constants.js +1 -1
- package/dist/organizationSlice/index.d.cts +1 -1
- package/dist/organizationSlice/index.d.ts +1 -1
- package/dist/organizationSlice/index.js +1 -1
- package/dist/organizationSlice/mocks.d.cts +3 -4
- package/dist/organizationSlice/mocks.d.ts +3 -4
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.cjs +6 -6
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +33 -34
- package/dist/organizationSlice/selectors.d.ts +33 -34
- package/dist/organizationSlice/selectors.js +7 -7
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +60 -59
- package/dist/organizationSlice/thunks.d.ts +60 -59
- package/dist/organizationSlice/types.d.cts +1 -1
- package/dist/organizationSlice/types.d.ts +1 -1
- package/dist/releasesSlice/index.d.cts +1 -1
- package/dist/releasesSlice/index.d.ts +1 -1
- package/dist/releasesSlice/index.js +1 -1
- package/dist/releasesSlice/mocks.d.cts +1 -2
- package/dist/releasesSlice/mocks.d.ts +1 -2
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.d.cts +35 -36
- package/dist/releasesSlice/selectors.d.ts +35 -36
- package/dist/releasesSlice/thunks.d.cts +40 -41
- package/dist/releasesSlice/thunks.d.ts +40 -41
- package/dist/releasesSlice/thunks.js +1 -1
- package/dist/selectors.cjs +1 -1
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/sockethook.d.cts +1 -2
- package/dist/sockethook.d.ts +1 -2
- package/dist/sockethook.js +1 -1
- package/dist/{store-CmvNnqoc.d.ts → store-DLp6ajT8.d.ts} +9 -9
- package/dist/{store-C-W8nPdd.d.cts → store-Dw8Uo_Df.d.cts} +9 -9
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +1 -1
- package/dist/storehooks.d.cts +5 -6
- package/dist/storehooks.d.ts +5 -6
- package/dist/storehooks.js +1 -1
- package/dist/thunks.cjs +17 -13
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +18 -14
- package/dist/thunks.js.map +1 -1
- package/dist/{types-B80ckxiy.d.cts → types-B67YW1jV.d.cts} +2 -2
- package/dist/{types-B3qGQoMx.d.ts → types-DY0J79yF.d.ts} +2 -2
- package/dist/useDeploymentDevice.d.cts +1 -2
- package/dist/useDeploymentDevice.d.ts +1 -2
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.d.cts +1 -1
- package/dist/usersSlice/index.d.ts +1 -1
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.d.cts +2 -3
- package/dist/usersSlice/mocks.d.ts +2 -3
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.d.cts +27 -28
- package/dist/usersSlice/selectors.d.ts +27 -28
- package/dist/usersSlice/selectors.js +1 -1
- package/dist/usersSlice/thunks.d.cts +82 -83
- package/dist/usersSlice/thunks.d.ts +48 -49
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +6 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-eWaA3HCq.js","names":["AWS","Azure"],"sources":["../src/commonConstants.tsx","../src/deploymentsSlice/constants.ts","../src/devicesSlice/constants.ts","../src/organizationSlice/constants.ts","../src/usersSlice/constants.ts"],"sourcesContent":["// Copyright 2024 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n// @ts-nocheck\nimport { mdiAws as AWS, mdiMicrosoftAzure as Azure } from '@mdi/js';\nimport type { Integration } from '@northern.tech/types/MenderTypes';\n\nimport type { DEVICE_FILTERING_OPTIONS } from './constants';\nimport { ATTRIBUTE_SCOPES } from './constants';\n\nexport const timeUnits = {\n days: 'days',\n minutes: 'minutes',\n hours: 'hours'\n};\n\nexport const UNGROUPED_GROUP = { id: '*|=ungrouped=|*', name: 'Unassigned' };\n\nexport const DEVICE_LIST_MAXIMUM_LENGTH = 50;\n\nexport type FilterOperator = keyof typeof DEVICE_FILTERING_OPTIONS;\n\nconst oneSecond = 1000;\nexport const TIMEOUTS = {\n debounceDefault: 700,\n debounceShort: 300,\n halfASecond: 0.5 * oneSecond,\n oneSecond,\n twoSeconds: 2 * oneSecond,\n threeSeconds: 3 * oneSecond,\n fiveSeconds: 5 * oneSecond,\n refreshDefault: 10 * oneSecond,\n refreshLong: 60 * oneSecond\n};\n\nexport const DEVICE_ONLINE_CUTOFF = { interval: 1, intervalName: timeUnits.days };\n\nexport interface IdAttribute {\n attribute: string;\n scope: string;\n}\nexport const defaultIdAttribute: Readonly<IdAttribute> = Object.freeze({ attribute: 'id', scope: ATTRIBUTE_SCOPES.identity });\n\nexport const ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX = 'mender-orchestrator-manifest.';\n\n// displayed labels for attribute scopes that diverge from the internal scope values: the system scope shows as\n// `default`, while orchestrator manifest attributes (inventory scope) show as `system`\nexport const ATTRIBUTE_SCOPE_LABELS = {\n default: 'default',\n system: 'system'\n} as const;\n\nexport const productOrder = ['micro', 'standard', 'system'];\n\nexport const credentialTypes = {\n aws: 'aws',\n http: 'http',\n sas: 'sas',\n x509: 'x509'\n};\nexport const EXTERNAL_PROVIDER = {\n 'iot-core': {\n credentialsType: credentialTypes.aws,\n icon: AWS,\n title: 'AWS IoT Core',\n twinTitle: 'Device Shadow',\n provider: 'iot-core',\n enabled: true,\n deviceTwin: true,\n configHint: <>For help finding your AWS IoT Core connection string, check the AWS IoT documentation.</>\n },\n 'iot-hub': {\n credentialsType: credentialTypes.sas,\n icon: Azure,\n title: 'Azure IoT Hub',\n twinTitle: 'Device Twin',\n provider: 'iot-hub',\n enabled: true,\n deviceTwin: true,\n configHint: (\n <span>\n For help finding your Azure IoT Hub connection string, look under 'Shared access policies' in the Microsoft Azure UI as described{' '}\n {\n <a\n href=\"https://devblogs.microsoft.com/iotdev/understand-different-connection-strings-in-azure-iot-hub/#iothubconn\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n here\n </a>\n }\n .\n </span>\n )\n },\n webhook: {\n credentialsType: credentialTypes.http,\n deviceTwin: false,\n twinTitle: '',\n // disable the webhook provider here, since it is treated different than other integrations, with a custom configuration & management view, etc.\n enabled: false,\n provider: 'webhook'\n }\n} as const;\n\nexport interface Webhook extends Integration {\n provider: 'webhook';\n}\n\nexport const emptyWebhook: Webhook = {\n description: '',\n provider: 'webhook',\n credentials: {\n type: EXTERNAL_PROVIDER.webhook.credentialsType,\n [EXTERNAL_PROVIDER.webhook.credentialsType]: {\n secret: '',\n url: ''\n }\n }\n};\n\ninterface CountryType {\n code: string;\n label: string;\n}\nexport const MAX_PAGE_SIZE = 500;\nconst regionNames = new Intl.DisplayNames(['en'], { type: 'region' });\nexport const countries: readonly CountryType[] = [\n 'AD',\n 'AE',\n 'AF',\n 'AG',\n 'AI',\n 'AL',\n 'AM',\n 'AO',\n 'AQ',\n 'AR',\n 'AS',\n 'AT',\n 'AU',\n 'AW',\n 'AX',\n 'AZ',\n 'BA',\n 'BB',\n 'BD',\n 'BE',\n 'BF',\n 'BG',\n 'BH',\n 'BI',\n 'BJ',\n 'BL',\n 'BM',\n 'BN',\n 'BO',\n 'BR',\n 'BS',\n 'BT',\n 'BV',\n 'BW',\n 'BY',\n 'BZ',\n 'CA',\n 'CC',\n 'CD',\n 'CF',\n 'CG',\n 'CH',\n 'CI',\n 'CK',\n 'CL',\n 'CM',\n 'CN',\n 'CO',\n 'CR',\n 'CU',\n 'CV',\n 'CW',\n 'CX',\n 'CY',\n 'CZ',\n 'DE',\n 'DJ',\n 'DK',\n 'DM',\n 'DO',\n 'DZ',\n 'EC',\n 'EE',\n 'EG',\n 'EH',\n 'ER',\n 'ES',\n 'ET',\n 'FI',\n 'FJ',\n 'FK',\n 'FM',\n 'FO',\n 'FR',\n 'GA',\n 'GB',\n 'GD',\n 'GE',\n 'GF',\n 'GG',\n 'GH',\n 'GI',\n 'GL',\n 'GM',\n 'GN',\n 'GP',\n 'GQ',\n 'GR',\n 'GS',\n 'GT',\n 'GU',\n 'GW',\n 'GY',\n 'HK',\n 'HM',\n 'HN',\n 'HR',\n 'HT',\n 'HU',\n 'ID',\n 'IE',\n 'IL',\n 'IM',\n 'IN',\n 'IO',\n 'IQ',\n 'IR',\n 'IS',\n 'IT',\n 'JE',\n 'JM',\n 'JO',\n 'JP',\n 'KE',\n 'KG',\n 'KH',\n 'KI',\n 'KM',\n 'KN',\n 'KP',\n 'KR',\n 'KW',\n 'KY',\n 'KZ',\n 'LA',\n 'LB',\n 'LC',\n 'LI',\n 'LK',\n 'LR',\n 'LS',\n 'LT',\n 'LU',\n 'LV',\n 'LY',\n 'MA',\n 'MC',\n 'MD',\n 'ME',\n 'MF',\n 'MG',\n 'MH',\n 'MK',\n 'ML',\n 'MM',\n 'MN',\n 'MO',\n 'MP',\n 'MQ',\n 'MR',\n 'MS',\n 'MT',\n 'MU',\n 'MV',\n 'MW',\n 'MX',\n 'MY',\n 'MZ',\n 'NA',\n 'NC',\n 'NE',\n 'NF',\n 'NG',\n 'NI',\n 'NL',\n 'NO',\n 'NP',\n 'NR',\n 'NU',\n 'NZ',\n 'OM',\n 'PA',\n 'PE',\n 'PF',\n 'PG',\n 'PH',\n 'PK',\n 'PL',\n 'PM',\n 'PN',\n 'PR',\n 'PS',\n 'PT',\n 'PW',\n 'PY',\n 'QA',\n 'RE',\n 'RO',\n 'RS',\n 'RU',\n 'RW',\n 'SA',\n 'SB',\n 'SC',\n 'SD',\n 'SE',\n 'SG',\n 'SH',\n 'SI',\n 'SJ',\n 'SK',\n 'SL',\n 'SM',\n 'SN',\n 'SO',\n 'SR',\n 'SS',\n 'ST',\n 'SV',\n 'SX',\n 'SY',\n 'SZ',\n 'TC',\n 'TD',\n 'TF',\n 'TG',\n 'TH',\n 'TJ',\n 'TK',\n 'TL',\n 'TM',\n 'TN',\n 'TO',\n 'TR',\n 'TT',\n 'TV',\n 'TW',\n 'TZ',\n 'UA',\n 'UG',\n 'US',\n 'UY',\n 'UZ',\n 'VA',\n 'VC',\n 'VE',\n 'VG',\n 'VI',\n 'VN',\n 'VU',\n 'WF',\n 'WS',\n 'XK',\n 'YE',\n 'YT',\n 'ZA',\n 'ZM',\n 'ZW'\n]\n .map(code => ({ code, label: regionNames.of(code) }))\n .sort((a, b) => a.label.localeCompare(b.label));\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DeploymentStatistics } from '@northern.tech/types/MenderTypes';\n\nimport { DEVICE_LIST_DEFAULTS, SORTING_OPTIONS } from '../constants';\n\nconst alreadyInstalled = 'already-installed';\n\nexport const deploymentSubstates = {\n aborted: 'aborted',\n alreadyInstalled,\n decommissioned: 'decommissioned',\n downloading: 'downloading',\n failure: 'failure',\n installing: 'installing',\n noartifact: 'noartifact',\n artifact_too_big: 'artifact_too_big',\n incompatible_tier: 'incompatible_tier',\n pause_before_committing: 'pause_before_committing',\n pause_before_installing: 'pause_before_installing',\n pause_before_rebooting: 'pause_before_rebooting',\n pending: 'pending',\n rebooting: 'rebooting',\n success: 'success'\n};\n\nexport type DeploymentSubstateMapping = {\n failures: string[];\n inprogress: string[];\n paused: string[];\n pending: string[];\n skipped?: string[];\n successes: string[];\n};\n\nexport const deploymentStatesToSubstates: DeploymentSubstateMapping = {\n failures: [deploymentSubstates.failure, deploymentSubstates.aborted, deploymentSubstates.decommissioned],\n inprogress: [deploymentSubstates.downloading, deploymentSubstates.installing, deploymentSubstates.rebooting],\n paused: [deploymentSubstates.pause_before_installing, deploymentSubstates.pause_before_rebooting, deploymentSubstates.pause_before_committing],\n pending: [deploymentSubstates.pending],\n successes: [\n deploymentSubstates.success,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.incompatible_tier\n ]\n};\n\nexport const deploymentStatesToSubstatesWithSkipped: DeploymentSubstateMapping = {\n ...deploymentStatesToSubstates,\n failures: [deploymentSubstates.failure],\n skipped: [\n deploymentSubstates.aborted,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.decommissioned,\n deploymentSubstates.incompatible_tier\n ],\n successes: [deploymentSubstates.success]\n};\nexport const installationSubstatesMap = {\n download: {\n title: 'download',\n done: 'downloaded',\n successIndicators: [deploymentSubstates.installing, deploymentSubstates.rebooting, ...deploymentStatesToSubstates.paused, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactInstall_Enter'\n },\n install: {\n title: 'install',\n done: 'installed',\n successIndicators: [\n deploymentSubstates.rebooting,\n deploymentSubstates.pause_before_rebooting,\n deploymentSubstates.pause_before_committing,\n deploymentSubstates.success\n ],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactReboot_Enter'\n },\n reboot: {\n title: 'reboot',\n done: 'rebooted',\n successIndicators: [deploymentSubstates.pause_before_committing, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactCommit_Enter'\n },\n commit: {\n title: 'commit',\n done: 'committed',\n successIndicators: deploymentStatesToSubstates.successes,\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: undefined\n }\n};\n\nexport const DEPLOYMENT_STATES = {\n finished: 'finished',\n inprogress: 'inprogress',\n pending: 'pending',\n scheduled: 'scheduled'\n} as const;\n\nexport const listDefaultsByState = {\n [DEPLOYMENT_STATES.inprogress]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.pending]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.scheduled]: { ...DEVICE_LIST_DEFAULTS },\n [DEPLOYMENT_STATES.finished]: { ...DEVICE_LIST_DEFAULTS },\n sort: { direction: SORTING_OPTIONS.desc }\n};\n\nexport const DEFAULT_PENDING_INPROGRESS_COUNT = 10;\nexport const DEPLOYMENT_ROUTES = {\n active: {\n key: 'active',\n route: '/deployments/active',\n states: [DEPLOYMENT_STATES.pending, DEPLOYMENT_STATES.inprogress],\n title: 'Active'\n },\n finished: {\n key: 'finished',\n route: '/deployments/finished',\n states: [DEPLOYMENT_STATES.finished],\n title: 'Finished'\n },\n scheduled: {\n key: 'scheduled',\n route: '/deployments/scheduled',\n states: [DEPLOYMENT_STATES.scheduled],\n title: 'Scheduled'\n }\n} as const;\nexport const DEPLOYMENT_TYPES = {\n software: 'software',\n configuration: 'configuration'\n};\nexport const defaultStats = {\n [deploymentSubstates.aborted]: 0,\n [deploymentSubstates.alreadyInstalled]: 0,\n [deploymentSubstates.decommissioned]: 0,\n [deploymentSubstates.downloading]: 0,\n [deploymentSubstates.failure]: 0,\n [deploymentSubstates.installing]: 0,\n [deploymentSubstates.noartifact]: 0,\n [deploymentSubstates.pause_before_committing]: 0,\n [deploymentSubstates.pause_before_installing]: 0,\n [deploymentSubstates.pause_before_rebooting]: 0,\n [deploymentSubstates.pending]: 0,\n [deploymentSubstates.rebooting]: 0,\n [deploymentSubstates.success]: 0\n};\nexport const deploymentDisplayStates = {\n finished: 'Finished',\n scheduled: 'Scheduled',\n skipped: 'Skipped',\n paused: 'Paused',\n pending: 'Pending',\n inprogress: 'In Progress',\n success: 'Success',\n successes: 'Success',\n failure: 'Fail',\n failures: 'Fail'\n};\n\nexport const deploymentPrototype = {\n devices: {},\n name: undefined,\n statistics: { status: {} } as DeploymentStatistics\n};\n\nexport const pauseMap = {\n [deploymentSubstates.pause_before_installing]: {\n title: installationSubstatesMap.download.done,\n followUp: installationSubstatesMap.download.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_rebooting]: {\n title: installationSubstatesMap.install.done,\n followUp: installationSubstatesMap.install.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_committing]: {\n title: installationSubstatesMap.reboot.done,\n followUp: installationSubstatesMap.reboot.pauseConfigurationIndicator\n }\n};\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DEVICE_STATES, FilterOperator } from '../constants';\nimport { DEVICE_FILTERING_OPTIONS } from '../constants';\n\nexport const emptyFilter = { key: null, value: '', operator: DEVICE_FILTERING_OPTIONS.$eq.key as FilterOperator, scope: 'inventory' };\n\n// see https://github.com/mendersoftware/go-lib-micro/tree/master/ws\n// for the description of proto_header and the consts\n// *Note*: this needs to be aligned with mender-connect and deviceconnect.\nexport const DEVICE_MESSAGE_PROTOCOLS = {\n Shell: 1\n};\nexport const DEVICE_MESSAGE_TYPES = {\n Delay: 'delay',\n New: 'new',\n Ping: 'ping',\n Pong: 'pong',\n Resize: 'resize',\n Shell: 'shell',\n Stop: 'stop'\n};\n\n// we can't include the dismiss state with the rest since this would include dismissed devices in several queries\nexport const DEVICE_DISMISSAL_STATE = 'dismiss';\n\nexport type DeviceAuthState = (typeof DEVICE_STATES)[keyof typeof DEVICE_STATES];\n\nexport const DEVICE_CONNECT_STATES = {\n connected: 'connected',\n disconnected: 'disconnected',\n unknown: 'unknown'\n};\n\nexport const geoAttributes = ['geo-lat', 'geo-lon'].map(attribute => ({ attribute, scope: 'inventory' }));\n\nexport const REPORT_CHART_SIZE_LIMIT = 6;\n","// Copyright 2020 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { useradmApiUrl } from '../constants';\n\nexport const XML_METADATA_FORMAT = 'xml';\nexport const JSON_METADATA_FORMAT = 'json';\n\nexport const getSamlStartUrl = id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/login`;\nexport const getOidcStartUrl = id => `${window.location.origin}${useradmApiUrl}/oidc/${id}/start`;\n\nexport const SSO_TYPES = {\n saml: {\n id: 'saml',\n type: 'saml',\n title: 'SAML',\n metadataFormat: XML_METADATA_FORMAT,\n editorLanguage: XML_METADATA_FORMAT,\n contentType: 'application/samlmetadata+xml',\n getStartUrl: getSamlStartUrl,\n configDetails: [\n { key: 'entityID', label: 'Entity ID', getValue: id => `${window.location.origin}${useradmApiUrl}/sso/sp/metadata/${id}` },\n { key: 'acs', label: 'ACS URL', getValue: id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/acs` },\n { key: 'startURL', label: 'Start URL', getValue: getSamlStartUrl }\n ]\n },\n oidc: {\n id: 'oidc',\n type: 'oidc',\n title: 'OpenID Connect',\n metadataFormat: JSON_METADATA_FORMAT,\n editorLanguage: JSON_METADATA_FORMAT,\n contentType: 'application/json',\n getStartUrl: getOidcStartUrl,\n configDetails: [{ key: 'startURL', label: 'Start Url', getValue: getOidcStartUrl }]\n }\n} as const;\n\nexport type ContentType = (typeof SSO_TYPES)[keyof typeof SSO_TYPES]['contentType'];\n\nexport const auditlogTypes = {\n artifact: { title: 'Artifact', queryParameter: 'object_type', value: 'artifact' },\n deployment: { title: 'Deployment', queryParameter: 'object_deployment_name', value: 'deployment' },\n device: { title: 'Device', queryParameter: 'object_id', value: 'device' },\n user_access_token: { title: 'Personal Access Token', queryParameter: 'user_access_token', value: 'user_access_token' },\n user: { title: 'User', queryParameter: 'object_id', value: 'user' },\n tenant: { title: 'Tenant', queryParameter: 'object_id', value: 'tenant' }\n};\n\nexport const AUDIT_LOGS_TYPES = [auditlogTypes.artifact, auditlogTypes.deployment, auditlogTypes.device, auditlogTypes.user_access_token, auditlogTypes.user];\nexport const SP_AUDIT_LOGS_TYPES = [auditlogTypes.user, auditlogTypes.tenant];\n\nexport const TENANT_LIST_DEFAULT = {\n page: 1,\n perPage: 20\n};\n","'use strict';\n\n// Copyright 2015 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { uiPermissionsById } from '../constants';\n\nexport type UiPermission = {\n explanations: object;\n permissionLevel: number;\n permissionSets: Record<string, string>;\n title: string;\n value: string;\n verbs: string[];\n};\n\ntype ExcessiveAccessConfig = {\n selector: string;\n warning: string;\n};\n\ntype EndpointDefinition = {\n path: RegExp;\n types: string[];\n uiPermissions: UiPermission[];\n};\n\n/**\n * _uiPermissions_ represent the possible permissions/ rights that can be given for the area\n * _endpoints_ represent the possible endpoints this definition might be affecting in the UI and what\n * functionality might be affected\n *\n */\nexport type PermissionsArea = {\n endpoints: EndpointDefinition[];\n excessiveAccessConfig?: ExcessiveAccessConfig;\n explanation: string;\n filter?: (object) => string[];\n key: string;\n placeholder?: string;\n scope?: string;\n title: string;\n uiPermissions: UiPermission[];\n};\n\nexport const itemUiPermissionsReducer = (accu, { item, uiPermissions }) => (item ? { ...accu, [item]: uiPermissions } : accu);\n\nconst checkSinglePermission = (permission, requiredPermission) =>\n requiredPermission === permission || uiPermissionsById[permission].permissionLevel > uiPermissionsById[requiredPermission].permissionLevel;\n\nexport const checkPermissionsObject = (permissions, requiredPermission, scopedAccess, superAccess) =>\n permissions[superAccess]?.some(permission => checkSinglePermission(permission, requiredPermission)) ||\n permissions[scopedAccess]?.some(permission => checkSinglePermission(permission, requiredPermission));\n\nexport const USER_LOGOUT = 'USER_LOGOUT';\n\nexport const OWN_USER_ID = 'me';\n\nexport const settingsKeys = { colorScheme: 'colorScheme', initialized: 'settings-initialized' };\n\nexport const READ_STATES = {\n read: 'read',\n seen: 'seen',\n unread: 'unread'\n} as const;\nexport type ReadState = keyof typeof READ_STATES;\n"],"mappings":";;;;AAoBA,MAAa,YAAY;CACvB,MAAM;CACN,SAAS;CACT,OAAO;AACT;AAEA,MAAa,kBAAkB;CAAE,IAAI;CAAmB,MAAM;AAAa;AAE3E,MAAa,6BAA6B;AAI1C,MAAM,YAAY;AAClB,MAAa,WAAW;CACtB,iBAAiB;CACjB,eAAe;CACf,aAAa,KAAM;CACnB;CACA,YAAY,IAAI;CAChB,cAAc,IAAI;CAClB,aAAa,IAAI;CACjB,gBAAgB,KAAK;CACrB,aAAa,KAAK;AACpB;AAEA,MAAa,uBAAuB;CAAE,UAAU;CAAG,cAAc,UAAU;AAAK;AAMhF,MAAa,qBAA4C,OAAO,OAAO;CAAE,WAAW;CAAM,OAAO,iBAAiB;AAAS,CAAC;AAE5H,MAAa,yCAAyC;AAItD,MAAa,yBAAyB;CACpC,SAAS;CACT,QAAQ;AACV;AAEA,MAAa,eAAe;CAAC;CAAS;CAAY;AAAQ;AAE1D,MAAa,kBAAkB;CAC7B,KAAK;CACL,MAAM;CACN,KAAK;CACL,MAAM;AACR;AACA,MAAa,oBAAoB;CAC/B,YAAY;EACV,iBAAiB,gBAAgB;EACjC,MAAMA;EACN,OAAO;EACP,WAAW;EACX,UAAU;EACV,SAAS;EACT,YAAY;EACZ,YAAY,oBAAA,UAAA,EAAA,UAAE,yFAAwF,CAAA;CACxG;CACA,WAAW;EACT,iBAAiB,gBAAgB;EACjC,MAAMC;EACN,OAAO;EACP,WAAW;EACX,UAAU;EACV,SAAS;EACT,YAAY;EACZ,YACE,qBAAC,QAAD,EAAA,UAAA;GAAM;GACwI;GAE1I,oBAAC,KAAD;IACE,MAAK;IACL,QAAO;IACP,KAAI;IACL,UAAA;GAEE,CAAA;GACJ;EAEG,EAAA,CAAA;CAEV;CACA,SAAS;EACP,iBAAiB,gBAAgB;EACjC,YAAY;EACZ,WAAW;EAEX,SAAS;EACT,UAAU;CACZ;AACF;AAMA,MAAa,eAAwB;CACnC,aAAa;CACb,UAAU;CACV,aAAa;EACX,MAAM,kBAAkB,QAAQ;GAC/B,kBAAkB,QAAQ,kBAAkB;GAC3C,QAAQ;GACR,KAAK;EACP;CACF;AACF;AAMA,MAAa,gBAAgB;AAC7B,MAAM,cAAc,IAAI,KAAK,aAAa,CAAC,IAAI,GAAG,EAAE,MAAM,SAAS,CAAC;AACpE,MAAa,YAAoC;CAC/C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CA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"}
|
|
1
|
+
{"version":3,"file":"constants-D5hACLhF.js","names":["AWS","Azure"],"sources":["../src/commonConstants.tsx","../src/deploymentsSlice/constants.ts","../src/devicesSlice/constants.ts","../src/organizationSlice/constants.ts","../src/usersSlice/constants.ts"],"sourcesContent":["// Copyright 2024 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n// @ts-nocheck\nimport { mdiAws as AWS, mdiMicrosoftAzure as Azure } from '@mdi/js';\nimport type { Integration } from '@northern.tech/types/MenderTypes';\n\nimport type { DEVICE_FILTERING_OPTIONS } from './constants';\nimport { ATTRIBUTE_SCOPES } from './constants';\n\nexport const timeUnits = {\n days: 'days',\n minutes: 'minutes',\n hours: 'hours'\n};\n\nexport const UNGROUPED_GROUP = { id: '*|=ungrouped=|*', name: 'Unassigned' };\n\nexport const DEVICE_LIST_MAXIMUM_LENGTH = 50;\n\nexport type FilterOperator = keyof typeof DEVICE_FILTERING_OPTIONS;\n\nconst oneSecond = 1000;\nexport const TIMEOUTS = {\n debounceDefault: 700,\n debounceShort: 300,\n halfASecond: 0.5 * oneSecond,\n oneSecond,\n twoSeconds: 2 * oneSecond,\n threeSeconds: 3 * oneSecond,\n fiveSeconds: 5 * oneSecond,\n refreshDefault: 10 * oneSecond,\n refreshLong: 60 * oneSecond\n};\n\nexport const DEVICE_ONLINE_CUTOFF = { interval: 1, intervalName: timeUnits.days };\n\nexport interface IdAttribute {\n attribute: string;\n scope: string;\n}\nexport const defaultIdAttribute: Readonly<IdAttribute> = Object.freeze({ attribute: 'id', scope: ATTRIBUTE_SCOPES.identity });\n\nexport const ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX = 'mender-orchestrator-manifest.';\n\n// displayed labels for attribute scopes that diverge from the internal scope values: the system scope shows as\n// `default`, while orchestrator manifest attributes (inventory scope) show as `system`\nexport const ATTRIBUTE_SCOPE_LABELS = {\n default: 'default',\n system: 'system'\n} as const;\n\nexport const productOrder = ['micro', 'standard', 'system'];\n\nexport const credentialTypes = {\n aws: 'aws',\n http: 'http',\n sas: 'sas',\n x509: 'x509'\n};\nexport const EXTERNAL_PROVIDER = {\n 'iot-core': {\n credentialsType: credentialTypes.aws,\n icon: AWS,\n title: 'AWS IoT Core',\n twinTitle: 'Device Shadow',\n provider: 'iot-core',\n enabled: true,\n deviceTwin: true,\n configHint: <>For help finding your AWS IoT Core connection string, check the AWS IoT documentation.</>\n },\n 'iot-hub': {\n credentialsType: credentialTypes.sas,\n icon: Azure,\n title: 'Azure IoT Hub',\n twinTitle: 'Device Twin',\n provider: 'iot-hub',\n enabled: true,\n deviceTwin: true,\n configHint: (\n <span>\n For help finding your Azure IoT Hub connection string, look under 'Shared access policies' in the Microsoft Azure UI as described{' '}\n {\n <a\n href=\"https://devblogs.microsoft.com/iotdev/understand-different-connection-strings-in-azure-iot-hub/#iothubconn\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n here\n </a>\n }\n .\n </span>\n )\n },\n webhook: {\n credentialsType: credentialTypes.http,\n deviceTwin: false,\n twinTitle: '',\n // disable the webhook provider here, since it is treated different than other integrations, with a custom configuration & management view, etc.\n enabled: false,\n provider: 'webhook'\n }\n} as const;\n\nexport interface Webhook extends Integration {\n provider: 'webhook';\n}\n\nexport const emptyWebhook: Webhook = {\n description: '',\n provider: 'webhook',\n credentials: {\n type: EXTERNAL_PROVIDER.webhook.credentialsType,\n [EXTERNAL_PROVIDER.webhook.credentialsType]: {\n secret: '',\n url: ''\n }\n }\n};\n\ninterface CountryType {\n code: string;\n label: string;\n}\nexport const MAX_PAGE_SIZE = 500;\nconst regionNames = new Intl.DisplayNames(['en'], { type: 'region' });\nexport const countries: readonly CountryType[] = [\n 'AD',\n 'AE',\n 'AF',\n 'AG',\n 'AI',\n 'AL',\n 'AM',\n 'AO',\n 'AQ',\n 'AR',\n 'AS',\n 'AT',\n 'AU',\n 'AW',\n 'AX',\n 'AZ',\n 'BA',\n 'BB',\n 'BD',\n 'BE',\n 'BF',\n 'BG',\n 'BH',\n 'BI',\n 'BJ',\n 'BL',\n 'BM',\n 'BN',\n 'BO',\n 'BR',\n 'BS',\n 'BT',\n 'BV',\n 'BW',\n 'BY',\n 'BZ',\n 'CA',\n 'CC',\n 'CD',\n 'CF',\n 'CG',\n 'CH',\n 'CI',\n 'CK',\n 'CL',\n 'CM',\n 'CN',\n 'CO',\n 'CR',\n 'CU',\n 'CV',\n 'CW',\n 'CX',\n 'CY',\n 'CZ',\n 'DE',\n 'DJ',\n 'DK',\n 'DM',\n 'DO',\n 'DZ',\n 'EC',\n 'EE',\n 'EG',\n 'EH',\n 'ER',\n 'ES',\n 'ET',\n 'FI',\n 'FJ',\n 'FK',\n 'FM',\n 'FO',\n 'FR',\n 'GA',\n 'GB',\n 'GD',\n 'GE',\n 'GF',\n 'GG',\n 'GH',\n 'GI',\n 'GL',\n 'GM',\n 'GN',\n 'GP',\n 'GQ',\n 'GR',\n 'GS',\n 'GT',\n 'GU',\n 'GW',\n 'GY',\n 'HK',\n 'HM',\n 'HN',\n 'HR',\n 'HT',\n 'HU',\n 'ID',\n 'IE',\n 'IL',\n 'IM',\n 'IN',\n 'IO',\n 'IQ',\n 'IR',\n 'IS',\n 'IT',\n 'JE',\n 'JM',\n 'JO',\n 'JP',\n 'KE',\n 'KG',\n 'KH',\n 'KI',\n 'KM',\n 'KN',\n 'KP',\n 'KR',\n 'KW',\n 'KY',\n 'KZ',\n 'LA',\n 'LB',\n 'LC',\n 'LI',\n 'LK',\n 'LR',\n 'LS',\n 'LT',\n 'LU',\n 'LV',\n 'LY',\n 'MA',\n 'MC',\n 'MD',\n 'ME',\n 'MF',\n 'MG',\n 'MH',\n 'MK',\n 'ML',\n 'MM',\n 'MN',\n 'MO',\n 'MP',\n 'MQ',\n 'MR',\n 'MS',\n 'MT',\n 'MU',\n 'MV',\n 'MW',\n 'MX',\n 'MY',\n 'MZ',\n 'NA',\n 'NC',\n 'NE',\n 'NF',\n 'NG',\n 'NI',\n 'NL',\n 'NO',\n 'NP',\n 'NR',\n 'NU',\n 'NZ',\n 'OM',\n 'PA',\n 'PE',\n 'PF',\n 'PG',\n 'PH',\n 'PK',\n 'PL',\n 'PM',\n 'PN',\n 'PR',\n 'PS',\n 'PT',\n 'PW',\n 'PY',\n 'QA',\n 'RE',\n 'RO',\n 'RS',\n 'RU',\n 'RW',\n 'SA',\n 'SB',\n 'SC',\n 'SD',\n 'SE',\n 'SG',\n 'SH',\n 'SI',\n 'SJ',\n 'SK',\n 'SL',\n 'SM',\n 'SN',\n 'SO',\n 'SR',\n 'SS',\n 'ST',\n 'SV',\n 'SX',\n 'SY',\n 'SZ',\n 'TC',\n 'TD',\n 'TF',\n 'TG',\n 'TH',\n 'TJ',\n 'TK',\n 'TL',\n 'TM',\n 'TN',\n 'TO',\n 'TR',\n 'TT',\n 'TV',\n 'TW',\n 'TZ',\n 'UA',\n 'UG',\n 'US',\n 'UY',\n 'UZ',\n 'VA',\n 'VC',\n 'VE',\n 'VG',\n 'VI',\n 'VN',\n 'VU',\n 'WF',\n 'WS',\n 'XK',\n 'YE',\n 'YT',\n 'ZA',\n 'ZM',\n 'ZW'\n]\n .map(code => ({ code, label: regionNames.of(code) }))\n .sort((a, b) => a.label.localeCompare(b.label));\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DeploymentStatistics } from '@northern.tech/types/MenderTypes';\n\nimport { DEVICE_LIST_DEFAULTS, SORTING_OPTIONS } from '../constants';\n\nconst alreadyInstalled = 'already-installed';\n\nexport const deploymentSubstates = {\n aborted: 'aborted',\n alreadyInstalled,\n decommissioned: 'decommissioned',\n downloading: 'downloading',\n failure: 'failure',\n installing: 'installing',\n noartifact: 'noartifact',\n artifact_too_big: 'artifact_too_big',\n incompatible_tier: 'incompatible_tier',\n pause_before_committing: 'pause_before_committing',\n pause_before_installing: 'pause_before_installing',\n pause_before_rebooting: 'pause_before_rebooting',\n pending: 'pending',\n rebooting: 'rebooting',\n success: 'success'\n};\n\nexport type DeploymentSubstateMapping = {\n failures: string[];\n inprogress: string[];\n paused: string[];\n pending: string[];\n skipped?: string[];\n successes: string[];\n};\n\nexport const deploymentStatesToSubstates: DeploymentSubstateMapping = {\n failures: [deploymentSubstates.failure, deploymentSubstates.aborted, deploymentSubstates.decommissioned],\n inprogress: [deploymentSubstates.downloading, deploymentSubstates.installing, deploymentSubstates.rebooting],\n paused: [deploymentSubstates.pause_before_installing, deploymentSubstates.pause_before_rebooting, deploymentSubstates.pause_before_committing],\n pending: [deploymentSubstates.pending],\n successes: [\n deploymentSubstates.success,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.incompatible_tier\n ]\n};\n\nexport const deploymentStatesToSubstatesWithSkipped: DeploymentSubstateMapping = {\n ...deploymentStatesToSubstates,\n failures: [deploymentSubstates.failure],\n skipped: [\n deploymentSubstates.aborted,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.decommissioned,\n deploymentSubstates.incompatible_tier\n ],\n successes: [deploymentSubstates.success]\n};\nexport const installationSubstatesMap = {\n download: {\n title: 'download',\n done: 'downloaded',\n successIndicators: [deploymentSubstates.installing, deploymentSubstates.rebooting, ...deploymentStatesToSubstates.paused, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactInstall_Enter'\n },\n install: {\n title: 'install',\n done: 'installed',\n successIndicators: [\n deploymentSubstates.rebooting,\n deploymentSubstates.pause_before_rebooting,\n deploymentSubstates.pause_before_committing,\n deploymentSubstates.success\n ],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactReboot_Enter'\n },\n reboot: {\n title: 'reboot',\n done: 'rebooted',\n successIndicators: [deploymentSubstates.pause_before_committing, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactCommit_Enter'\n },\n commit: {\n title: 'commit',\n done: 'committed',\n successIndicators: deploymentStatesToSubstates.successes,\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: undefined\n }\n};\n\nexport const DEPLOYMENT_STATES = {\n finished: 'finished',\n inprogress: 'inprogress',\n pending: 'pending',\n scheduled: 'scheduled'\n} as const;\n\nexport const listDefaultsByState = {\n [DEPLOYMENT_STATES.inprogress]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.pending]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.scheduled]: { ...DEVICE_LIST_DEFAULTS },\n [DEPLOYMENT_STATES.finished]: { ...DEVICE_LIST_DEFAULTS },\n sort: { direction: SORTING_OPTIONS.desc }\n};\n\nexport const DEFAULT_PENDING_INPROGRESS_COUNT = 10;\nexport const DEPLOYMENT_ROUTES = {\n active: {\n key: 'active',\n route: '/deployments/active',\n states: [DEPLOYMENT_STATES.pending, DEPLOYMENT_STATES.inprogress],\n title: 'Active'\n },\n finished: {\n key: 'finished',\n route: '/deployments/finished',\n states: [DEPLOYMENT_STATES.finished],\n title: 'Finished'\n },\n scheduled: {\n key: 'scheduled',\n route: '/deployments/scheduled',\n states: [DEPLOYMENT_STATES.scheduled],\n title: 'Scheduled'\n }\n} as const;\nexport const DEPLOYMENT_TYPES = {\n software: 'software',\n configuration: 'configuration'\n};\nexport const defaultStats = {\n [deploymentSubstates.aborted]: 0,\n [deploymentSubstates.alreadyInstalled]: 0,\n [deploymentSubstates.decommissioned]: 0,\n [deploymentSubstates.downloading]: 0,\n [deploymentSubstates.failure]: 0,\n [deploymentSubstates.installing]: 0,\n [deploymentSubstates.noartifact]: 0,\n [deploymentSubstates.pause_before_committing]: 0,\n [deploymentSubstates.pause_before_installing]: 0,\n [deploymentSubstates.pause_before_rebooting]: 0,\n [deploymentSubstates.pending]: 0,\n [deploymentSubstates.rebooting]: 0,\n [deploymentSubstates.success]: 0\n};\nexport const deploymentDisplayStates = {\n finished: 'Finished',\n scheduled: 'Scheduled',\n skipped: 'Skipped',\n paused: 'Paused',\n pending: 'Pending',\n inprogress: 'In Progress',\n success: 'Success',\n successes: 'Success',\n failure: 'Fail',\n failures: 'Fail'\n};\n\nexport const deploymentPrototype = {\n devices: {},\n name: undefined,\n statistics: { status: {} } as DeploymentStatistics\n};\n\nexport const pauseMap = {\n [deploymentSubstates.pause_before_installing]: {\n title: installationSubstatesMap.download.done,\n followUp: installationSubstatesMap.download.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_rebooting]: {\n title: installationSubstatesMap.install.done,\n followUp: installationSubstatesMap.install.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_committing]: {\n title: installationSubstatesMap.reboot.done,\n followUp: installationSubstatesMap.reboot.pauseConfigurationIndicator\n }\n};\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DEVICE_STATES, FilterOperator } from '../constants';\nimport { DEVICE_FILTERING_OPTIONS } from '../constants';\n\nexport const emptyFilter = { key: null, value: '', operator: DEVICE_FILTERING_OPTIONS.$eq.key as FilterOperator, scope: 'inventory' };\n\n// see https://github.com/mendersoftware/go-lib-micro/tree/master/ws\n// for the description of proto_header and the consts\n// *Note*: this needs to be aligned with mender-connect and deviceconnect.\nexport const DEVICE_MESSAGE_PROTOCOLS = {\n Shell: 1\n};\nexport const DEVICE_MESSAGE_TYPES = {\n Delay: 'delay',\n New: 'new',\n Ping: 'ping',\n Pong: 'pong',\n Resize: 'resize',\n Shell: 'shell',\n Stop: 'stop'\n};\n\n// we can't include the dismiss state with the rest since this would include dismissed devices in several queries\nexport const DEVICE_DISMISSAL_STATE = 'dismiss';\n\nexport type DeviceAuthState = (typeof DEVICE_STATES)[keyof typeof DEVICE_STATES];\n\nexport const DEVICE_CONNECT_STATES = {\n connected: 'connected',\n disconnected: 'disconnected',\n unknown: 'unknown'\n};\n\nexport const geoAttributes = ['geo-lat', 'geo-lon'].map(attribute => ({ attribute, scope: 'inventory' }));\n\nexport const REPORT_CHART_SIZE_LIMIT = 6;\n","// Copyright 2020 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { useradmApiUrl } from '../constants';\n\nexport const XML_METADATA_FORMAT = 'xml';\nexport const JSON_METADATA_FORMAT = 'json';\n\nexport const getSamlStartUrl = id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/login`;\nexport const getOidcStartUrl = id => `${window.location.origin}${useradmApiUrl}/oidc/${id}/start`;\n\nexport const SSO_TYPES = {\n saml: {\n id: 'saml',\n type: 'saml',\n title: 'SAML',\n metadataFormat: XML_METADATA_FORMAT,\n editorLanguage: XML_METADATA_FORMAT,\n contentType: 'application/samlmetadata+xml',\n getStartUrl: getSamlStartUrl,\n configDetails: [\n { key: 'entityID', label: 'Entity ID', getValue: id => `${window.location.origin}${useradmApiUrl}/sso/sp/metadata/${id}` },\n { key: 'acs', label: 'ACS URL', getValue: id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/acs` },\n { key: 'startURL', label: 'Start URL', getValue: getSamlStartUrl }\n ]\n },\n oidc: {\n id: 'oidc',\n type: 'oidc',\n title: 'OpenID Connect',\n metadataFormat: JSON_METADATA_FORMAT,\n editorLanguage: JSON_METADATA_FORMAT,\n contentType: 'application/json',\n getStartUrl: getOidcStartUrl,\n configDetails: [{ key: 'startURL', label: 'Start Url', getValue: getOidcStartUrl }]\n }\n} as const;\n\nexport type ContentType = (typeof SSO_TYPES)[keyof typeof SSO_TYPES]['contentType'];\n\nexport const auditlogTypes = {\n artifact: { title: 'Artifact', queryParameter: 'object_type', value: 'artifact' },\n deployment: { title: 'Deployment', queryParameter: 'object_deployment_name', value: 'deployment' },\n device: { title: 'Device', queryParameter: 'object_id', value: 'device' },\n user_access_token: { title: 'Personal Access Token', queryParameter: 'user_access_token', value: 'user_access_token' },\n user: { title: 'User', queryParameter: 'object_id', value: 'user' },\n tenant: { title: 'Tenant', queryParameter: 'object_id', value: 'tenant' }\n};\n\nexport const AUDIT_LOGS_TYPES = [auditlogTypes.artifact, auditlogTypes.deployment, auditlogTypes.device, auditlogTypes.user_access_token, auditlogTypes.user];\nexport const SP_AUDIT_LOGS_TYPES = [auditlogTypes.user, auditlogTypes.tenant];\n\nexport const TENANT_LIST_DEFAULT = {\n page: 1,\n perPage: 20\n};\n","'use strict';\n\n// Copyright 2015 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { uiPermissionsById } from '../constants';\n\nexport type UiPermission = {\n explanations: object;\n permissionLevel: number;\n permissionSets: Record<string, string>;\n title: string;\n value: string;\n verbs: string[];\n};\n\ntype ExcessiveAccessConfig = {\n selector: string;\n warning: string;\n};\n\ntype EndpointDefinition = {\n path: RegExp;\n types: string[];\n uiPermissions: UiPermission[];\n};\n\n/**\n * _uiPermissions_ represent the possible permissions/ rights that can be given for the area\n * _endpoints_ represent the possible endpoints this definition might be affecting in the UI and what\n * functionality might be affected\n *\n */\nexport type PermissionsArea = {\n endpoints: EndpointDefinition[];\n excessiveAccessConfig?: ExcessiveAccessConfig;\n explanation: string;\n filter?: (object) => string[];\n key: string;\n placeholder?: string;\n scope?: string;\n title: string;\n uiPermissions: UiPermission[];\n};\n\nexport const itemUiPermissionsReducer = (accu, { item, uiPermissions }) => (item ? { ...accu, [item]: uiPermissions } : accu);\n\nconst checkSinglePermission = (permission, requiredPermission) =>\n requiredPermission === permission || uiPermissionsById[permission].permissionLevel > uiPermissionsById[requiredPermission].permissionLevel;\n\nexport const checkPermissionsObject = (permissions, requiredPermission, scopedAccess, superAccess) =>\n permissions[superAccess]?.some(permission => checkSinglePermission(permission, requiredPermission)) ||\n permissions[scopedAccess]?.some(permission => checkSinglePermission(permission, requiredPermission));\n\nexport const USER_LOGOUT = 'USER_LOGOUT';\n\nexport const OWN_USER_ID = 'me';\n\nexport const settingsKeys = { colorScheme: 'colorScheme', initialized: 'settings-initialized' };\n\nexport const READ_STATES = {\n read: 'read',\n seen: 'seen',\n unread: 'unread'\n} as const;\nexport type ReadState = keyof typeof READ_STATES;\n"],"mappings":";;;;AAoBA,MAAa,YAAY;CACvB,MAAM;CACN,SAAS;CACT,OAAO;AACT;AAEA,MAAa,kBAAkB;CAAE,IAAI;CAAmB,MAAM;AAAa;AAE3E,MAAa,6BAA6B;AAI1C,MAAM,YAAY;AAClB,MAAa,WAAW;CACtB,iBAAiB;CACjB,eAAe;CACf,aAAa,KAAM;CACnB;CACA,YAAY,IAAI;CAChB,cAAc,IAAI;CAClB,aAAa,IAAI;CACjB,gBAAgB,KAAK;CACrB,aAAa,KAAK;AACpB;AAEA,MAAa,uBAAuB;CAAE,UAAU;CAAG,cAAc,UAAU;AAAK;AAMhF,MAAa,qBAA4C,OAAO,OAAO;CAAE,WAAW;CAAM,OAAO,iBAAiB;AAAS,CAAC;AAE5H,MAAa,yCAAyC;AAItD,MAAa,yBAAyB;CACpC,SAAS;CACT,QAAQ;AACV;AAEA,MAAa,eAAe;CAAC;CAAS;CAAY;AAAQ;AAE1D,MAAa,kBAAkB;CAC7B,KAAK;CACL,MAAM;CACN,KAAK;CACL,MAAM;AACR;AACA,MAAa,oBAAoB;CAC/B,YAAY;EACV,iBAAiB,gBAAgB;EACjC,MAAMA;EACN,OAAO;EACP,WAAW;EACX,UAAU;EACV,SAAS;EACT,YAAY;EACZ,YAAY,oBAAA,UAAA,EAAA,UAAE,yFAAwF,CAAA;CACxG;CACA,WAAW;EACT,iBAAiB,gBAAgB;EACjC,MAAMC;EACN,OAAO;EACP,WAAW;EACX,UAAU;EACV,SAAS;EACT,YAAY;EACZ,YACE,qBAAC,QAAD,EAAA,UAAA;GAAM;GACwI;GAE1I,oBAAC,KAAD;IACE,MAAK;IACL,QAAO;IACP,KAAI;IACL,UAAA;GAEE,CAAA;GACJ;EAEG,EAAA,CAAA;CAEV;CACA,SAAS;EACP,iBAAiB,gBAAgB;EACjC,YAAY;EACZ,WAAW;EAEX,SAAS;EACT,UAAU;CACZ;AACF;AAMA,MAAa,eAAwB;CACnC,aAAa;CACb,UAAU;CACV,aAAa;EACX,MAAM,kBAAkB,QAAQ;GAC/B,kBAAkB,QAAQ,kBAAkB;GAC3C,QAAQ;GACR,KAAK;EACP;CACF;AACF;AAMA,MAAa,gBAAgB;AAC7B,MAAM,cAAc,IAAI,KAAK,aAAa,CAAC,IAAI,GAAG,EAAE,MAAM,SAAS,CAAC;AACpE,MAAa,YAAoC;CAC/C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CA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"}
|
package/dist/constants.cjs
CHANGED
|
@@ -7,7 +7,7 @@ let _northern_tech_utils_constants = require("@northern.tech/utils/constants");
|
|
|
7
7
|
exports.ADDONS = require_appSlice_constants.ADDONS;
|
|
8
8
|
exports.ALL_DEVICES = _northern_tech_utils_constants.ALL_DEVICES;
|
|
9
9
|
exports.ALL_DEVICE_STATES = _northern_tech_utils_constants.ALL_DEVICE_STATES;
|
|
10
|
-
exports.
|
|
10
|
+
exports.ALL_SOFTWARE = _northern_tech_utils_constants.ALL_SOFTWARE;
|
|
11
11
|
exports.APPLICATION_JSON_CONTENT_TYPE = _northern_tech_utils_constants.APPLICATION_JSON_CONTENT_TYPE;
|
|
12
12
|
exports.APPLICATION_JWT_CONTENT_TYPE = _northern_tech_utils_constants.APPLICATION_JWT_CONTENT_TYPE;
|
|
13
13
|
exports.ARTIFACT_GENERATION_TYPE = require_releasesSlice_constants.ARTIFACT_GENERATION_TYPE;
|
package/dist/constants.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as locations, a as AvailablePlans, c as DARK_MODE, d as Plan, f as canAccess, g as emptyChartSelection, h as defaultReports, i as AvailableAddon, l as LIGHT_MODE, m as defaultReportType, n as Addon, o as BEGINNING_OF_TIME, p as chartTypes, r as AddonId, s as BENEFITS, t as ADDONS, u as PLANS, v as yes } from "./constants-nKSWZ8oD.cjs";
|
|
2
|
-
import { $ as scopedPermissionAreas, A as alertChannels, At as countries, B as deviceConnect, C as SORTING_OPTIONS, Ct as FilterOperator, D as UiPermissionsByIdKey, Dt as TIMEOUTS, E as UiPermissionsByAreaKey, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, F as deploymentsApiUrl, Ft as timeUnits, G as inventoryApiUrlV2, H as emptyUiPermissions, I as deploymentsApiUrlV1alpha1, J as limitDefault, K as inventoryApiUrlV2alpha1, L as deploymentsApiUrlV2, M as apiUrl, Mt as defaultIdAttribute, N as auditLogsApiUrl, Nt as emptyWebhook, O as UiPermissionsDefinition, Ot as UNGROUPED_GROUP, P as defaultPermissionSets, Pt as productOrder, Q as rolesByName, R as deviceAuthV2, S as Role, St as EXTERNAL_PROVIDER, T as SortOptions, Tt as MAX_PAGE_SIZE, U as headerNames, V as emptyRole, W as inventoryApiUrl, X as monitorApiUrlv1, Y as maxSessionAge, Z as rolesById, _ as PermissionObject, _t as emptyFilter, a as APPLICATION_JWT_CONTENT_TYPE, at as uiPermissionsByArea, b as PermissionTypes, bt as DEVICE_LIST_MAXIMUM_LENGTH, c as AuditLogPermission, ct as useradmApiUrlv1, d as DEVICE_LIST_DEFAULTS, dt as DEVICE_CONNECT_STATES, et as serviceProviderRolesById, f as DEVICE_STATES, ft as DEVICE_DISMISSAL_STATE, g as PaginationOptions, gt as REPORT_CHART_SIZE_LIMIT, h as GroupsPermission, ht as DeviceAuthState, i as APPLICATION_JSON_CONTENT_TYPE, it as twoFAStates, j as apiRoot, jt as credentialTypes, k as UserManagementPermission, kt as Webhook, l as DEVICE_FILTERING_OPTIONS, lt as useradmApiUrlv2, m as DeviceIssueOptionKey, mt as DEVICE_MESSAGE_TYPES, n as ALL_DEVICE_STATES, nt as tenantadmApiUrlv1, o as ATTRIBUTE_SCOPES, ot as uiPermissionsById, p as DeploymentPermission, pt as DEVICE_MESSAGE_PROTOCOLS, q as iotManagerBaseURL, r as
|
|
2
|
+
import { $ as scopedPermissionAreas, A as alertChannels, At as countries, B as deviceConnect, C as SORTING_OPTIONS, Ct as FilterOperator, D as UiPermissionsByIdKey, Dt as TIMEOUTS, E as UiPermissionsByAreaKey, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, F as deploymentsApiUrl, Ft as timeUnits, G as inventoryApiUrlV2, H as emptyUiPermissions, I as deploymentsApiUrlV1alpha1, J as limitDefault, K as inventoryApiUrlV2alpha1, L as deploymentsApiUrlV2, M as apiUrl, Mt as defaultIdAttribute, N as auditLogsApiUrl, Nt as emptyWebhook, O as UiPermissionsDefinition, Ot as UNGROUPED_GROUP, P as defaultPermissionSets, Pt as productOrder, Q as rolesByName, R as deviceAuthV2, S as Role, St as EXTERNAL_PROVIDER, T as SortOptions, Tt as MAX_PAGE_SIZE, U as headerNames, V as emptyRole, W as inventoryApiUrl, X as monitorApiUrlv1, Y as maxSessionAge, Z as rolesById, _ as PermissionObject, _t as emptyFilter, a as APPLICATION_JWT_CONTENT_TYPE, at as uiPermissionsByArea, b as PermissionTypes, bt as DEVICE_LIST_MAXIMUM_LENGTH, c as AuditLogPermission, ct as useradmApiUrlv1, d as DEVICE_LIST_DEFAULTS, dt as DEVICE_CONNECT_STATES, et as serviceProviderRolesById, f as DEVICE_STATES, ft as DEVICE_DISMISSAL_STATE, g as PaginationOptions, gt as REPORT_CHART_SIZE_LIMIT, h as GroupsPermission, ht as DeviceAuthState, i as APPLICATION_JSON_CONTENT_TYPE, it as twoFAStates, j as apiRoot, jt as credentialTypes, k as UserManagementPermission, kt as Webhook, l as DEVICE_FILTERING_OPTIONS, lt as useradmApiUrlv2, m as DeviceIssueOptionKey, mt as DEVICE_MESSAGE_TYPES, n as ALL_DEVICE_STATES, nt as tenantadmApiUrlv1, o as ATTRIBUTE_SCOPES, ot as uiPermissionsById, p as DeploymentPermission, pt as DEVICE_MESSAGE_PROTOCOLS, q as iotManagerBaseURL, r as ALL_SOFTWARE, rt as tenantadmApiUrlv2, s as AnyPermission, st as useradmApiUrl, t as ALL_DEVICES, tt as ssoIdpApiUrlv1, u as DEVICE_ISSUE_OPTIONS, ut as AlertChannelKey, v as PermissionSet, vt as geoAttributes, w as ScopedPermissionsByAreaKey, wt as IdAttribute, x as ReleasesPermission, xt as DEVICE_ONLINE_CUTOFF, y as PermissionSetId, yt as ATTRIBUTE_SCOPE_LABELS, z as deviceConfig } from "./constants-C2O55iZu.cjs";
|
|
3
3
|
import { a as DeploymentSubstateMapping, c as deploymentPrototype, d as deploymentSubstates, f as installationSubstatesMap, i as DEPLOYMENT_TYPES, l as deploymentStatesToSubstates, m as pauseMap, n as DEPLOYMENT_ROUTES, o as defaultStats, p as listDefaultsByState, r as DEPLOYMENT_STATES, s as deploymentDisplayStates, t as DEFAULT_PENDING_INPROGRESS_COUNT, u as deploymentStatesToSubstatesWithSkipped } from "./constants-C6TIYaY4.cjs";
|
|
4
4
|
import { i as orderedOnboardingSteps, n as OnboardingStepKey, r as onboardingSteps, t as OnboardingStep } from "./constants-Db_RBdlV.cjs";
|
|
5
5
|
import { a as SSO_TYPES, c as auditlogTypes, i as SP_AUDIT_LOGS_TYPES, l as getOidcStartUrl, n as ContentType, o as TENANT_LIST_DEFAULT, r as JSON_METADATA_FORMAT, s as XML_METADATA_FORMAT, t as AUDIT_LOGS_TYPES, u as getSamlStartUrl } from "./constants-OZiiFKiA.cjs";
|
|
6
6
|
import { a as softwareIndicator, i as rootfsImageVersion, n as currentArtifact, o as softwareTitleMap, r as manifestVersion, t as ARTIFACT_GENERATION_TYPE } from "./constants-B3NH1IQi.cjs";
|
|
7
7
|
import { a as USER_LOGOUT, c as itemUiPermissionsReducer, i as ReadState, l as settingsKeys, n as PermissionsArea, o as UiPermission, r as READ_STATES, s as checkPermissionsObject, t as OWN_USER_ID } from "./constants-D8-yUk19.cjs";
|
|
8
|
-
export { ADDONS, ALL_DEVICES, ALL_DEVICE_STATES,
|
|
8
|
+
export { ADDONS, ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ARTIFACT_GENERATION_TYPE, ATTRIBUTE_SCOPES, ATTRIBUTE_SCOPE_LABELS, AUDIT_LOGS_TYPES, Addon, AddonId, AlertChannelKey, type AnyPermission, type AuditLogPermission, AvailableAddon, AvailablePlans, BEGINNING_OF_TIME, BENEFITS, ContentType, DARK_MODE, DEFAULT_PENDING_INPROGRESS_COUNT, DEPLOYMENT_ROUTES, DEPLOYMENT_STATES, DEPLOYMENT_TYPES, DEVICE_CONNECT_STATES, DEVICE_DISMISSAL_STATE, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_MESSAGE_PROTOCOLS, DEVICE_MESSAGE_TYPES, DEVICE_ONLINE_CUTOFF, DEVICE_STATES, type DeploymentPermission, DeploymentSubstateMapping, DeviceAuthState, type DeviceIssueOptionKey, EXTERNAL_PROVIDER, FilterOperator, type GroupsPermission, IdAttribute, JSON_METADATA_FORMAT, LIGHT_MODE, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, OWN_USER_ID, OnboardingStep, OnboardingStepKey, PLANS, type PaginationOptions, type PermissionObject, type PermissionSet, type PermissionSetId, PermissionTypes, PermissionsArea, Plan, READ_STATES, REPORT_CHART_SIZE_LIMIT, ReadState, type ReleasesPermission, type Role, SORTING_OPTIONS, SP_AUDIT_LOGS_TYPES, SSO_TYPES, type ScopedPermissionsByAreaKey, type SortOptions, TENANT_LIST_DEFAULT, TIMEOUTS, UNGROUPED_GROUP, USER_LOGOUT, UiPermission, type UiPermissionsByAreaKey, type UiPermissionsByIdKey, type UiPermissionsDefinition, type UserManagementPermission, Webhook, XML_METADATA_FORMAT, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, auditlogTypes, canAccess, chartTypes, checkPermissionsObject, countries, credentialTypes, currentArtifact, defaultIdAttribute, defaultPermissionSets, defaultReportType, defaultReports, defaultStats, deploymentDisplayStates, deploymentPrototype, deploymentStatesToSubstates, deploymentStatesToSubstatesWithSkipped, deploymentSubstates, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyChartSelection, emptyFilter, emptyRole, emptyUiPermissions, emptyWebhook, geoAttributes, getOidcStartUrl, getSamlStartUrl, headerNames, installationSubstatesMap, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, itemUiPermissionsReducer, limitDefault, listDefaultsByState, locations, manifestVersion, maxSessionAge, monitorApiUrlv1, onboardingSteps, orderedOnboardingSteps, pauseMap, productOrder, rolesById, rolesByName, rootfsImageVersion, scopedPermissionAreas, serviceProviderRolesById, settingsKeys, softwareIndicator, softwareTitleMap, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, timeUnits, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2, yes };
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as locations, a as AvailablePlans, c as DARK_MODE, d as Plan, f as canAccess, g as emptyChartSelection, h as defaultReports, i as AvailableAddon, l as LIGHT_MODE, m as defaultReportType, n as Addon, o as BEGINNING_OF_TIME, p as chartTypes, r as AddonId, s as BENEFITS, t as ADDONS, u as PLANS, v as yes } from "./constants-nKSWZ8oD.js";
|
|
2
|
-
import { $ as scopedPermissionAreas, A as alertChannels, At as countries, B as deviceConnect, C as SORTING_OPTIONS, Ct as FilterOperator, D as UiPermissionsByIdKey, Dt as TIMEOUTS, E as UiPermissionsByAreaKey, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, F as deploymentsApiUrl, Ft as timeUnits, G as inventoryApiUrlV2, H as emptyUiPermissions, I as deploymentsApiUrlV1alpha1, J as limitDefault, K as inventoryApiUrlV2alpha1, L as deploymentsApiUrlV2, M as apiUrl, Mt as defaultIdAttribute, N as auditLogsApiUrl, Nt as emptyWebhook, O as UiPermissionsDefinition, Ot as UNGROUPED_GROUP, P as defaultPermissionSets, Pt as productOrder, Q as rolesByName, R as deviceAuthV2, S as Role, St as EXTERNAL_PROVIDER, T as SortOptions, Tt as MAX_PAGE_SIZE, U as headerNames, V as emptyRole, W as inventoryApiUrl, X as monitorApiUrlv1, Y as maxSessionAge, Z as rolesById, _ as PermissionObject, _t as emptyFilter, a as APPLICATION_JWT_CONTENT_TYPE, at as uiPermissionsByArea, b as PermissionTypes, bt as DEVICE_LIST_MAXIMUM_LENGTH, c as AuditLogPermission, ct as useradmApiUrlv1, d as DEVICE_LIST_DEFAULTS, dt as DEVICE_CONNECT_STATES, et as serviceProviderRolesById, f as DEVICE_STATES, ft as DEVICE_DISMISSAL_STATE, g as PaginationOptions, gt as REPORT_CHART_SIZE_LIMIT, h as GroupsPermission, ht as DeviceAuthState, i as APPLICATION_JSON_CONTENT_TYPE, it as twoFAStates, j as apiRoot, jt as credentialTypes, k as UserManagementPermission, kt as Webhook, l as DEVICE_FILTERING_OPTIONS, lt as useradmApiUrlv2, m as DeviceIssueOptionKey, mt as DEVICE_MESSAGE_TYPES, n as ALL_DEVICE_STATES, nt as tenantadmApiUrlv1, o as ATTRIBUTE_SCOPES, ot as uiPermissionsById, p as DeploymentPermission, pt as DEVICE_MESSAGE_PROTOCOLS, q as iotManagerBaseURL, r as
|
|
2
|
+
import { $ as scopedPermissionAreas, A as alertChannels, At as countries, B as deviceConnect, C as SORTING_OPTIONS, Ct as FilterOperator, D as UiPermissionsByIdKey, Dt as TIMEOUTS, E as UiPermissionsByAreaKey, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, F as deploymentsApiUrl, Ft as timeUnits, G as inventoryApiUrlV2, H as emptyUiPermissions, I as deploymentsApiUrlV1alpha1, J as limitDefault, K as inventoryApiUrlV2alpha1, L as deploymentsApiUrlV2, M as apiUrl, Mt as defaultIdAttribute, N as auditLogsApiUrl, Nt as emptyWebhook, O as UiPermissionsDefinition, Ot as UNGROUPED_GROUP, P as defaultPermissionSets, Pt as productOrder, Q as rolesByName, R as deviceAuthV2, S as Role, St as EXTERNAL_PROVIDER, T as SortOptions, Tt as MAX_PAGE_SIZE, U as headerNames, V as emptyRole, W as inventoryApiUrl, X as monitorApiUrlv1, Y as maxSessionAge, Z as rolesById, _ as PermissionObject, _t as emptyFilter, a as APPLICATION_JWT_CONTENT_TYPE, at as uiPermissionsByArea, b as PermissionTypes, bt as DEVICE_LIST_MAXIMUM_LENGTH, c as AuditLogPermission, ct as useradmApiUrlv1, d as DEVICE_LIST_DEFAULTS, dt as DEVICE_CONNECT_STATES, et as serviceProviderRolesById, f as DEVICE_STATES, ft as DEVICE_DISMISSAL_STATE, g as PaginationOptions, gt as REPORT_CHART_SIZE_LIMIT, h as GroupsPermission, ht as DeviceAuthState, i as APPLICATION_JSON_CONTENT_TYPE, it as twoFAStates, j as apiRoot, jt as credentialTypes, k as UserManagementPermission, kt as Webhook, l as DEVICE_FILTERING_OPTIONS, lt as useradmApiUrlv2, m as DeviceIssueOptionKey, mt as DEVICE_MESSAGE_TYPES, n as ALL_DEVICE_STATES, nt as tenantadmApiUrlv1, o as ATTRIBUTE_SCOPES, ot as uiPermissionsById, p as DeploymentPermission, pt as DEVICE_MESSAGE_PROTOCOLS, q as iotManagerBaseURL, r as ALL_SOFTWARE, rt as tenantadmApiUrlv2, s as AnyPermission, st as useradmApiUrl, t as ALL_DEVICES, tt as ssoIdpApiUrlv1, u as DEVICE_ISSUE_OPTIONS, ut as AlertChannelKey, v as PermissionSet, vt as geoAttributes, w as ScopedPermissionsByAreaKey, wt as IdAttribute, x as ReleasesPermission, xt as DEVICE_ONLINE_CUTOFF, y as PermissionSetId, yt as ATTRIBUTE_SCOPE_LABELS, z as deviceConfig } from "./constants-BJuY-ODE.js";
|
|
3
3
|
import { a as DeploymentSubstateMapping, c as deploymentPrototype, d as deploymentSubstates, f as installationSubstatesMap, i as DEPLOYMENT_TYPES, l as deploymentStatesToSubstates, m as pauseMap, n as DEPLOYMENT_ROUTES, o as defaultStats, p as listDefaultsByState, r as DEPLOYMENT_STATES, s as deploymentDisplayStates, t as DEFAULT_PENDING_INPROGRESS_COUNT, u as deploymentStatesToSubstatesWithSkipped } from "./constants-C6TIYaY4.js";
|
|
4
4
|
import { i as orderedOnboardingSteps, n as OnboardingStepKey, r as onboardingSteps, t as OnboardingStep } from "./constants-Db_RBdlV.js";
|
|
5
5
|
import { a as SSO_TYPES, c as auditlogTypes, i as SP_AUDIT_LOGS_TYPES, l as getOidcStartUrl, n as ContentType, o as TENANT_LIST_DEFAULT, r as JSON_METADATA_FORMAT, s as XML_METADATA_FORMAT, t as AUDIT_LOGS_TYPES, u as getSamlStartUrl } from "./constants-OZiiFKiA.js";
|
|
6
6
|
import { a as softwareIndicator, i as rootfsImageVersion, n as currentArtifact, o as softwareTitleMap, r as manifestVersion, t as ARTIFACT_GENERATION_TYPE } from "./constants-B3NH1IQi.js";
|
|
7
7
|
import { a as USER_LOGOUT, c as itemUiPermissionsReducer, i as ReadState, l as settingsKeys, n as PermissionsArea, o as UiPermission, r as READ_STATES, s as checkPermissionsObject, t as OWN_USER_ID } from "./constants-D8-yUk19.js";
|
|
8
|
-
export { ADDONS, ALL_DEVICES, ALL_DEVICE_STATES,
|
|
8
|
+
export { ADDONS, ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ARTIFACT_GENERATION_TYPE, ATTRIBUTE_SCOPES, ATTRIBUTE_SCOPE_LABELS, AUDIT_LOGS_TYPES, Addon, AddonId, AlertChannelKey, type AnyPermission, type AuditLogPermission, AvailableAddon, AvailablePlans, BEGINNING_OF_TIME, BENEFITS, ContentType, DARK_MODE, DEFAULT_PENDING_INPROGRESS_COUNT, DEPLOYMENT_ROUTES, DEPLOYMENT_STATES, DEPLOYMENT_TYPES, DEVICE_CONNECT_STATES, DEVICE_DISMISSAL_STATE, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_MESSAGE_PROTOCOLS, DEVICE_MESSAGE_TYPES, DEVICE_ONLINE_CUTOFF, DEVICE_STATES, type DeploymentPermission, DeploymentSubstateMapping, DeviceAuthState, type DeviceIssueOptionKey, EXTERNAL_PROVIDER, FilterOperator, type GroupsPermission, IdAttribute, JSON_METADATA_FORMAT, LIGHT_MODE, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, OWN_USER_ID, OnboardingStep, OnboardingStepKey, PLANS, type PaginationOptions, type PermissionObject, type PermissionSet, type PermissionSetId, PermissionTypes, PermissionsArea, Plan, READ_STATES, REPORT_CHART_SIZE_LIMIT, ReadState, type ReleasesPermission, type Role, SORTING_OPTIONS, SP_AUDIT_LOGS_TYPES, SSO_TYPES, type ScopedPermissionsByAreaKey, type SortOptions, TENANT_LIST_DEFAULT, TIMEOUTS, UNGROUPED_GROUP, USER_LOGOUT, UiPermission, type UiPermissionsByAreaKey, type UiPermissionsByIdKey, type UiPermissionsDefinition, type UserManagementPermission, Webhook, XML_METADATA_FORMAT, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, auditlogTypes, canAccess, chartTypes, checkPermissionsObject, countries, credentialTypes, currentArtifact, defaultIdAttribute, defaultPermissionSets, defaultReportType, defaultReports, defaultStats, deploymentDisplayStates, deploymentPrototype, deploymentStatesToSubstates, deploymentStatesToSubstatesWithSkipped, deploymentSubstates, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyChartSelection, emptyFilter, emptyRole, emptyUiPermissions, emptyWebhook, geoAttributes, getOidcStartUrl, getSamlStartUrl, headerNames, installationSubstatesMap, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, itemUiPermissionsReducer, limitDefault, listDefaultsByState, locations, manifestVersion, maxSessionAge, monitorApiUrlv1, onboardingSteps, orderedOnboardingSteps, pauseMap, productOrder, rolesById, rolesByName, rootfsImageVersion, scopedPermissionAreas, serviceProviderRolesById, settingsKeys, softwareIndicator, softwareTitleMap, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, timeUnits, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2, yes };
|
package/dist/constants.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ADDONS, BEGINNING_OF_TIME, BENEFITS, DARK_MODE, LIGHT_MODE, PLANS, canAccess, chartTypes, defaultReportType, defaultReports, emptyChartSelection, locations, yes } from "./appSlice/constants.js";
|
|
2
|
-
import { $ as AUDIT_LOGS_TYPES, A as iotManagerBaseURL, At as DEVICE_ONLINE_CUTOFF, B as tenantadmApiUrlv2, Bt as productOrder, C as deviceConnect, Ct as deploymentStatesToSubstatesWithSkipped, D as inventoryApiUrl, Dt as pauseMap, E as headerNames, Et as listDefaultsByState, F as rolesByName, Ft as UNGROUPED_GROUP, G as useradmApiUrlv1, H as uiPermissionsByArea, I as scopedPermissionAreas, It as countries, J as READ_STATES, K as useradmApiUrlv2, L as serviceProviderRolesById, Lt as credentialTypes, M as maxSessionAge, Mt as MAX_PAGE_SIZE, N as monitorApiUrlv1, Nt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, O as inventoryApiUrlV2, Ot as ATTRIBUTE_SCOPE_LABELS, P as rolesById, Pt as TIMEOUTS, Q as settingsKeys, R as ssoIdpApiUrlv1, Rt as defaultIdAttribute, S as deviceConfig, St as deploymentStatesToSubstates, T as emptyUiPermissions, Tt as installationSubstatesMap, U as uiPermissionsById, V as twoFAStates, Vt as timeUnits, W as useradmApiUrl, X as checkPermissionsObject, Y as USER_LOGOUT, Z as itemUiPermissionsReducer, _ as defaultPermissionSets, _t as DEPLOYMENT_STATES, a as APPLICATION_JWT_CONTENT_TYPE, at as auditlogTypes, b as deploymentsApiUrlV2, bt as deploymentDisplayStates, c as DEVICE_ISSUE_OPTIONS, ct as DEVICE_CONNECT_STATES, d as PermissionTypes, dt as DEVICE_MESSAGE_TYPES, et as JSON_METADATA_FORMAT, f as SORTING_OPTIONS, ft as REPORT_CHART_SIZE_LIMIT, g as auditLogsApiUrl, gt as DEPLOYMENT_ROUTES, h as apiUrl, ht as DEFAULT_PENDING_INPROGRESS_COUNT, i as APPLICATION_JSON_CONTENT_TYPE, it as XML_METADATA_FORMAT, j as limitDefault, jt as EXTERNAL_PROVIDER, k as inventoryApiUrlV2alpha1, kt as DEVICE_LIST_MAXIMUM_LENGTH, l as DEVICE_LIST_DEFAULTS, lt as DEVICE_DISMISSAL_STATE, m as apiRoot, mt as geoAttributes, n as ALL_DEVICE_STATES, nt as SSO_TYPES, o as ATTRIBUTE_SCOPES, ot as getOidcStartUrl, p as alertChannels, pt as emptyFilter, q as OWN_USER_ID, r as
|
|
2
|
+
import { $ as AUDIT_LOGS_TYPES, A as iotManagerBaseURL, At as DEVICE_ONLINE_CUTOFF, B as tenantadmApiUrlv2, Bt as productOrder, C as deviceConnect, Ct as deploymentStatesToSubstatesWithSkipped, D as inventoryApiUrl, Dt as pauseMap, E as headerNames, Et as listDefaultsByState, F as rolesByName, Ft as UNGROUPED_GROUP, G as useradmApiUrlv1, H as uiPermissionsByArea, I as scopedPermissionAreas, It as countries, J as READ_STATES, K as useradmApiUrlv2, L as serviceProviderRolesById, Lt as credentialTypes, M as maxSessionAge, Mt as MAX_PAGE_SIZE, N as monitorApiUrlv1, Nt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, O as inventoryApiUrlV2, Ot as ATTRIBUTE_SCOPE_LABELS, P as rolesById, Pt as TIMEOUTS, Q as settingsKeys, R as ssoIdpApiUrlv1, Rt as defaultIdAttribute, S as deviceConfig, St as deploymentStatesToSubstates, T as emptyUiPermissions, Tt as installationSubstatesMap, U as uiPermissionsById, V as twoFAStates, Vt as timeUnits, W as useradmApiUrl, X as checkPermissionsObject, Y as USER_LOGOUT, Z as itemUiPermissionsReducer, _ as defaultPermissionSets, _t as DEPLOYMENT_STATES, a as APPLICATION_JWT_CONTENT_TYPE, at as auditlogTypes, b as deploymentsApiUrlV2, bt as deploymentDisplayStates, c as DEVICE_ISSUE_OPTIONS, ct as DEVICE_CONNECT_STATES, d as PermissionTypes, dt as DEVICE_MESSAGE_TYPES, et as JSON_METADATA_FORMAT, f as SORTING_OPTIONS, ft as REPORT_CHART_SIZE_LIMIT, g as auditLogsApiUrl, gt as DEPLOYMENT_ROUTES, h as apiUrl, ht as DEFAULT_PENDING_INPROGRESS_COUNT, i as APPLICATION_JSON_CONTENT_TYPE, it as XML_METADATA_FORMAT, j as limitDefault, jt as EXTERNAL_PROVIDER, k as inventoryApiUrlV2alpha1, kt as DEVICE_LIST_MAXIMUM_LENGTH, l as DEVICE_LIST_DEFAULTS, lt as DEVICE_DISMISSAL_STATE, m as apiRoot, mt as geoAttributes, n as ALL_DEVICE_STATES, nt as SSO_TYPES, o as ATTRIBUTE_SCOPES, ot as getOidcStartUrl, p as alertChannels, pt as emptyFilter, q as OWN_USER_ID, r as ALL_SOFTWARE, rt as TENANT_LIST_DEFAULT, s as DEVICE_FILTERING_OPTIONS, st as getSamlStartUrl, t as ALL_DEVICES, tt as SP_AUDIT_LOGS_TYPES, u as DEVICE_STATES, ut as DEVICE_MESSAGE_PROTOCOLS, v as deploymentsApiUrl, vt as DEPLOYMENT_TYPES, w as emptyRole, wt as deploymentSubstates, x as deviceAuthV2, xt as deploymentPrototype, y as deploymentsApiUrlV1alpha1, yt as defaultStats, z as tenantadmApiUrlv1, zt as emptyWebhook } from "./constants-D5hACLhF.js";
|
|
3
3
|
import { onboardingSteps, orderedOnboardingSteps } from "./onboardingSlice/constants.js";
|
|
4
4
|
import { ARTIFACT_GENERATION_TYPE, currentArtifact, manifestVersion, rootfsImageVersion, softwareIndicator, softwareTitleMap } from "./releasesSlice/constants.js";
|
|
5
|
-
export { ADDONS, ALL_DEVICES, ALL_DEVICE_STATES,
|
|
5
|
+
export { ADDONS, ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ARTIFACT_GENERATION_TYPE, ATTRIBUTE_SCOPES, ATTRIBUTE_SCOPE_LABELS, AUDIT_LOGS_TYPES, BEGINNING_OF_TIME, BENEFITS, DARK_MODE, DEFAULT_PENDING_INPROGRESS_COUNT, DEPLOYMENT_ROUTES, DEPLOYMENT_STATES, DEPLOYMENT_TYPES, DEVICE_CONNECT_STATES, DEVICE_DISMISSAL_STATE, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_MESSAGE_PROTOCOLS, DEVICE_MESSAGE_TYPES, DEVICE_ONLINE_CUTOFF, DEVICE_STATES, EXTERNAL_PROVIDER, JSON_METADATA_FORMAT, LIGHT_MODE, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, OWN_USER_ID, PLANS, PermissionTypes, READ_STATES, REPORT_CHART_SIZE_LIMIT, SORTING_OPTIONS, SP_AUDIT_LOGS_TYPES, SSO_TYPES, TENANT_LIST_DEFAULT, TIMEOUTS, UNGROUPED_GROUP, USER_LOGOUT, XML_METADATA_FORMAT, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, auditlogTypes, canAccess, chartTypes, checkPermissionsObject, countries, credentialTypes, currentArtifact, defaultIdAttribute, defaultPermissionSets, defaultReportType, defaultReports, defaultStats, deploymentDisplayStates, deploymentPrototype, deploymentStatesToSubstates, deploymentStatesToSubstatesWithSkipped, deploymentSubstates, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyChartSelection, emptyFilter, emptyRole, emptyUiPermissions, emptyWebhook, geoAttributes, getOidcStartUrl, getSamlStartUrl, headerNames, installationSubstatesMap, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, itemUiPermissionsReducer, limitDefault, listDefaultsByState, locations, manifestVersion, maxSessionAge, monitorApiUrlv1, onboardingSteps, orderedOnboardingSteps, pauseMap, productOrder, rolesById, rolesByName, rootfsImageVersion, scopedPermissionAreas, serviceProviderRolesById, settingsKeys, softwareIndicator, softwareTitleMap, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, timeUnits, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2, yes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as deploymentStatesToSubstatesWithSkipped, Dt as pauseMap, Et as listDefaultsByState, St as deploymentStatesToSubstates, Tt as installationSubstatesMap, _t as DEPLOYMENT_STATES, bt as deploymentDisplayStates, gt as DEPLOYMENT_ROUTES, ht as DEFAULT_PENDING_INPROGRESS_COUNT, vt as DEPLOYMENT_TYPES, wt as deploymentSubstates, xt as deploymentPrototype, yt as defaultStats } from "../constants-
|
|
1
|
+
import { Ct as deploymentStatesToSubstatesWithSkipped, Dt as pauseMap, Et as listDefaultsByState, St as deploymentStatesToSubstates, Tt as installationSubstatesMap, _t as DEPLOYMENT_STATES, bt as deploymentDisplayStates, gt as DEPLOYMENT_ROUTES, ht as DEFAULT_PENDING_INPROGRESS_COUNT, vt as DEPLOYMENT_TYPES, wt as deploymentSubstates, xt as deploymentPrototype, yt as defaultStats } from "../constants-D5hACLhF.js";
|
|
2
2
|
export { DEFAULT_PENDING_INPROGRESS_COUNT, DEPLOYMENT_ROUTES, DEPLOYMENT_STATES, DEPLOYMENT_TYPES, defaultStats, deploymentDisplayStates, deploymentPrototype, deploymentStatesToSubstates, deploymentStatesToSubstatesWithSkipped, deploymentSubstates, installationSubstatesMap, listDefaultsByState, pauseMap };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as DEPLOYMENT_STATES, gt as DEPLOYMENT_ROUTES, j as limitDefault, l as DEVICE_LIST_DEFAULTS, xt as deploymentPrototype } from "../constants-
|
|
1
|
+
import { _t as DEPLOYMENT_STATES, gt as DEPLOYMENT_ROUTES, j as limitDefault, l as DEVICE_LIST_DEFAULTS, xt as deploymentPrototype } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { createSlice } from "@reduxjs/toolkit";
|
|
3
3
|
//#region src/deploymentsSlice/index.ts
|
|
4
4
|
const sliceName = "deployments";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as DeploymentConfig } from "../index-mvxjivTJ.cjs";
|
|
2
2
|
//#region src/deploymentsSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
byId: {
|
|
5
5
|
d1: {
|
|
6
6
|
id: string;
|
|
@@ -182,5 +182,4 @@ declare const mockState: {
|
|
|
182
182
|
config: DeploymentConfig;
|
|
183
183
|
};
|
|
184
184
|
//#endregion
|
|
185
|
-
export { mockState };
|
|
186
185
|
//# sourceMappingURL=mocks.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as DeploymentConfig } from "../index-B8td4-rY.js";
|
|
2
2
|
//#region src/deploymentsSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
byId: {
|
|
5
5
|
d1: {
|
|
6
6
|
id: string;
|
|
@@ -182,5 +182,4 @@ declare const mockState: {
|
|
|
182
182
|
config: DeploymentConfig;
|
|
183
183
|
};
|
|
184
184
|
//#endregion
|
|
185
|
-
export { mockState };
|
|
186
185
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { o as UserSliceType } from "../index-
|
|
2
|
-
import { a as ReleaseSliceType } from "../index-
|
|
1
|
+
import { o as UserSliceType } from "../index-CqhXqGLt.cjs";
|
|
2
|
+
import { a as ReleaseSliceType } from "../index-fGVC5s1C.cjs";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.cjs";
|
|
4
4
|
import { l as SelectionState, n as DeploymentByStatus, o as DeploymentsSliceType, t as Deployment } from "../index-mvxjivTJ.cjs";
|
|
5
|
-
import { c as DeviceSliceType } from "../index-
|
|
6
|
-
import { t as AppSliceType } from "../index-
|
|
7
|
-
import { t as MonitorSliceType } from "../index-
|
|
8
|
-
import { t as OrganizationSliceType } from "../index-
|
|
9
|
-
import { r as RootState } from "../store-
|
|
5
|
+
import { c as DeviceSliceType } from "../index-KxRmyFLr.cjs";
|
|
6
|
+
import { t as AppSliceType } from "../index-BKU1G9-x.cjs";
|
|
7
|
+
import { t as MonitorSliceType } from "../index-BfmRpbiJ.cjs";
|
|
8
|
+
import { t as OrganizationSliceType } from "../index-HjOSTTGF.cjs";
|
|
9
|
+
import { r as RootState } from "../store-Dw8Uo_Df.cjs";
|
|
10
10
|
//#region src/deploymentsSlice/selectors.d.ts
|
|
11
|
-
declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
-
declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
-
declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
-
declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
-
declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
11
|
+
export declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
+
export declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
+
export declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
+
export declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
+
export declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
16
16
|
clearCache: () => void;
|
|
17
17
|
resultsCount: () => number;
|
|
18
18
|
resetResultsCount: () => void;
|
|
@@ -33,7 +33,7 @@ declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment)
|
|
|
33
33
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
34
34
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
35
35
|
};
|
|
36
|
-
declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
36
|
+
export declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
37
37
|
clearCache: () => void;
|
|
38
38
|
resultsCount: () => number;
|
|
39
39
|
resetResultsCount: () => void;
|
|
@@ -54,8 +54,8 @@ declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any)
|
|
|
54
54
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
55
55
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
56
56
|
};
|
|
57
|
-
declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
-
declare const getRecentDeployments: ((state: {
|
|
57
|
+
export declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
+
export declare const getRecentDeployments: ((state: {
|
|
59
59
|
app: AppSliceType;
|
|
60
60
|
devices: DeviceSliceType;
|
|
61
61
|
deployments: DeploymentsSliceType;
|
|
@@ -94,5 +94,4 @@ declare const getRecentDeployments: ((state: {
|
|
|
94
94
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
|
-
export { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeploymentsByStatus, getDeploymentsSelectionState, getMappedDeploymentSelection, getRecentDeployments, getSelectedDeploymentDeviceIds };
|
|
98
97
|
//# sourceMappingURL=selectors.d.cts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { o as UserSliceType } from "../index
|
|
2
|
-
import { a as ReleaseSliceType } from "../index-
|
|
1
|
+
import { o as UserSliceType } from "../index--SKVGToc.js";
|
|
2
|
+
import { a as ReleaseSliceType } from "../index-BMsafOyJ.js";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.js";
|
|
4
4
|
import { l as SelectionState, n as DeploymentByStatus, o as DeploymentsSliceType, t as Deployment } from "../index-B8td4-rY.js";
|
|
5
|
-
import { c as DeviceSliceType } from "../index-
|
|
6
|
-
import { t as AppSliceType } from "../index-
|
|
7
|
-
import { t as MonitorSliceType } from "../index-
|
|
8
|
-
import { t as OrganizationSliceType } from "../index-
|
|
9
|
-
import { r as RootState } from "../store-
|
|
5
|
+
import { c as DeviceSliceType } from "../index-D9GJhX1I.js";
|
|
6
|
+
import { t as AppSliceType } from "../index-xxqlerg5.js";
|
|
7
|
+
import { t as MonitorSliceType } from "../index-CRqnH_go.js";
|
|
8
|
+
import { t as OrganizationSliceType } from "../index-BVNS-Aut.js";
|
|
9
|
+
import { r as RootState } from "../store-DLp6ajT8.js";
|
|
10
10
|
//#region src/deploymentsSlice/selectors.d.ts
|
|
11
|
-
declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
-
declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
-
declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
-
declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
-
declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
11
|
+
export declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
+
export declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
+
export declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
+
export declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
+
export declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
16
16
|
clearCache: () => void;
|
|
17
17
|
resultsCount: () => number;
|
|
18
18
|
resetResultsCount: () => void;
|
|
@@ -33,7 +33,7 @@ declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment)
|
|
|
33
33
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
34
34
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
35
35
|
};
|
|
36
|
-
declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
36
|
+
export declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
37
37
|
clearCache: () => void;
|
|
38
38
|
resultsCount: () => number;
|
|
39
39
|
resetResultsCount: () => void;
|
|
@@ -54,8 +54,8 @@ declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any)
|
|
|
54
54
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
55
55
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
56
56
|
};
|
|
57
|
-
declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
-
declare const getRecentDeployments: ((state: {
|
|
57
|
+
export declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
+
export declare const getRecentDeployments: ((state: {
|
|
59
59
|
app: AppSliceType;
|
|
60
60
|
devices: DeviceSliceType;
|
|
61
61
|
deployments: DeploymentsSliceType;
|
|
@@ -94,5 +94,4 @@ declare const getRecentDeployments: ((state: {
|
|
|
94
94
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
|
-
export { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeploymentsByStatus, getDeploymentsSelectionState, getMappedDeploymentSelection, getRecentDeployments, getSelectedDeploymentDeviceIds };
|
|
98
97
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as DEPLOYMENT_STATES } from "../constants-
|
|
1
|
+
import { _t as DEPLOYMENT_STATES } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { createSelector } from "@reduxjs/toolkit";
|
|
3
3
|
//#region src/deploymentsSlice/selectors.ts
|
|
4
4
|
const getDeploymentsById = (state) => state.deployments.byId;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { T as SortOptions } from "../constants-
|
|
1
|
+
import { T as SortOptions } from "../constants-C2O55iZu.cjs";
|
|
2
2
|
import { c as SelectionListState, i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "../index-mvxjivTJ.cjs";
|
|
3
|
-
import { t as Device$1 } from "../index-
|
|
4
|
-
import { i as SnackbarContent } from "../index-
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
3
|
+
import { t as Device$1 } from "../index-KxRmyFLr.cjs";
|
|
4
|
+
import { i as SnackbarContent } from "../index-BKU1G9-x.cjs";
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-Dw8Uo_Df.cjs";
|
|
6
6
|
import { DeploymentV1, DeploymentV2, NewDeploymentForGroup, NewDeploymentTypeManagement, NewDeploymentV2TypeManagement } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
//#region src/deploymentsSlice/thunks.d.ts
|
|
8
|
-
declare const deriveDeploymentGroup: ({ filter, group, groups, name }: Deployment) => string | undefined;
|
|
8
|
+
export declare const deriveDeploymentGroup: ({ filter, group, groups, name }: Deployment) => string | undefined;
|
|
9
9
|
type ReceivedDeployment = DeploymentV1 | DeploymentV2;
|
|
10
|
-
declare const transformDeployments: (deployments: ReceivedDeployment[], deploymentsById: Record<string, Deployment>) => {
|
|
10
|
+
export declare const transformDeployments: (deployments: ReceivedDeployment[], deploymentsById: Record<string, Deployment>) => {
|
|
11
11
|
deploymentIds: string[];
|
|
12
12
|
deployments: Record<string, Deployment>;
|
|
13
13
|
};
|
|
14
|
-
type GetDeploymentsByStatusPayload = Partial<SelectionListState> & {
|
|
14
|
+
export type GetDeploymentsByStatusPayload = Partial<SelectionListState> & {
|
|
15
15
|
group?: string;
|
|
16
16
|
shouldSelect?: boolean;
|
|
17
17
|
sort?: SortOptions;
|
|
18
18
|
status: DeploymentByStatusKey;
|
|
19
19
|
};
|
|
20
|
-
declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unknown[], GetDeploymentsByStatusPayload, {
|
|
20
|
+
export declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unknown[], GetDeploymentsByStatusPayload, {
|
|
21
21
|
dispatch: AppDispatch;
|
|
22
22
|
state: RootState;
|
|
23
23
|
extra?: unknown;
|
|
@@ -27,7 +27,7 @@ declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unkn
|
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
28
28
|
rejectedMeta?: unknown;
|
|
29
29
|
}>;
|
|
30
|
-
declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
30
|
+
export declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
31
31
|
newDeployment: NewDeploymentTypeManagement | (NewDeploymentForGroup & {
|
|
32
32
|
group: string;
|
|
33
33
|
}) | NewDeploymentV2TypeManagement;
|
|
@@ -41,7 +41,7 @@ declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
|
41
41
|
fulfilledMeta?: unknown;
|
|
42
42
|
rejectedMeta?: unknown;
|
|
43
43
|
}>;
|
|
44
|
-
declare const getDeploymentDevices: import("@reduxjs/toolkit").AsyncThunk<unknown[], {
|
|
44
|
+
export declare const getDeploymentDevices: import("@reduxjs/toolkit").AsyncThunk<unknown[], {
|
|
45
45
|
id: string;
|
|
46
46
|
page?: number;
|
|
47
47
|
perPage?: number;
|
|
@@ -61,7 +61,7 @@ type GetDeviceDeploymentsPayload = {
|
|
|
61
61
|
page?: number;
|
|
62
62
|
perPage?: number;
|
|
63
63
|
};
|
|
64
|
-
declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
64
|
+
export declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
65
65
|
payload: {
|
|
66
66
|
id: string;
|
|
67
67
|
} & Partial<Device$1>;
|
|
@@ -76,7 +76,7 @@ declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
76
76
|
fulfilledMeta?: unknown;
|
|
77
77
|
rejectedMeta?: unknown;
|
|
78
78
|
}>;
|
|
79
|
-
declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
79
|
+
export declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
80
80
|
payload: {
|
|
81
81
|
id: string;
|
|
82
82
|
} & Partial<Device$1>;
|
|
@@ -105,7 +105,7 @@ declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<impo
|
|
|
105
105
|
fulfilledMeta?: unknown;
|
|
106
106
|
rejectedMeta?: unknown;
|
|
107
107
|
}>;
|
|
108
|
-
declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
108
|
+
export declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
109
109
|
payload: Deployment;
|
|
110
110
|
type: "deployments/receivedDeployment";
|
|
111
111
|
}, string, {
|
|
@@ -118,7 +118,7 @@ declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
118
118
|
fulfilledMeta?: unknown;
|
|
119
119
|
rejectedMeta?: unknown;
|
|
120
120
|
}>;
|
|
121
|
-
declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
121
|
+
export declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
122
122
|
payload: {
|
|
123
123
|
deviceId: string;
|
|
124
124
|
id: string;
|
|
@@ -138,7 +138,7 @@ declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
138
138
|
fulfilledMeta?: unknown;
|
|
139
139
|
rejectedMeta?: unknown;
|
|
140
140
|
}>;
|
|
141
|
-
declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
141
|
+
export declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
142
142
|
payload: Record<string, Deployment>;
|
|
143
143
|
type: "deployments/receivedDeployments";
|
|
144
144
|
}, {
|
|
@@ -164,7 +164,7 @@ declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
164
164
|
fulfilledMeta?: unknown;
|
|
165
165
|
rejectedMeta?: unknown;
|
|
166
166
|
}>;
|
|
167
|
-
declare const updateDeploymentControlMap: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
167
|
+
export declare const updateDeploymentControlMap: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
168
168
|
arg: string;
|
|
169
169
|
requestId: string;
|
|
170
170
|
requestStatus: "rejected";
|
|
@@ -199,7 +199,7 @@ type SetDeploymentsStatePayload = DeepPartial<SelectionState> & {
|
|
|
199
199
|
page?: number;
|
|
200
200
|
perPage?: number;
|
|
201
201
|
};
|
|
202
|
-
declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeploymentsStatePayload, {
|
|
202
|
+
export declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeploymentsStatePayload, {
|
|
203
203
|
dispatch: AppDispatch;
|
|
204
204
|
state: RootState;
|
|
205
205
|
extra?: unknown;
|
|
@@ -209,7 +209,7 @@ declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown
|
|
|
209
209
|
fulfilledMeta?: unknown;
|
|
210
210
|
rejectedMeta?: unknown;
|
|
211
211
|
}>;
|
|
212
|
-
declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
212
|
+
export declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
213
213
|
payload: DeploymentConfig;
|
|
214
214
|
type: "deployments/setDeploymentsConfig";
|
|
215
215
|
}, void, {
|
|
@@ -222,7 +222,7 @@ declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
222
222
|
fulfilledMeta?: unknown;
|
|
223
223
|
rejectedMeta?: unknown;
|
|
224
224
|
}>;
|
|
225
|
-
declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
225
|
+
export declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
226
226
|
compressionLevel: number;
|
|
227
227
|
disableChecksum: boolean;
|
|
228
228
|
disableDecompression: boolean;
|
|
@@ -241,7 +241,7 @@ declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
241
241
|
fulfilledMeta?: unknown;
|
|
242
242
|
rejectedMeta?: unknown;
|
|
243
243
|
}>;
|
|
244
|
-
declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThunk<string | undefined, {
|
|
244
|
+
export declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThunk<string | undefined, {
|
|
245
245
|
deploymentId: string;
|
|
246
246
|
deviceId: string;
|
|
247
247
|
}, {
|
|
@@ -255,5 +255,4 @@ declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThu
|
|
|
255
255
|
rejectedMeta?: unknown;
|
|
256
256
|
}>;
|
|
257
257
|
//#endregion
|
|
258
|
-
export { GetDeploymentsByStatusPayload, abortDeployment, createDeployment, deriveDeploymentGroup, generateDeploymentLogAnalysis, getDeploymentDevices, getDeploymentsByStatus, getDeploymentsConfig, getDeviceDeployments, getDeviceLog, getSingleDeployment, resetDeviceDeployments, saveDeltaDeploymentsConfig, setDeploymentsState, transformDeployments, updateDeploymentControlMap };
|
|
259
258
|
//# sourceMappingURL=thunks.d.cts.map
|