Skip to content

Commit

Permalink
Removed CSV manifest file export for Airtable profile (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Jan 1, 2024
1 parent 32ddb71 commit 2d930bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,16 @@ extension AirtableExportProfile {
payload: Payload,
noMedia: Bool
) throws {
try csvWriteManifest(
csvPath: payload.csvPayload.csvPath,
noMedia: noMedia,
preparedMarkers
)

try jsonWriteManifest(
jsonPath: payload.jsonPayload.jsonPath,
jsonPath: payload.jsonPath,
noMedia: noMedia,
preparedMarkers
)
}

public func resultFileContent(payload: Payload) throws -> ExportResult.ResultDictionary {
[
.csvManifestPath: .url(payload.csvPayload.csvPath),
.jsonManifestPath: .url(payload.jsonPayload.jsonPath)
.jsonManifestPath: .url(payload.jsonPath)
]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Logging

public class AirtableExportProfile: NSObject, ProgressReporting, ExportProfile {
// ExportProfile
public typealias Payload = CSVJSONExportPayload
public typealias Payload = JSONExportPayload
public typealias Icon = EmptyExportIcon
public typealias PreparedMarker = StandardExportMarker
public static let profile: ExportProfileFormat = .airtable
Expand Down

0 comments on commit 2d930bb

Please sign in to comment.