Comments (3)
So ideally we would either have (space id, token) pair passed in or the pre-initialized contentful space object accessible from the args.
I'd need this to write an upcoming migration myself. Is this something we're interested in adding? (and if so how should it look like). :)
Fyi I'd also have a PR almost ready which supports:
module.exports = function(migration, { spaceId, accessToken }) {}
from contentful-migration.
After discussing with @TimBeyer offline this is the preferred interface:
module.exports = function(migration, { makeRequest, spaceId, accessToken }) {}
from contentful-migration.
Yes please
from contentful-migration.
Related Issues (20)
- Update validation without replacing HOT 1
- transformEntries({ from: ['id'],... }) yields error rather than usable id HOT 3
- Validation with Regex doesn't allow type regexp for a pattern HOT 6
- Comment says the opposite of what the code does.
- Pass callback instead of filePath HOT 9
- Image mime type/subtype validation restrict to specifc files HOT 9
- The automated release is failing 🚨
- configureEntryEditors definition missing from index.d.ts
- Allow dry-run of migration
- Support shouldPublish Option in setTagsForEntries
- Failed script runs throw ENOENT for modules
- Can not Enable table mark for Rich Text HOT 1
- Add `quiet` to `RunMigrationConfig` type HOT 3
- How to derive Linked Entries when field type is a list? HOT 3
- [Discussion] Improve performance for `updateReferences` in a `transformEntriesToType` migration
- README update for sidebar functions HOT 1
- err.errors fails with Reference Error if the response returned from contentful api requests is not a normal Error class HOT 1
- Upgrade axios to remove all CVE vulnerabilities
- Migration error with negative lookahead in regexp validation
- Migration is failing intermittently due to `SpaceAccessError`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contentful-migration.