feat(api): complete M5 swap and dispatch backend slice
This commit is contained in:
@@ -25,6 +25,11 @@ export const V2DemoFixture = {
|
||||
email: process.env.V2_DEMO_STAFF_EMAIL || 'ana.barista+v2@krowd.com',
|
||||
displayName: 'Ana Barista',
|
||||
},
|
||||
staffBen: {
|
||||
id: process.env.V2_DEMO_STAFF_BEN_UID || 'demo-staff-ben-v2',
|
||||
email: process.env.V2_DEMO_STAFF_BEN_EMAIL || 'ben.barista+v2@krowd.com',
|
||||
displayName: 'Ben Barista',
|
||||
},
|
||||
},
|
||||
business: {
|
||||
id: '14f4fcfb-f21f-4ba9-9328-90f794a56001',
|
||||
@@ -62,12 +67,23 @@ export const V2DemoFixture = {
|
||||
phone: '+15557654321',
|
||||
primaryRole: 'BARISTA',
|
||||
},
|
||||
ben: {
|
||||
id: '4b7dff1a-1856-4d59-b450-5a6736461002',
|
||||
fullName: 'Ben Barista',
|
||||
email: 'ben.barista+v2@krowd.com',
|
||||
phone: '+15557654322',
|
||||
primaryRole: 'BARISTA',
|
||||
},
|
||||
},
|
||||
workforce: {
|
||||
ana: {
|
||||
id: '4cc1d34a-87c3-4426-8ee0-a24c8bcfa001',
|
||||
workforceNumber: 'WF-V2-ANA-001',
|
||||
},
|
||||
ben: {
|
||||
id: '4cc1d34a-87c3-4426-8ee0-a24c8bcfa002',
|
||||
workforceNumber: 'WF-V2-BEN-001',
|
||||
},
|
||||
},
|
||||
clockPoint: {
|
||||
id: 'efb80ccf-3361-49c8-bc74-ff8cd4d2e001',
|
||||
@@ -147,6 +163,13 @@ export const V2DemoFixture = {
|
||||
clockInMode: 'GEO_REQUIRED',
|
||||
allowClockInOverride: true,
|
||||
},
|
||||
swapEligible: {
|
||||
id: '6e7dadad-99e4-45bb-b0da-7bb617954007',
|
||||
code: 'SHIFT-V2-SWAP-1',
|
||||
title: 'Swap eligible barista shift',
|
||||
clockInMode: 'GEO_REQUIRED',
|
||||
allowClockInOverride: true,
|
||||
},
|
||||
cancelled: {
|
||||
id: '6e7dadad-99e4-45bb-b0da-7bb617954005',
|
||||
code: 'SHIFT-V2-CANCELLED-1',
|
||||
@@ -171,6 +194,9 @@ export const V2DemoFixture = {
|
||||
assignedBarista: {
|
||||
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b004',
|
||||
},
|
||||
swapEligibleBarista: {
|
||||
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b007',
|
||||
},
|
||||
cancelledBarista: {
|
||||
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b005',
|
||||
},
|
||||
@@ -182,6 +208,9 @@ export const V2DemoFixture = {
|
||||
openAna: {
|
||||
id: 'd70d6441-6d0c-4fdb-9a29-c9d9e0c34001',
|
||||
},
|
||||
swapBen: {
|
||||
id: 'd70d6441-6d0c-4fdb-9a29-c9d9e0c34002',
|
||||
},
|
||||
},
|
||||
assignments: {
|
||||
completedAna: {
|
||||
@@ -190,6 +219,9 @@ export const V2DemoFixture = {
|
||||
assignedAna: {
|
||||
id: 'f1d3f738-a132-4863-b222-4f9cb25aa002',
|
||||
},
|
||||
swapEligibleAna: {
|
||||
id: 'f1d3f738-a132-4863-b222-4f9cb25aa005',
|
||||
},
|
||||
cancelledAna: {
|
||||
id: 'f1d3f738-a132-4863-b222-4f9cb25aa003',
|
||||
},
|
||||
@@ -223,6 +255,17 @@ export const V2DemoFixture = {
|
||||
id: '9b6bc737-fd69-4855-b425-6f0c2c4fd001',
|
||||
},
|
||||
},
|
||||
dispatchTeamMemberships: {
|
||||
anaCore: {
|
||||
id: '7e211d49-0b72-40bd-a79f-a1158d8a1001',
|
||||
},
|
||||
benMarketplace: {
|
||||
id: '7e211d49-0b72-40bd-a79f-a1158d8a1002',
|
||||
},
|
||||
benCertifiedLocation: {
|
||||
id: '7e211d49-0b72-40bd-a79f-a1158d8a1003',
|
||||
},
|
||||
},
|
||||
documents: {
|
||||
governmentId: {
|
||||
id: 'e6fd0183-34d9-4c23-9a9a-bf98da995000',
|
||||
|
||||
Reference in New Issue
Block a user