Skip to content

Commit 91d4585

Browse files
committed
Adds deployment instructions and metadata enhancements
Introduces a "deploy" field with installation instructions and a "homepage" field for the project repository. Adds "requirements", "ociimage", and "topics" fields to enhance metadata. Adjusts formatting to improve readability while maintaining existing functionality.
1 parent 8252582 commit 91d4585

File tree

1 file changed

+68
-62
lines changed

1 file changed

+68
-62
lines changed
Lines changed: 68 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,70 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/VitexSoftware/php-vitexsoftware-multiflexi-core/refs/heads/main/multiflexi.app.schema.json",
3-
"name": "file2sharepoint",
4-
"description": "Uploads files to SharePoint from local storage.",
5-
"executable": "file2sharepoint",
6-
"uuid": "71892aa4-96db-4dbe-805b-0b7e6da3f36e",
7-
"arguments": [
8-
{
9-
"name": "source",
10-
"type": "string",
11-
"description": "Path to the local file or directory to upload.",
12-
"required": true
13-
},
14-
{
15-
"name": "destination",
16-
"type": "string",
17-
"description": "SharePoint destination path.",
18-
"required": true
19-
}
20-
],
21-
"environment": {
22-
"OFFICE365_USERNAME": {
23-
"type": "string",
24-
"description": "Office365 username for user authentication (used if present).",
25-
"required": false
26-
},
27-
"OFFICE365_PASSWORD": {
28-
"type": "string",
29-
"description": "Office365 password for user authentication (used if present).",
30-
"required": false
31-
},
32-
"OFFICE365_CLIENTID": {
33-
"type": "string",
34-
"description": "OAuth client ID for app authentication (used if username/password are not set).",
35-
"required": false
36-
},
37-
"OFFICE365_CLSECRET": {
38-
"type": "string",
39-
"description": "OAuth client secret for app authentication (used if username/password are not set).",
40-
"required": false
41-
},
42-
"OFFICE365_TENANT": {
43-
"type": "string",
44-
"description": "The tenant (subdomain) of the Office365/SharePoint site.",
45-
"required": true
46-
},
47-
"OFFICE365_SITE": {
48-
"type": "string",
49-
"description": "The site name within the tenant.",
50-
"required": true
51-
},
52-
"SHAREPOINT_LIBRARY": {
53-
"type": "string",
54-
"description": "The SharePoint library or folder path for file uploads.",
55-
"required": false
56-
}
57-
},
58-
"output": {
59-
"type": "string",
60-
"description": "Result of the upload operation."
61-
},
62-
"multiflexi": "1.25",
63-
"author": "VitexSoftware"
2+
"$schema": "https://raw.githubusercontent.com/VitexSoftware/php-vitexsoftware-multiflexi-core/refs/heads/main/multiflexi.app.schema.json",
3+
"name": "file2sharepoint",
4+
"description": "Uploads files to SharePoint from local storage.",
5+
"executable": "file2sharepoint",
6+
"deploy": "apt install file2sharepoint",
7+
"homepage": "https://github.com/VitexSoftware/file2sharepoint/",
8+
"requirements": ["Office365"],
9+
"ociimage": "",
10+
"topics": ["File", "Upload", "Sharepoint", "Office365"],
11+
"uuid": "71892aa4-96db-4dbe-805b-0b7e6da3f36e",
12+
"topics":
13+
"arguments": [
14+
{
15+
"name": "source",
16+
"type": "string",
17+
"description": "Path to the local file or directory to upload.",
18+
"required": true
19+
},
20+
{
21+
"name": "destination",
22+
"type": "string",
23+
"description": "SharePoint destination path.",
24+
"required": true
25+
}
26+
],
27+
"environment": {
28+
"OFFICE365_USERNAME": {
29+
"type": "string",
30+
"description": "Office365 username for user authentication (used if present).",
31+
"required": false
32+
},
33+
"OFFICE365_PASSWORD": {
34+
"type": "string",
35+
"description": "Office365 password for user authentication (used if present).",
36+
"required": false
37+
},
38+
"OFFICE365_CLIENTID": {
39+
"type": "string",
40+
"description": "OAuth client ID for app authentication (used if username/password are not set).",
41+
"required": false
42+
},
43+
"OFFICE365_CLSECRET": {
44+
"type": "string",
45+
"description": "OAuth client secret for app authentication (used if username/password are not set).",
46+
"required": false
47+
},
48+
"OFFICE365_TENANT": {
49+
"type": "string",
50+
"description": "The tenant (subdomain) of the Office365/SharePoint site.",
51+
"required": true
52+
},
53+
"OFFICE365_SITE": {
54+
"type": "string",
55+
"description": "The site name within the tenant.",
56+
"required": true
57+
},
58+
"SHAREPOINT_LIBRARY": {
59+
"type": "string",
60+
"description": "The SharePoint library or folder path for file uploads.",
61+
"required": false
62+
}
63+
},
64+
"output": {
65+
"type": "string",
66+
"description": "Result of the upload operation."
67+
},
68+
"multiflexi": "1.25",
69+
"author": "VitexSoftware"
6470
}

0 commit comments

Comments
 (0)