Skip to content

Commit edff934

Browse files
committed
Update Buddee component with improved descriptions and removed license field
- Removed the license field from package.json. - Enhanced descriptions in create-employee, list-employees, list-leave-requests, new-employee-created, new-employee-updated, new-leave-request-created, and new-time-registration-created actions for clarity and consistency. - Corrected the label for the Bahamas nationality option in constants.mjs.
1 parent b4cdde9 commit edff934

File tree

9 files changed

+9
-10
lines changed

9 files changed

+9
-10
lines changed

components/buddee/actions/create-employee/create-employee.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ export default {
1717
employmentDate: {
1818
type: "string",
1919
label: "Employment Date",
20-
description: "Employee's employment date (YYYY-MM-DD)",
20+
description: "Employee's employment date (Format: YYYY-MM-DD)",
2121
},
2222
firstDayAtWorkDate: {
2323
type: "string",
2424
label: "First Day at Work Date",
25-
description: "Employee's first day at work date (YYYY-MM-DD)",
25+
description: "Employee's first day at work date (Format: YYYY-MM-DD)",
2626
},
2727
firstName: {
2828
type: "string",

components/buddee/actions/list-employees/list-employees.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export default {
150150
"employeeId",
151151
],
152152
label: "Manager ID",
153-
description: "Filter employees who have direct reports (i.e., are managers)",
153+
description: "Filter employees by manager ID",
154154
optional: true,
155155
},
156156
workScheduleType: {

components/buddee/actions/list-leave-requests/list-leave-requests.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import buddee from "../../buddee.app.mjs";
22

33
export default {
44
name: "List Leave Requests",
5-
description: "Retrieves all leave requests, [See the documentation](https://developers.buddee.nl/#2c5f483b-63d4-4ecf-a9d1-7efe36563639)",
5+
description: "Retrieves all leave requests. [See the documentation](https://developers.buddee.nl/#2c5f483b-63d4-4ecf-a9d1-7efe36563639)",
66
key: "buddee-list-leave-requests",
77
version: "0.0.1",
88
type: "action",

components/buddee/common/constants.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const NATIONALITY_OPTIONS = [
8585
},
8686
{
8787
value: "BS",
88-
label: "Bahama's",
88+
label: "Bahama's",
8989
},
9090
{
9191
value: "BH",

components/buddee/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
],
1010
"homepage": "https://pipedream.com/apps/buddee",
1111
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
12-
"license": "MIT",
1312
"publishConfig": {
1413
"access": "public"
1514
},

components/buddee/sources/new-employee-created/new-employee-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import sampleEmit from "./test-event.mjs";
44
export default {
55
...common,
66
name: "New Employee Created",
7-
description: "Emit new event when a new employee is added to the system",
7+
description: "Emit new event when a new employee is added to the system. [See the documentation](https://developers.buddee.nl/#fd057d3c-8b40-4808-a4d2-eeffc5da82d7)",
88
key: "buddee-new-employee-created",
99
version: "0.0.1",
1010
type: "source",

components/buddee/sources/new-employee-updated/new-employee-updated.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import sampleEmit from "./test-event.mjs";
44
export default {
55
...common,
66
name: "Employee Updated",
7-
description: "Emit new event when an employee is updated in the system",
7+
description: "Emit new event when an employee is updated in the system. [See the documentation](https://developers.buddee.nl/#fd057d3c-8b40-4808-a4d2-eeffc5da82d7)",
88
key: "buddee-new-employee-updated",
99
version: "0.0.1",
1010
type: "source",

components/buddee/sources/new-leave-request-created/new-leave-request-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import sampleEmit from "./test-event.mjs";
44
export default {
55
...common,
66
name: "New Leave Request Created",
7-
description: "Emit new event when a new leave request is created in the system",
7+
description: "Emit new event when a new leave request is created in the system. [See the documentation](https://developers.buddee.nl/#2c5f483b-63d4-4ecf-a9d1-7efe36563639)",
88
key: "buddee-new-leave-request-created",
99
version: "0.0.1",
1010
type: "source",

components/buddee/sources/new-time-registration-created/new-time-registration-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import sampleEmit from "./test-event.mjs";
44
export default {
55
...common,
66
name: "New Time Registration Created",
7-
description: "Emit new event when a new time registration is created in the system",
7+
description: "Emit new event when a new time registration is created in the system. [See the documentation](https://developers.buddee.nl/#b99f0b57-1828-4947-8e0b-99efa08c0bac)",
88
key: "buddee-new-time-registration-created",
99
version: "0.0.1",
1010
type: "source",

0 commit comments

Comments
 (0)