Skip to content

Commit

Permalink
fix: update example files urls (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak authored Mar 15, 2024
1 parent 4be6615 commit b8efe69
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 135 deletions.
21 changes: 3 additions & 18 deletions examples/data/ldcE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1178,43 +1178,28 @@ export const validLDCE: Schema = {
],
files: [
{
name: 'https://api.editor.planx.dev/file/private/r34zxe3x/RoaldDahlHut.jpg',
name: 'https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf',
type: [
{
value: 'photographs.proposed',
description: 'Photographs - proposed',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/kopklkj9/Site%20plan.pdf',
type: [
{
value: 'sitePlan.proposed',
description: 'Site plan - proposed',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/u2vjw69h/Elevations.pdf',
type: [
{
value: 'elevations.proposed',
description: 'Elevations - proposed',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/gbaur05c/Plan.pdf',
type: [
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/4vhzu4c5/Roald-Dahl-letter-one-use.pdf',
name: 'https://api.editor.planx.dev/file/private/vyyogkcf/correspondence.pdf',
type: [
{
value: 'otherEvidence',
Expand All @@ -1224,7 +1209,7 @@ export const validLDCE: Schema = {
description: 'Nothing really, this is just a test. ',
},
{
name: 'https://api.editor.planx.dev/file/private/uz72iu40/Test%20document.pdf',
name: 'https://api.editor.planx.dev/file/private/97ltnrxr/invoice.pdf',
type: [
{
value: 'constructionInvoice',
Expand Down
50 changes: 10 additions & 40 deletions examples/data/ldcP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,71 +760,41 @@ export const validLDCP: Schema = {
],
files: [
{
name: 'https://api.editor.planx.dev/file/private/ha2qdn2z/RoofPlan.pdf',
name: 'https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf',
type: [
{
value: 'roofPlan.existing',
description: 'Roof plan - existing',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/3u00rjyw/Site%20plan.pdf',
type: [
{
value: 'sitePlan.existing',
description: 'Site plan - existing',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/g92g9w65/RoofPlan.pdf',
type: [
{
value: 'roofPlan.proposed',
description: 'Roof plan - proposed',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/i7tag96k/Site%20plan.pdf',
type: [
{
value: 'sitePlan.existing',
description: 'Site plan - existing',
},
{
value: 'sitePlan.proposed',
description: 'Site plan - proposed',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/tw50m88n/Elevations.pdf',
type: [
{
value: 'elevations.existing',
description: 'Elevations - existing',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/diahn9ft/Plan.pdf',
type: [
{
value: 'floorPlan.existing',
description: 'Floor plan - existing',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/0rpf43jj/Elevations.pdf',
type: [
{
value: 'elevations.proposed',
description: 'Elevations - proposed',
},
],
},
{
name: 'https://api.editor.planx.dev/file/private/iio7ok5g/Plan.pdf',
name: 'https://api.editor.planx.dev/file/private/311w2id6/floor_plans.pdf',
type: [
{
value: 'floorPlan.existing',
description: 'Floor plan - existing',
},
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
Expand Down
8 changes: 4 additions & 4 deletions examples/data/planningPermission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ export const validPlanningPermission: Schema = {
],
files: [
{
name: 'https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf',
name: 'https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf',
type: [
{
value: 'roofPlan.existing',
Expand All @@ -1211,7 +1211,7 @@ export const validPlanningPermission: Schema = {
],
},
{
name: 'https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf',
name: 'https://api.editor.planx.dev/file/private/5w5v8s8z/other.pdf',
type: [
{
value: 'sitePlan.existing',
Expand All @@ -1224,7 +1224,7 @@ export const validPlanningPermission: Schema = {
],
},
{
name: 'https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf',
name: 'https://api.editor.planx.dev/file/private/7nrefxnn/elevations.pdf',
type: [
{
value: 'elevations.existing',
Expand All @@ -1237,7 +1237,7 @@ export const validPlanningPermission: Schema = {
],
},
{
name: 'https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf',
name: 'https://api.editor.planx.dev/file/private/311w2id6/floor_plans.pdf',
type: [
{
value: 'floorPlan.existing',
Expand Down
4 changes: 2 additions & 2 deletions examples/data/priorApproval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ export const validPriorApproval: Schema = {
],
files: [
{
name: 'https://api.editor.planx.dev/file/private/vab4d0k6/Test%20document.pdf',
name: 'https://api.editor.planx.dev/file/private/5w5v8s8z/other.pdf',
type: [
{
value: 'otherDrawing',
Expand All @@ -773,7 +773,7 @@ export const validPriorApproval: Schema = {
],
},
{
name: 'https://api.editor.planx.dev/file/private/es3w6dgi/Elevations.pdf',
name: 'https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf',
type: [
{
value: 'sitePlan.proposed',
Expand Down
27 changes: 6 additions & 21 deletions examples/validLawfulDevelopmentCertificateExisting.json
Original file line number Diff line number Diff line change
Expand Up @@ -1798,43 +1798,28 @@
],
"files": [
{
"name": "https://api.editor.planx.dev/file/private/r34zxe3x/RoaldDahlHut.jpg",
"name": "https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf",
"type": [
{
"value": "photographs.proposed",
"description": "Photographs - proposed"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/kopklkj9/Site%20plan.pdf",
"type": [
},
{
"value": "sitePlan.proposed",
"description": "Site plan - proposed"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/u2vjw69h/Elevations.pdf",
"type": [
},
{
"value": "elevations.proposed",
"description": "Elevations - proposed"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/gbaur05c/Plan.pdf",
"type": [
},
{
"value": "floorPlan.proposed",
"description": "Floor plan - proposed"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/4vhzu4c5/Roald-Dahl-letter-one-use.pdf",
"name": "https://api.editor.planx.dev/file/private/vyyogkcf/correspondence.pdf",
"type": [
{
"value": "otherEvidence",
Expand All @@ -1844,7 +1829,7 @@
"description": "Nothing really, this is just a test. "
},
{
"name": "https://api.editor.planx.dev/file/private/uz72iu40/Test%20document.pdf",
"name": "https://api.editor.planx.dev/file/private/97ltnrxr/invoice.pdf",
"type": [
{
"value": "constructionInvoice",
Expand Down
58 changes: 14 additions & 44 deletions examples/validLawfulDevelopmentCertificateProposed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1138,71 +1138,41 @@
],
"files": [
{
"name": "https://api.editor.planx.dev/file/private/ha2qdn2z/RoofPlan.pdf",
"name": "https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf",
"type": [
{
"value": "roofPlan.existing",
"description": "Roof plan - existing"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/3u00rjyw/Site%20plan.pdf",
"type": [
{
"value": "sitePlan.existing",
"description": "Site plan - existing"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/g92g9w65/RoofPlan.pdf",
"type": [
},
{
"value": "roofPlan.proposed",
"description": "Roof plan - proposed"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/i7tag96k/Site%20plan.pdf",
"type": [
},
{
"value": "sitePlan.existing",
"description": "Site plan - existing"
},
{
"value": "sitePlan.proposed",
"description": "Site plan - proposed"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/tw50m88n/Elevations.pdf",
"type": [
},
{
"value": "elevations.existing",
"description": "Elevations - existing"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/diahn9ft/Plan.pdf",
"type": [
{
"value": "floorPlan.existing",
"description": "Floor plan - existing"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/0rpf43jj/Elevations.pdf",
"type": [
},
{
"value": "elevations.proposed",
"description": "Elevations - proposed"
}
]
},
{
"name": "https://api.editor.planx.dev/file/private/iio7ok5g/Plan.pdf",
"name": "https://api.editor.planx.dev/file/private/311w2id6/floor_plans.pdf",
"type": [
{
"value": "floorPlan.existing",
"description": "Floor plan - existing"
},
{
"value": "floorPlan.proposed",
"description": "Floor plan - proposed"
Expand Down
8 changes: 4 additions & 4 deletions examples/validPlanningPermission.json
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@
],
"files": [
{
"name": "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf",
"name": "https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf",
"type": [
{
"value": "roofPlan.existing",
Expand All @@ -1720,7 +1720,7 @@
]
},
{
"name": "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf",
"name": "https://api.editor.planx.dev/file/private/5w5v8s8z/other.pdf",
"type": [
{
"value": "sitePlan.existing",
Expand All @@ -1733,7 +1733,7 @@
]
},
{
"name": "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf",
"name": "https://api.editor.planx.dev/file/private/7nrefxnn/elevations.pdf",
"type": [
{
"value": "elevations.existing",
Expand All @@ -1746,7 +1746,7 @@
]
},
{
"name": "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf",
"name": "https://api.editor.planx.dev/file/private/311w2id6/floor_plans.pdf",
"type": [
{
"value": "floorPlan.existing",
Expand Down
4 changes: 2 additions & 2 deletions examples/validPriorApproval.json
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@
],
"files": [
{
"name": "https://api.editor.planx.dev/file/private/vab4d0k6/Test%20document.pdf",
"name": "https://api.editor.planx.dev/file/private/5w5v8s8z/other.pdf",
"type": [
{
"value": "otherDrawing",
Expand All @@ -1102,7 +1102,7 @@
]
},
{
"name": "https://api.editor.planx.dev/file/private/es3w6dgi/Elevations.pdf",
"name": "https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf",
"type": [
{
"value": "sitePlan.proposed",
Expand Down

0 comments on commit b8efe69

Please sign in to comment.