-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP feat(pix-editor): integrate new endpoints
- Loading branch information
1 parent
424fafe
commit b89198b
Showing
5 changed files
with
26 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,5 @@ | ||
import AirtableAdapter from './airtable'; | ||
import ApplicationAdapter from './application'; | ||
|
||
export default class SkillAdapter extends AirtableAdapter { | ||
|
||
fields = [ | ||
'Record Id', | ||
'Nom', | ||
'Statut de l\'indice', | ||
'Epreuves (id persistant)', | ||
'Date', | ||
'Description', | ||
'Statut de la description', | ||
'Comprendre', | ||
'En savoir plus', | ||
'Tube', | ||
'Level', | ||
'Status', | ||
'Internationalisation', | ||
'id persistant', | ||
'Version', | ||
]; | ||
|
||
urlForCreateRecord(model, snapshot) { | ||
if (snapshot.adapterOptions?.clone) return '/api/skills/clone'; | ||
return super.urlForCreateRecord(model, snapshot); | ||
} | ||
|
||
pathForType() { | ||
return 'Acquis'; | ||
} | ||
export default class SkillAdapter extends ApplicationAdapter { | ||
coalesceFindRequests = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.