Sort file lists for consistent storage
This commit is contained in:
@ -31,18 +31,18 @@ struct LocalizedPageFile {
|
||||
/**
|
||||
The files (images, videos, other files) used in the page.
|
||||
*/
|
||||
let files: Set<String>
|
||||
let files: [String]
|
||||
|
||||
/**
|
||||
The additional files required for the page to function correctly, but which are not stored with the content.
|
||||
*/
|
||||
let externalFiles: Set<String>
|
||||
let externalFiles: [String]
|
||||
|
||||
/**
|
||||
Specifies additional files which should be copied to the destination when generating the content.
|
||||
- Note: This property defaults to an empty set.
|
||||
*/
|
||||
let requiredFiles: Set<String>
|
||||
let requiredFiles: [String]
|
||||
|
||||
let title: String
|
||||
|
||||
|
@ -28,7 +28,7 @@ extension PostFile: Codable {
|
||||
*/
|
||||
struct LocalizedPostFile {
|
||||
|
||||
let images: Set<String>
|
||||
let images: [String]
|
||||
|
||||
let title: String?
|
||||
|
||||
|
Reference in New Issue
Block a user