mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
c5a4fa60b7
relates to #12168 Updates the fleet UI so that the macOS mdm setup flow is similar to the windows mdm setup. This includes: **Adding a new macos setup card:** ![image](https://github.com/fleetdm/fleet/assets/1153709/dc3371a6-864b-4af8-8e97-d716d5a51361) ![image](https://github.com/fleetdm/fleet/assets/1153709/5d7ebb54-6c80-45ac-86b2-93d452357b96) **Adding a new mac os mdm page on a new URL:** ![image](https://github.com/fleetdm/fleet/assets/1153709/30e42176-d4ab-4087-bde0-d74c81fde613) - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality
17 lines
408 B
TypeScript
17 lines
408 B
TypeScript
import { IMdmApple } from "interfaces/mdm";
|
|
|
|
const DEFAULT_MDM_APPLE_MOCK: IMdmApple = {
|
|
common_name: "APSP:12345",
|
|
serial_number: "12345",
|
|
issuer: "Test Certification Authority",
|
|
renew_date: "2023-03-24T22:13:59Z",
|
|
};
|
|
|
|
export const createMockMdmApple = (
|
|
overrides?: Partial<IMdmApple>
|
|
): IMdmApple => {
|
|
return { ...DEFAULT_MDM_APPLE_MOCK, ...overrides };
|
|
};
|
|
|
|
export default createMockMdmApple;
|