55 lines
1.2 KiB
TypeScript
55 lines
1.2 KiB
TypeScript
export const monthlyFixture = {
|
|
organization: {
|
|
state: 'ready',
|
|
directory_id: 'd',
|
|
directory_source: 'weekly_report_live',
|
|
synced_at: '2026-10-17T07:59:50Z',
|
|
revision_id: 'r',
|
|
basis: 'current_directory',
|
|
},
|
|
source: '2.0',
|
|
timezone: 'Asia/Shanghai',
|
|
month: '2026-10',
|
|
start: '2026-10-01T00:00:00+08:00',
|
|
end: '2026-10-17T16:00:00+08:00',
|
|
month_end: '2026-11-01T00:00:00+08:00',
|
|
as_of: '2026-10-17T08:00:01Z',
|
|
partial: true,
|
|
questions: 3,
|
|
linked_questions: 2,
|
|
unresolved_questions: 1,
|
|
roster_people: 2,
|
|
used_people: 1,
|
|
zero_people: 1,
|
|
missing_names: 1,
|
|
total: 2,
|
|
page: 1,
|
|
limit: 30,
|
|
has_more: false,
|
|
department_options: [{ id: 'root', path: '示例部门' }],
|
|
rows: [
|
|
{
|
|
key: 'person-a',
|
|
name: '<script>示例姓名</script>',
|
|
departments: ['示例部门'],
|
|
region: 'APAC',
|
|
state: 'matched',
|
|
questions: 2,
|
|
succeeded: 1,
|
|
failed: 1,
|
|
other: 0,
|
|
},
|
|
{
|
|
key: 'person-b',
|
|
name: '',
|
|
departments: ['示例部门'],
|
|
region: '',
|
|
state: 'unassigned',
|
|
questions: 0,
|
|
succeeded: 0,
|
|
failed: 0,
|
|
other: 0,
|
|
},
|
|
],
|
|
}
|