From b4515e46e282e84a8b01527cf2209b52257e294a Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Wed, 4 Dec 2024 14:51:21 -0500 Subject: [PATCH] nid -> node_id --- cmd/sheetsStructs.go | 2 +- workbench/workbench.gen.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/sheetsStructs.go b/cmd/sheetsStructs.go index 21c1aac..f2405f3 100644 --- a/cmd/sheetsStructs.go +++ b/cmd/sheetsStructs.go @@ -63,7 +63,7 @@ func sheetsFields() []CsvColumn { "Upload ID": "id", "Page/Item Parent ID": "parent_id", "Child Sort Order": "field_weight", - "Node ID": "nid", + "Node ID": "node_id", "Parent Collection": "field_member_of", "Object Model": "field_model", "File Path": "file", diff --git a/workbench/workbench.gen.go b/workbench/workbench.gen.go index 6ba1fa7..6fdf3c4 100644 --- a/workbench/workbench.gen.go +++ b/workbench/workbench.gen.go @@ -44,7 +44,7 @@ type SheetsCsv struct { Language *string `csv:"field_language" json:"Language,omitempty"` LocalRestriction *string `csv:"field_local_restriction" json:"Local Restriction,omitempty"` MakePublicYN *string `csv:"published" json:"Make Public (Y/N),omitempty"` - NodeID *string `csv:"nid" json:"Node ID,omitempty"` + NodeID *string `csv:"node_id" json:"Node ID,omitempty"` ObjectModel *string `csv:"field_model" json:"Object Model,omitempty"` PPI *string `csv:"field_note.attr0=ppi" json:"PPI,omitempty"` PageCount *string `csv:"field_extent.attr0=page" json:"Page Count,omitempty"`