initial commit after project creation
This commit is contained in:
20
tina/collections/API-schema.tsx
Normal file
20
tina/collections/API-schema.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { wrapFieldsWithMeta } from "tinacms";
|
||||
import { JsonFileUploadComponent } from "../customFields/file-upload";
|
||||
|
||||
export const API_Schema_Collection = {
|
||||
name: "apiSchema",
|
||||
label: "API Schema",
|
||||
path: "content/apiSchema",
|
||||
format: "json",
|
||||
|
||||
fields: [
|
||||
{
|
||||
name: "apiSchema",
|
||||
label: "API Schema",
|
||||
type: "string",
|
||||
ui: { component: wrapFieldsWithMeta(JsonFileUploadComponent) },
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default API_Schema_Collection;
|
||||
Reference in New Issue
Block a user