Cache redesign part 1, and add support for alternative links

This commit is contained in:
Art Lowel
2020-12-11 14:18:44 +01:00
parent f4853972cc
commit 4e18fa35ca
522 changed files with 7537 additions and 6933 deletions

View File

@@ -52,7 +52,7 @@ describe('jsonPatchOperationsReducer test suite', () => {
path: '/testResourceType/testResourceId/testField',
value: ['test']
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
]
} as JsonPatchOperationsEntry
@@ -75,14 +75,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
path: '/testResourceType/testResourceId/testField',
value: ['test']
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
{
operation: {
op: 'remove',
path: '/testResourceType/testResourceId/testField'
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
]
} as JsonPatchOperationsEntry
@@ -203,14 +203,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
path: '/testResourceType/testResourceId/testField',
value: ['test']
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
{
operation: {
op: 'remove',
path: '/testResourceType/testResourceId/testField'
},
timeAdded: timestampAfterStart
timeCompleted: timestampAfterStart
},
]
} as JsonPatchOperationsEntry
@@ -226,7 +226,7 @@ describe('jsonPatchOperationsReducer test suite', () => {
op: 'remove',
path: '/testResourceType/testResourceId/testField'
},
timeAdded: timestampAfterStart
timeCompleted: timestampAfterStart
},
];
expect(newState[testJsonPatchResourceType].transactionStartTime).toBeNull();
@@ -246,14 +246,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
path: '/testResourceType/testResourceId/testField',
value: ['test']
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
{
operation: {
op: 'remove',
path: '/testResourceType/testResourceId/testField'
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
]
} as JsonPatchOperationsEntry,
@@ -265,14 +265,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
path: '/testResourceType/testResourceAnotherId/testField',
value: ['test']
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
{
operation: {
op: 'remove',
path: '/testResourceType/testResourceAnotherId/testField'
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
]
} as JsonPatchOperationsEntry
@@ -295,14 +295,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
path: '/testResourceType/testResourceAnotherId/testField',
value: ['test']
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
{
operation: {
op: 'remove',
path: '/testResourceType/testResourceAnotherId/testField'
},
timeAdded: timestampBeforeStart
timeCompleted: timestampBeforeStart
},
];
expect(newState[testJsonPatchResourceType].transactionStartTime).toBeNull();