System generated commit, initial commit

This commit is contained in:
2025-04-06 22:38:24 +00:00
commit 78852155cd
42 changed files with 3922 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
INSERT INTO public."foss" (
"name",
"user_created",
"date_created",
"user_updated",
"date_updated",
"website",
"repository",
"documentation",
"public_demo",
"target_market",
"copyright_license"
)
VALUES (
'{{insert_form.formData.name}}',
'{{insert_form.formData.user_created}}',
'{{insert_form.formData.date_created}}',
'{{insert_form.formData.user_updated}}',
'{{insert_form.formData.date_updated}}',
'{{insert_form.formData.website}}',
'{{insert_form.formData.repository}}',
'{{insert_form.formData.documentation}}',
'{{insert_form.formData.public_demo}}',
'{{insert_form.formData.target_market}}',
'{{insert_form.formData.copyright_license}}'
);

View File

@@ -0,0 +1,30 @@
{
"gitSyncId": "67d625955fe7897636dc61e1_55da60e2-43b1-4f60-a2ab-d6e583e53b73",
"id": "foss.raw_InsertQuery",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "INSERT INTO public.\"foss\" (\n\t\"name\",\n\t\"user_created\",\n\t\"date_created\",\n\t\"user_updated\",\n\t\"date_updated\",\n\t\"website\",\n\t\"repository\",\n\t\"documentation\",\n\t\"public_demo\",\n\t\"target_market\",\n\t\"copyright_license\"\n)\nVALUES (\n\t'{{insert_form.formData.name}}',\n\t'{{insert_form.formData.user_created}}',\n\t'{{insert_form.formData.date_created}}',\n\t'{{insert_form.formData.user_updated}}',\n\t'{{insert_form.formData.date_updated}}',\n\t'{{insert_form.formData.website}}',\n\t'{{insert_form.formData.repository}}',\n\t'{{insert_form.formData.documentation}}',\n\t'{{insert_form.formData.public_demo}}',\n\t'{{insert_form.formData.target_market}}',\n\t'{{insert_form.formData.copyright_license}}'\n);",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": true
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "Directus Database",
"isAutoGenerated": false,
"name": "Directus Database",
"pluginId": "postgres-plugin"
},
"executeOnLoad": false,
"name": "InsertQuery",
"pageId": "foss.raw",
"userSetOnLoad": false
}
}

View File

@@ -0,0 +1,5 @@
SELECT * FROM public."foss"
WHERE "name" ilike '%{{data_table.searchText || ""}}%'
ORDER BY "{{data_table.sortOrder.column || 'id'}}" {{data_table.sortOrder.order || 'ASC'}}
LIMIT {{data_table.pageSize}}
OFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};

View File

@@ -0,0 +1,30 @@
{
"gitSyncId": "67d625955fe7897636dc61e1_9a6e5b5a-57d5-4a40-a651-2371365a217a",
"id": "foss.raw_SelectQuery",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "SELECT * FROM public.\"foss\"\nWHERE \"name\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'id'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": false
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "Directus Database",
"isAutoGenerated": false,
"name": "Directus Database",
"pluginId": "postgres-plugin"
},
"executeOnLoad": true,
"name": "SelectQuery",
"pageId": "foss.raw",
"userSetOnLoad": true
}
}

View File

@@ -0,0 +1,13 @@
UPDATE public."foss" SET
"name" = '{{update_form.fieldState.name.isVisible ? update_form.formData.name : update_form.sourceData.name}}',
"user_created" = '{{update_form.fieldState.user_created.isVisible ? update_form.formData.user_created : update_form.sourceData.user_created}}',
"date_created" = '{{update_form.fieldState.date_created.isVisible ? update_form.formData.date_created : update_form.sourceData.date_created}}',
"user_updated" = '{{update_form.fieldState.user_updated.isVisible ? update_form.formData.user_updated : update_form.sourceData.user_updated}}',
"date_updated" = '{{update_form.fieldState.date_updated.isVisible ? update_form.formData.date_updated : update_form.sourceData.date_updated}}',
"website" = '{{update_form.fieldState.website.isVisible ? update_form.formData.website : update_form.sourceData.website}}',
"repository" = '{{update_form.fieldState.repository.isVisible ? update_form.formData.repository : update_form.sourceData.repository}}',
"documentation" = '{{update_form.fieldState.documentation.isVisible ? update_form.formData.documentation : update_form.sourceData.documentation}}',
"public_demo" = '{{update_form.fieldState.public_demo.isVisible ? update_form.formData.public_demo : update_form.sourceData.public_demo}}',
"target_market" = '{{update_form.fieldState.target_market.isVisible ? update_form.formData.target_market : update_form.sourceData.target_market}}',
"copyright_license" = '{{update_form.fieldState.copyright_license.isVisible ? update_form.formData.copyright_license : update_form.sourceData.copyright_license}}'
WHERE "id" = {{data_table.selectedRow.id}};

View File

@@ -0,0 +1,30 @@
{
"gitSyncId": "67d625955fe7897636dc61e1_3d9c033b-6e81-46f8-9377-3f9db4c9dff3",
"id": "foss.raw_UpdateQuery",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "UPDATE public.\"foss\" SET\n\t\t\"name\" = '{{update_form.fieldState.name.isVisible ? update_form.formData.name : update_form.sourceData.name}}',\n\t\t\"user_created\" = '{{update_form.fieldState.user_created.isVisible ? update_form.formData.user_created : update_form.sourceData.user_created}}',\n \"date_created\" = '{{update_form.fieldState.date_created.isVisible ? update_form.formData.date_created : update_form.sourceData.date_created}}',\n\t\t\"user_updated\" = '{{update_form.fieldState.user_updated.isVisible ? update_form.formData.user_updated : update_form.sourceData.user_updated}}',\n\t\t\"date_updated\" = '{{update_form.fieldState.date_updated.isVisible ? update_form.formData.date_updated : update_form.sourceData.date_updated}}',\n\t\t\"website\" = '{{update_form.fieldState.website.isVisible ? update_form.formData.website : update_form.sourceData.website}}',\n\t\t\"repository\" = '{{update_form.fieldState.repository.isVisible ? update_form.formData.repository : update_form.sourceData.repository}}',\n\t\t\"documentation\" = '{{update_form.fieldState.documentation.isVisible ? update_form.formData.documentation : update_form.sourceData.documentation}}',\n\t\t\"public_demo\" = '{{update_form.fieldState.public_demo.isVisible ? update_form.formData.public_demo : update_form.sourceData.public_demo}}',\n\t\t\"target_market\" = '{{update_form.fieldState.target_market.isVisible ? update_form.formData.target_market : update_form.sourceData.target_market}}',\n\t\t\"copyright_license\" = '{{update_form.fieldState.copyright_license.isVisible ? update_form.formData.copyright_license : update_form.sourceData.copyright_license}}'\n\tWHERE \"id\" = {{data_table.selectedRow.id}};",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": true
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "Directus Database",
"isAutoGenerated": false,
"name": "Directus Database",
"pluginId": "postgres-plugin"
},
"executeOnLoad": false,
"name": "UpdateQuery",
"pageId": "foss.raw",
"userSetOnLoad": false
}
}