{"_id":"@graphcms/migration","_rev":"34-280b65b885d7501e95d529911c445bb4","name":"@graphcms/migration","dist-tags":{"latest":"0.0.15"},"versions":{"0.0.1":{"name":"@graphcms/migration","version":"0.0.1","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.1","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"4b8eeef35e9cc571c20842aff6ac61b9fe0224cb","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.1.tgz","fileCount":12,"integrity":"sha512-pUcGiFnESRf+hKmWc+RZcS8Eim3Gwawlqnui6MYsGuPRwhkgodzA//4pB/QT94sSIDYI1vfKxfheF80leGWgRA==","signatures":[{"sig":"MEQCICCIxAfxVPeyR68fjDKIg7pZ+CbWMuKaVEP0g3zzEiolAiB6ozRu8xwaN+ntcCjLfBS+uO7srdbUR1uiMUQv7S4/mA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTO0PCRA9TVsSAnZWagAAvIEP/229/xXAJAPVvZI7IBPc\nQEDpMghgmmLCv/4IOEHNl+8PHSxGzecFACmMZpLi/VOJA3DwMND7KNUUbctb\nBwgbmMKhi7KiWIMB3g1fTuv0iqoxbPKSyudpaJg1Zmq+xXDh7bmydwmYBXcp\nI4MOO2Kli8OpL3KyCj+ogIQvO9MQFh9dNf5G1HomG8ROAMsKcAmfv/kVBjAV\nbVCzYR9r0j+AfeIKPZPWTKa3MqvZ7ih3KcbcBBgfBf6A1PxzNPRilESGgk6/\nA+AF1qzXoz+I9X7iEtNNxPaWF0FJWTdF+fI64hBWqIwYCIYbuchmKrvKPD+h\nXKnIoW/aIyXGEauuJJtXyFL5sTM/jvPdcykg0o4gM9qSDgYd1tufUOb4dFuf\nAYk1hMEDre0hBAv0Knfwq9KbefYtta9K7IzIG1F8sJSbmSHVMeIUL+qg1w7G\nvOI68Ya0BtIkZGZ8g9qTaJQ48DSxIhZgd7+hA0PajBX1po0/yaYSIKu0kAZT\nSlbxKyrLyxf5ghVze/tCbSyhi2ggN9VdZj3M4RwKPt+7w370KST5W8GO3icY\nSxU4L8IG6swdJXrU/o8dhHpJOId/xGiyJObNZhZaEelkQHItZsWzOAHRMC6R\n/iGuEdnPUibzMlndugG4KNzcLV/b+9bHm0JUbpAtSrBGlhI6OMQ0+6r3yVa7\nIMPw\r\n=5AZg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.3","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.1_1598876942756_0.44589498536086336","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@graphcms/migration","version":"0.0.2","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.2","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"}],"dist":{"shasum":"f99f5bcb47e518412ea94ea3fde939733b40b434","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.2.tgz","fileCount":12,"integrity":"sha512-xCtbfMt6hGq/mB6v/iLUOqtDW43C9wQOK2oW6Qn3f6RoGM8EPcqfWuN8+1QVcd3im/vlDr/JAnATym2jQNkLFw==","signatures":[{"sig":"MEUCIQDW1HUCiwBJGp7WDwP/wt7HDvlhxcPco8mLOVkcx+S8egIgAZ396GJdlu29DYVLWr6M5D0A/xx1p8BirsFTP180Ge4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTO2kCRA9TVsSAnZWagAAcsgP+wboGAcGBSSofRgCFXEq\nlar17/mff10xP0kVdmtCCExAKA/EmjWBNGjs2zcrFoZZztySo/FDk2/HTdXf\nRAGs8JZ8UO153jv7hJwwg2CgGCzgc9x5vstUWBVf/P/WlGSiWWIcbJCnwCzk\n2DfxWcqi+Ty1i4P7x5+Ue0iAZ0Iq2vhl5CS6B5HHpTCBvh54gqTKNN39jXSF\n20W2cDYxa2+6d50ahwQhT85/z6dFZ/THyfgm6dlD4XijRVkpskSn/IrMUFcW\n3UNMhu0i7DvgbOyTBbtX7MyLKiJZApRoj7SJvT+jLr9rmnPTJq3awXnb02S3\n48malcyz894vmkR0S1mYKshL5jsievqYkSj5uIwU7a47OzHgJ+DnX+DbV+DI\nIX1GqzWqO/nAZthDLyu6b87fx7fqXNmv4o3TfObsFdnlt9DH40DsP4zSY3KB\nLHAqoyK9UEEe4/J3Lv3KiqaPSFfpdDJsEJP3KQYZFUJuEfNv+qjUs7toV0oW\nKxSPPxy7YjgPExtVfCn5DbiqA1bO6wZ3IsiviHszix4H1favH/6UMTSga5py\nVJAMd5Fdo3wolsfTv9Gny3462ak0cnJQAstXvFHzPP5ozPpGtRrcNg0J0zku\naMa7DXuvgOUfter7VlPL2ifx36z40NhnAT5cN+o5vlowYHGQOYUa18Opk7TA\nQJN3\r\n=83mQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.3","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.2_1598877091643_0.045898081138404656","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@graphcms/migration","version":"0.0.3","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.3","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"}],"dist":{"shasum":"b399b2802230248ba71bad7e2375632df5fd4ba3","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.3.tgz","fileCount":12,"integrity":"sha512-iHqvxC1nPj9S4HEBvAbK2PCEcAP+LvmWi46ZSeJuQ/Kv+AcbvRWKEE9npWO8IhG4vHb+Ps7pUI6REPXL6dbNkQ==","signatures":[{"sig":"MEQCIDiEbCO2RHfZlXmqvLpKKt4MxELz7bdFm1i6why7Zwr1AiAbczx4J9bgYjYEqgUtGNgjaFwj9jwDSKduRIQG79ND2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTPGCCRA9TVsSAnZWagAARrcP/i9Syx8K2RJJXucDcEty\nFbETzCZlcylJvxtUjjS5Cn1M35x4JyY3t0M9v0b8dLVIAggRh/naIyY/y+DN\n8lzMQw8yvGIX/uGxlNErm5UNXIbdOT7l5i+TUttZEAJsacz/Z5Q4NkCWJAZm\nJxJjghW2k0fkGDccXASJdow/dJ7A0dur0U/5tKEJYIpyUiqKfdVUKk4Hr8s7\nuV/FKz2zBWJ4r4Y0FdYOKKmqXft0i/kin7rHqfZliHNJFupP7xHFrxhgfDkv\nkfHDH+kYpr27yXWuj1uXC+gw35hQX08pURtfeL/mQykwlK8fPC9jtnwcF/1T\nsfM1+tEfzKTscLeAxP3r03A0WJQAjd19uY86gglZ1gIIhwiafafNJNzvqjGN\nOlMvS4R8MJK2a5s15V1Jzf/H7EOeg+9B3bMuXVEnDUyNLlwzsG0U4Ag7qpui\neugyU3IA1CT+8p+aW3b9WHTc7qqTOrZ3tX/0Tt9BhzArYc+3NR1vC/Gxzxhs\nRq54oXAxKrvzsGZ/T1myvH4UtMUx1rPs37dE1oBN1Fffmiy9J6/6Rmi/jR9W\nB26ermQOo4P47JMZ8cf6LlMDoTUpG13n6QXcEvgO9f8QrucYQF8aMBVaL9So\nSRfuB+1iEaQVzyyds711gkXOufp7QbI+SGTFExUwBQin2mOOPD7+ZDAFHTBD\nL3RJ\r\n=V9yo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.3","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.3_1598878082202_0.4564529411196734","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@graphcms/migration","version":"0.0.4","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.4","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"}],"dist":{"shasum":"74c26783fd06d77c37f8db602a87d085ab9bfe2b","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.4.tgz","fileCount":20,"integrity":"sha512-mDlgyZ5LFllKFoJHhShv+O6UWV+/8ALfriOOB0/9qiaMLI06aGyF+AB9NqxitqMau86gv2sROaLoXDTnRMNPbw==","signatures":[{"sig":"MEUCIQDNRp6ovLH1icDbU28UbqWjLuaPSA4VPN4Tz1aWP7q01wIgeK7nivSOOJ7GTDWodICcMy1qvDZOwxJyP7QQ3AHJgPk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTPPqCRA9TVsSAnZWagAAsdQP/j8dZcNr4idltibFbcyr\nzFtSZXbFBGmei1ATbDuiwddGTpXEg41fA3xfBQ7IyQIu07v3D8S7/eji9ZvJ\nLJPStiJki1JEQdOmvPdMkZW1IidHxCCKqQ/qQwwkfbzHY/Wq1cOfLBcrDocO\nNDQGL65OAOZFmsRC/Gw54/wNcSE+FqFDqMXzfLEVqIN2PCw7JnLwVuPJlH4L\n2jAXN71VZx08Xpovb5KaZR0XupLoWmY9E33yL9NoUGdEuu87mYwQSwBIxlXa\nO+nXHPM6jq6T52PrvsCA0KvCQujk/od7crR3KXVCzmrPAIyfkeObZVnh34cf\nBHvJZQvaTQ+jMClhoL8I8F8BnpKeXLY0Hgj+FoRhmJHSYm4v08XfbYZbUESH\nfSUji8qznrpVEuBiR9JBJg4nXBSgXRm4YZGse5NUPfCpjgpt7oMrancl4wtF\n7e82NVzdwWyrCeiNOwzsihokSp8/L4b3SeV3uGDzWpRLrNnGIXAyxmO+vOS8\nDd8sdkRXT+jtP9slL+BJ8FR5xTk6mqXNlluyRWaMIf0bevs5RpNHSyQDV3LC\nkBIGValMCBqYcKRNZ9cX2j77jlZ1WA5b/k+C1m+aomESzd9xMGgQ2+GzGTvC\n3IITKw34nqn7xV0LczfJqFHgAC0NAVGQ9ruyP+IlUdBKbDaiGiOJu+tuZ7iY\nDciI\r\n=EiAg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.3","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.4_1598878697768_0.013580589219449823","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@graphcms/migration","version":"0.0.5","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.5","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"}],"dist":{"shasum":"bda76d55956e57413fcb3a887240145571278b5f","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.5.tgz","fileCount":59,"integrity":"sha512-7M1kdf7aVDH8tsBLsRfkhW34pR0JXsp6S+rPlSdRMI8QmcnhYWF1wv1VLqZ9fj3B+GlLKbgOc8KYXLZBBKXd7A==","signatures":[{"sig":"MEQCIC54l1CZ1JkAH8mR6BUpnkMXpAtlTERsEYoBlzxbhaHUAiAmJxkj1xw9mbSxalvzimVt7WGz9Vm9qGG6RUwrkoL2DA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1561730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTPfACRA9TVsSAnZWagAA1VMQAIY39cd8l9vP/e7zl1L+\nfX3sDl3OBh5Ln4DssBaIYGMG/3SeWR/nAUu/PimUsf3Jqt4C4dBY70Cp3TYT\nAX8kalXdsZ3270vO+EY0SLm4OszrETlEJmEjdbDiHJ1NuCq31B5peU21NyQr\n2bnkTNvN2tn+Qhjesfu8ArtxKVwQoZyBBZtt9XumWJA7r8Tp4bPk/qLaiyXC\ngsutADI9JluS4dVOsqCnXSa7GKxMYjMpjxHClNgwNn+QfwfzJ7ijvXN6YRNK\nnIhAY0jD8gTMSHsg8sGSBBqL1yPzVkoX7WVKtwDh2Oxg5/ybr1fHC8M43ZtW\n2hQWOwU/s9aq8JdqzKOenGvuKx2ryVCpWlHkwaXuWw9jB0CwkkZJYI73MDWK\n952dTgK5NnMDLjoLkke7UuNBwTcH/RICFeEBb6Q/NMxE9pio51694LcoRxr1\nGbrY5ajUHQUWr5A15JERkWHFF19RnbzQceDPlsJfnB6ep57Yx9fo/HR+M3Pl\nUT2jQNjaQ4tLdHXlqfde1hT9oxYrdOU3bPjwT3f+i7wjT4CBhXhv4LN7iWgw\nYeHAcDyhhWDWQrhEMgJ3P+8OiO1XvNSFva7iDsong9C9pnBc14fRteJa5p66\nfSKRvGkShf1qdYCWZChy114/MQIublCJYI26ArW4armaV2K5oKI5WuUtzaAq\njCig\r\n=8yUc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.3","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.5_1598879679714_0.9280742494054779","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@graphcms/migration","version":"0.0.6","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.6","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"}],"dist":{"shasum":"8cc7264a4e8aefbe782d25eb9d0b86f24537b6cc","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.6.tgz","fileCount":22,"integrity":"sha512-K/8RgFe0FSEf8QwmSK3RMVtkjN+CBu67vRFRi30HsYLfir8MAvVapHF4sVy9P2G7wI4yj0aiYs5VYZwjFLIzeA==","signatures":[{"sig":"MEYCIQDzSMVjrEn5G8mtxKyHBacH5/2XdL4uW+TiboE4XnANbAIhAM+JbKIr+HUBBRhIgou39+Ekn9oIxtMhsoowm8hllFVL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":353446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTPruCRA9TVsSAnZWagAA4BIP/RcLLIKP4Eh6qO10r2CY\nIo6dYllkKc4FuNglrNyTBBpizYUB6BgBYFNgnBGCMktOlrptuUCVfBzmTVh2\nNljH6IFkpGOfwV/gnAcWxX7vthB4JzblsUXw2IqsB1tTkvcPhkeWM+cYS9he\nL4pQ0PPA1wbNR86KWAq0iF+DCP/0rF4z4TUp/DJntO01BEQupQsAuHjuUUOk\nJh75YAHU7TfXzrCfLX9BPMH7+Eb42LhEtAznqUth0YjI2gRYh28f+ZGvLVoP\ny2SDo9PSac14VqHgXsjE9OC+nhwNpP4nL8HFsg3KcQn8HBa8gpN9JokE/NdF\np1ow0k0pQNqY+8SV0FlQOB1up9MjiQ/UXwzaiasrXe3IuprXu3f1Pd5MmKvV\nExZcSBMVbsZhJ9ohzDyXZPolCp60gGnUs8eLjHCO0quCTQX0nSojZxMiS7zV\nOdkfHrTUsfchsj+5kwIktcH/hBfMeQUspzNshITc8AT3NldP5zu7QRruMVSB\nXfJ6n2i8E2gG+TEGa5FEP/ntQkJQL7nTaAxj74BHImvYkP+pJPfZJekMSpDF\nyVMEvyccKhSwkGRSYWEd2fYoNlpPoewAFCFmupRGw1rtly5mwBkqkZNV021p\ngo7Zg2UqE6+l6EveKkpip4K2KtfbefJPOZgxuWqjIHOOYBSrquxBk1htZB34\nfEcr\r\n=8MVX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.3","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.6_1598880493934_0.05877176220438418","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@graphcms/migration","version":"0.0.7","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.7","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"}],"dist":{"shasum":"17d1581d4779d6c368e63b0242e8ad045cbdf9ad","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.7.tgz","fileCount":22,"integrity":"sha512-0AsDYj1pZS4huoI1Q1/SSVpUn6q/VtZHhmk/ffvNhFeZWQw1FLQLAe16mKRTUYpEdyIvxJu8/jg/0lJkdgd7KA==","signatures":[{"sig":"MEQCIFfgKsGq9Q/5jtEO1NhPDZV03/v5IMwEgddJRB/bdza2AiAyXibA8I3Z95bMZuqlP9kT9toFKjc/legKhVkf3YiKeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":356473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUKC2CRA9TVsSAnZWagAAIjMP/2WpYc9pRf04V2EWZBJk\nQqFib8i3SG1a7eB7OjwN2GDb/ZOpskBHvn+lO6SI171/pPa48YrikljLcwYq\nKQtCQlLBY4ClXPFkWae4KcYYr+mhULEYT8yQl6sJU25WhdmOSz6Kynk4O9XZ\nVPIfQa+SQw/sK9vYUljNoJ6xTwP1ervd0UTiwIDdtAi5DsUAprLHyvu19GeQ\nZ41wnpz8fWXbR56LMi/nmSGEgm//UEbcrybrkWuVTTVmkfILuOBg5CXZVCm+\nW6JTOH6oIhn7pEbMkOi4SyQedkUA8zPry/Kfzbklkj7Y4dmJi07g7/0iSYOC\nS3s4gBiCNenlPlqxhEfi2aLbMzbJ82JhVQFUzClrWBOAyE8LvETmPBIZw0ep\nFe+UoG0LlzJ3H+ooPkG7fFnZFkTmg+zvZgd7Nlrq5K2r1QaU5zBBXTyAyHLT\nVoKpCUFqL6No4h35aXEHUTYhFDa/qSHU6IVfk9vb6CuslYKLiRAm+QcgHFcn\nzKk/To6BpzM4TLPWe2Foo7QtR0usd/5oCQYnhI04msKlkWdNGDyrMSNs3vUD\n4zbSHqnvYwdKXJmreFIiRlp101gr8kiN4oAOBgw37NR3Tgi5PICibehMkhtq\nFXdZ1cVuZL0+aP/0Q70RGsF4xL8V7UAlXY84yx0SqkPVdcru5CgqdSLexcJY\ntgP8\r\n=+7w1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"graphcms-owner","email":"services@graphcms.com"},"_npmVersion":"6.14.5","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"14.4.0","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.7_1599119542023_0.4512127570316611","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@graphcms/migration","version":"0.0.8","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.8","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"}],"dist":{"shasum":"7c100d872ea1282921a29fb61f0a8e81c395f5b2","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.8.tgz","fileCount":22,"integrity":"sha512-AD9R1IYH72AMQ5MWxl41Cvp5LtqHj8TpqpGPfvC0APhbKAIy9id0teg2u7q1z5y53JabzatQQnZzP4Sg5lGb9w==","signatures":[{"sig":"MEYCIQDNS+iTVQoKrhv2UhbpvAjoWzw8EFEo4fb/CBCj0iiBAwIhAKUODe3RQd532oyJ2mLWVZnC22hrpKpFUETaVQaq/kBM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":356496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUKIXCRA9TVsSAnZWagAAytgP/iIS4DqGKgWHO5Z4GtSR\n1WooWTg+FDdqBPU0YKziQ7VLvkQ3g3wct0GPq9tI+1MJCS6uxI5OBE6eRrPN\nZQ7ZrT7SCvERtqEY4iUsjy5vVbJrqGWgXBLaBFHF6OAuvbfc2AJ+yI8xzvif\n2+a24a/ZdMS06YELhQoJKFwu/+/FFNCAYmFRKwkS52c6q7oDt1DuOTb7zpGs\nLaXHMJFDtI+XwJJZ4UEyNGe8O88Uhlz/92AkQJ/AxhA2DV8TGMf0r9dktBsc\ncX0LqJl7aSwaUP//dsese+P00JTK5UeW2H0tF7XLGylmBWZQ8nFqh5dVqwcw\nrpic2g/KdOw7/nEE7LURtLCriO+t4saIWsSo7jz2Q6uC7MAPTjEmyzi8J/lV\neuKQ7jxLFE5kQtlqYj/F71gVyNpJjHojPqU5OIRGBOSyD1dUAJ5U+kbUb6yk\ncotfXQsebH2cbtRykY9KwhEV1ojKfrIZcS+/fIJ3coBJiznjJXrYKSwQIuzo\n7cnGRwCE2H0lUiFJShE4konL9iFnXBf0M2X2gy/iHw+bbovHJSa0SeK9+v93\nug0Jj4M/tqonZWMsC4hhAgPB8apwL2My5oTtlfLsdXTMR7A/CgnqbC1FCIIB\nr9jN+QP5d4WDELLkGDNxoAo9vbPjdZdaFttFiOVwoXPOsnl6nqGROd0dsp/f\nJVdE\r\n=WnHn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"graphcms-owner","email":"services@graphcms.com"},"_npmVersion":"6.14.5","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"14.4.0","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.8_1599119895059_0.19892753495694726","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@graphcms/migration","version":"0.0.9","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.9","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"4980eab68790270109770a39446df650ace15504","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.9.tgz","fileCount":22,"integrity":"sha512-S0VBI2FYhSpe0Lxo5PaN0IOJ7BEsL+nb6gY1O2IdxmKBDQw40z99WwqDCHlIFhkTxd96uA8Fbi5khOAdvnlbmg==","signatures":[{"sig":"MEUCICtQvgoO5AW8TqXC9DIRFrfNUxCnQ4GjwGgR3nBYnW+6AiEAuxgPqAt/G6D+yN+aOXaelkgDqyi0K/CAmCE4znzrrJY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":356353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVzLqCRA9TVsSAnZWagAA3WkP/ixMWERVX6c9Yqn3YiOw\nDO7V8uWcY3RAFqk6FgvliKCyFQ/JagLJFRI3g0SAKJhsH79ys9rm75oTYiEo\nAIahK/15dK7itypS+wJDt9RE6viBBeHFTodBWQ9p+ENVaqpw1jUrHfYdO8FQ\nnKS1oMu6mvUAjROwNTvb9TvKhzFIcxbnpFte6JVA5mG8r3wkEbpK+xOAEnv+\n29+AxWLsRgZhVXq3FaHg1E7jdVVTrHEnFtnPtyigzW4viLVTTYzfDPOhGGrT\n31qdPlOLUTb6QzCvyA3JaTbgMiPERHdYOT7ersLa/+bQEwgBT88BG2jUBOX5\nOlwXeSAg97ken2sjEimi4ePOYDEzi/HWk8oL+Aek55Zbhjs5kmSpXIfoMZ7x\nLoqXCI9j8KICD1jT24ggzZqwD+GuZOp4dzifvZMl/ryAx6Zr6DItTE88/3UH\nxQ9/f6hV8MbsXfX+X2GaOdrZ5D9vLnW5lhV3QbQF0PRuEHNKGVLCzMgpYkcg\n/E+6k1sfcVJKZz0rbmhY74hsaqQvWZ4zXXLyAdJsKV03vY5DVsfx2FSuCtCm\nr1SttI2saMWcRE6hGcMtSIplOucC0JxRVcjhT6PKBF1jPHXtPCnZIn2Ll2AZ\nS5QJ6ApJQyCo0PLlXSxxIx8xT0W0h5DmWxQS+iY4RR3B7gbiezGhpIiOYqI4\nUfO8\r\n=CsYh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"graphcms-owner","email":"services@graphcms.com"},"_npmVersion":"6.14.5","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"14.4.0","dependencies":{"@types/node":"^14.0.27","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.9_1599550185624_0.4337309028799661","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"@graphcms/migration","version":"0.0.10","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.10","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"9e99f7a0cbf350aa34633cbfec44912e6cff0f92","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.10.tgz","fileCount":22,"integrity":"sha512-3NzU5fxQNYTAqA/e9u2FgvgfykQR+ywKDD0ld+WIUzed+weinF9Xf6FWgsi5UXIsezPg96eGDkaIRRCIETE8iA==","signatures":[{"sig":"MEUCIQCJ8R7pkQfXJ6K5FUvxyN4QzQk/HsB9pXU97rN5n7ODJQIgOrjvuatlJippWaTyEgzpn/14n82Q2uAtA9MQZFOcRR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":378512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfY0y7CRA9TVsSAnZWagAADxMP/1o/zCgHWo0s47Yry6Co\nHelgNpk9jTf/a14Iryj41TgZO6+CSTPiBZiLyu82YTgqr2FRrTpvcbiLI7FD\nSCU3NG5Ifmurk04YSILq8DRfoneI0Posk75Z3s/sHmTGlFEStCxwDaZ/CdLj\nJRvN/TBCbgQivHArcrRr59cUytjxnNeoPnAmeB1XIjYV+v++I3/9jMFzytjg\n44GmEgg0Dk0O9lJEici/qaLdEB6dbLT6gN7AZgAkr6ldXCwXfzVev7Rsye6r\nHfGRft3cND991BhYstqDYHH8t/dJxtzKeQ8GLcqGao6wZ+r5zNTv+qUeZ3k4\nzO6ybGGQEJmQ7AvrOFtSA4KLDSBu4Gvh4Dcs07IXrm8L4IzMLa8CnL5BRtrh\n8kgItkDNuuCrV3g4dBgXIzegGNLB1xcVmxKjwU2rtlAD5znyF9PctDg6zlXh\nLG5Issmi8AIyPmJCloDbV+WxMhxTrQM+C6FARSAhkc49LBknCPdctWuZrHEj\nj+c1jQXCwq/c1LvyMMFv3ItELULv1E3LdiBCVbwUpOY8vhkUGDIELZQB8OTl\nHsp6TkfRBsRNFruLB64KCLhLCJwiOx5IJ8EjEBsUcdQIyS7maszzzhrqSq05\nQUDi88sP6/UY1oKHwRY9hJfrvnok2rvNXA2pPC/9Za1OhOmw5pcPMy2iQHBf\nHW11\r\n=P67F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.3","dependencies":{"uuid":"^8.3.0","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","@types/node":"^14.0.27","@types/uuid":"^8.3.0","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.10_1600343227173_0.24034079022233779","host":"s3://npm-registry-packages"}},"0.0.11":{"name":"@graphcms/migration","version":"0.0.11","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.11","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"81bd1925d8048633e60428b341e33d0c7941ec14","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.11.tgz","fileCount":22,"integrity":"sha512-fU+IKk8MPhg7O/vjlCK4Bvgp4IjO47USds48+vfxrJk1fuO1KcPBZeShlvN9xqqyGsV0vDX8g94ybhh/3vNz4Q==","signatures":[{"sig":"MEUCIQCry6w/BEgmbPAH8TgXe/+3cdJqHKDtbi0adwEqZjqIuAIgdZesxjYdXQsG4rqDaN+fDjgEVHzRfJ3EZqZfZqgXApw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":386509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaNOQCRA9TVsSAnZWagAAWj0P/itTbzSC5UVfnyXSKewg\nkInY+liyxzTUkURFDNjttdeVKCYJ4HtSfL2H1oe2bU6Tew5j0MAQq0I+Md49\nU5mZYX1q9zzHRnVxe175x4PTlkYxh0WGfR6OQEXsnUmJT5n0GycHlMoulTZA\nU66wgH57aWsM/hJCIbVS12+0sO1wmDSJlOkdVgbKF/00zUNqzrcJFp+jQqBq\nOJGJOOPUmjNS5yHuvCG3LYEfTdCjknD+5K5vV5/if41JJGW3ocMVL7XpZ3S0\nCYmWyAwoenIWYlX650ALjWJTXo0BkaZYPkgEOxC8SYu0UeXE2rdPh2UrRS5O\nnFPc3JGMRdJ0me+/pguJpTwr3H6ax+Ag4xZ6RtByOy19tDNL8YgkkAQZFTJp\n4YfBP5lr4Xx6IUPazxUE3aEVs7ftu7R8qZ+Ntso0epGz6xruoYuNstRwSfkV\nTKbPM4iUGcFZe521O97w9c7HjAW0JoWxh7+ELmuJ6Ltc3So5cYXF51vr6+XR\n0rluc8rf8ZR438Ck0VXGaz/UCs5V1wyT15ZyHVSfL+tKghV+6W5BhZ0S/lcw\nz4Iw1+jgwKW55ilRcLhvRfGifkW2eY70JPLs8Y9RxharKlqkZnNojpMjSyvt\nK7XtTckRri4iR6ewMV0NTJDp5cbykWKhhhPSwNVhNvUQcZAD4eoZFIPMzLAl\nwhVU\r\n=uxrp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.4","dependencies":{"uuid":"^8.3.0","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","@types/node":"^14.0.27","@types/uuid":"^8.3.0","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.11_1600705424398_0.580823031468946","host":"s3://npm-registry-packages"}},"0.0.12":{"name":"@graphcms/migration","version":"0.0.12","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.12","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"0a38785d90afa8b85242057c0203b035144f7be0","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.12.tgz","fileCount":22,"integrity":"sha512-jlvdRh7h9udwQRwGpJ5om32CGqPmPdighOQSj+JYv9xtrr3YZ3ZNLTllOiJwFr6p1F6x7Xg2ETkyNzknOKWZBg==","signatures":[{"sig":"MEQCIAr0tKLe09ADjtj3ZCxgDf6LXyXDwMH8zQQhgKugsCZgAiAxMPATW0hJb/gHMw/5TJkDJFpjAccUqa5VfHNVMCi11Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":388949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcPLlCRA9TVsSAnZWagAAsoIP/iGONLpo8NupXq0N1GKe\ntWptz5TUtUgTIJD8B3Kpn8zAhxOmfreufGJI3/IEYlML7UYQp5ELHJ+FRAUO\nfpXFzmvZz0CXPml5soijzEM3dWe5R5IGfnPjrQqMCQf2JcHcNgzOaDMevzOz\nNanu6i2KvwbSSv99fHH5L0UC3yV2SOMK7U70w9UFdwwiR8hWvu3JiYCyZZ70\nNNPnLMsmQj9D8H8DqWtlg0wQvLrxikKGg6hQpM8VJPD8gPPI5xWwjABbI87O\nchBlOvhl/EBNZ+UoPJokZRHMFy6+gLnGmfsRpTqQ8YNBP0vkbQ8dC+1GNaex\nLPEUO9ipDgjrhdrwqcGIFbWSlxcsN7FH7zDnjZLlg6+vaGYYFpLir4RAKf5k\n7jKSW5b26Q9G2PuDRjvkBBgfGla4B3kkdRB4fH6nPgYy+7ji79x0dbz4rk6h\n5iFjQEXm7QYGvEAEQpEcfv7+D+dAXKUpwDJmMPbIPrrHIfmpkO3dgT985zSa\npybPZzjUD8gsMvcEC8uSXhY8f2Hoxda3RYZuzMOly0hGrGGS1hScEMgX52Sn\nMFCQzIuDNEVIdgP6OjXz5KVDiyyWepQfEU09ryvTUtJyfVkZbScI2WoWky5g\nIdGA0X04uLDQcrblbqCK3VWvX6HaNqI99XryS3LLvGcDWxNNsoQ0X61rGalF\nQ/93\r\n=2PIT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"graphcms-owner","email":"services@graphcms.com"},"_npmVersion":"6.14.5","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"14.4.0","dependencies":{"uuid":"^8.3.0","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","@types/node":"^14.0.27","@types/uuid":"^8.3.0","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.12_1601237733074_0.4689820410287924","host":"s3://npm-registry-packages"}},"0.0.13":{"name":"@graphcms/migration","version":"0.0.13","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.13","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"7c9afc81dac2704d0ecda0cf2ad7f69fd2f4226c","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.13.tgz","fileCount":24,"integrity":"sha512-sRKSEEWHdzcpXmwUp/fCdoQhRcm+vuKN1Va8ZMd6ya/JS/vaophzLZW231etH8fzcdz7UHdAOpWqW296OfMgDQ==","signatures":[{"sig":"MEYCIQCXdvMW95hF/7rN8sGg4wwG1+jhAprp8rKlWvYs+WiGVAIhALIvWwPxsUCl/GUm/H5yWOR5w0NHVQuU0Hy1iugN4JY8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":422014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhX7gCRA9TVsSAnZWagAAXyEP/0Kbnp1uLDzMCU6x3MZe\niCgT9ViPHlNWnKDAJAZnHzquDhlS0WHXX3GPG9+4s9e2dzQ4pbo2hBRZjnmd\nfE4TlwztPeWyMgk4StKlUxsPXkOuJxzCTPV2mnzdcKvieqUErD3gPa2jXzpK\ntLXAL8iZV/SFn8THZcD+09I9bCUqVv7/sZt72CsmQH7P7WElSYUNEiNA8+pa\nQP/Ok9+no48f+4PFgvT66mUPCPlv5WecwqjK6Z5PdOBmPP0MdXBjI5Xzg7nG\nE2tEBShXbqfUAASIMP+v/tR/DnkDB23Y7mY/RgrKczYxpbrKDgv2WS4uxhMB\ndeN+ilKaOrQXsBV8LlsbQsQen35ekwuqpdcwJ2NTe0IxpyMwmhxzQ2USczta\n9URiqVh+eCeO1sU4A9eK6UCoM19qmqfjjnFbvZd8BZAD41ce8xMXkkOL3vIc\nWJYLD3ZjyNRPXT5IGm8vPC8xzdoqrxMFA67nuiySWVTE3Vk1VMrh1eeGl+tg\n2c98U4htF/HAa7ZV+UIuq6mn3IjIqT7VQ+YesW70ssWkFD18jinv0CozpdZw\n7Rnb6n9rf2L6idBE37AGkLkm3ZO7xmrQa4BJWiWTd8bhNzcIbbZ+kxe9yFmL\nzF1/NBwvEE/9I13pQNu5+QYZmrAFOadncO4adnfhQpc+0eDOlfGpUMuTFCUH\n3tOF\r\n=Ws3H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build","example-remote":"yarn build && node example/example-remote.js"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.4","dependencies":{"uuid":"^8.3.0","@types/node":"^14.11.2","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","@types/uuid":"^8.3.0","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.13_1602584288165_0.8700643600633635","host":"s3://npm-registry-packages"}},"0.0.14":{"name":"@graphcms/migration","version":"0.0.14","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.14","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"186769d905be42902dbd5361790619a7bfee34d9","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.14.tgz","fileCount":22,"integrity":"sha512-Mh1kZ9NpMXK9XXtxvjcvncnrqjgVo6EiQWSj5QiM6ZortKKR9PIX59lKlNMZIlx20jkci1LlTyemv5YESUDRbA==","signatures":[{"sig":"MEYCIQDClZagb7ifjLl5ysy5QtMpNv17JXxeOpRHgcjAi5CeuQIhAJ5BFxmf/0OmCPv6/1l69jbJLtl/RcHWt1n9lTtHqMuN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":391081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhYalCRA9TVsSAnZWagAARB0P/Aymi0w1CMfGwxSlSwUZ\nIwpPi/IGvvz6aUkv0fPEfP8RNeZ3NQAQvXW+Mzn9yH6uv1ox0ndoeM4Rv/A6\nrhizKW6letckSROEDxogcDhy2Bj9mgPItk79b7dPAoaeG9h4xJBMLWGszDJS\nYdemZ1VOVHHAT9mh+WpCNVP5XgAk3INh6e4+uHYmEZeGDr3UtL//bTSu+BdY\nOIQljs3cMqyy5Ib+BtsRrp927PE6dtXgNtf35XbR2xSjzuhrXX/9n8y/aZWl\npecxkapB7uoG1WuZaFfBYo06OtP9fX7gEgSn43eQvytljLblrx1K4mSNIpfU\npj5VrmV1VoENbySl0qfK86PpurgjG9PEG3spOND5BA7jRdCeEJ/g0GxceUx7\ntMuzf2Z8acy9HbiMK0uZ54US+bhR11028zaVXJCsNUUQ1ZDYxqK1581eN7mT\n+6D8U0wur5PZNloQrkw6siUZEIwEoeJDG3Cd71Oq+WLzbn7Vik0I7VlR5T7C\n+ZD0seBhXUjVFSFfZA3I5LpyQY9usCUpztpdFQvDReHmYnx5+rcFK9+cdmXC\nc+FUPmXGo2lF3r9cUK6lS38CwFN2TU1SZAfEPJ5iJgkk9qtnrhegDy8XsCFb\nhZFkDxSIsMLX0M77DpXqGdEGIqhp6QLLu2VbGhSWxxVY4I8jEOG3QVxZyocf\njo+I\r\n=qzG8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.6","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"12.18.4","dependencies":{"uuid":"^8.3.0","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","@types/node":"^14.0.27","@types/uuid":"^8.3.0","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.14_1602586276789_0.5361438977592208","host":"s3://npm-registry-packages"}},"0.0.15":{"name":"@graphcms/migration","version":"0.0.15","author":{"name":"GraphCMS"},"license":"MIT","_id":"@graphcms/migration@0.0.15","maintainers":[{"name":"abiosoft","email":"abiola89@gmail.com"},{"name":"ynnoj","email":"jonathan@steele.pro"},{"name":"motleydev","email":"martincreative@gmail.com"},{"name":"feychenie","email":"frederik.eychenie@gmail.com"},{"name":"graphcms-owner","email":"services@graphcms.com"}],"dist":{"shasum":"a9e6e084249e3a93093c315ecbe8d8f0d7551707","tarball":"https://registry.npmjs.org/@graphcms/migration/-/migration-0.0.15.tgz","fileCount":24,"integrity":"sha512-O8NR4Om1t0m7uop8ucjvSgPq9i4wMuaJIJuOCrztBMP+5MBGsDHvEHm5RRMvX17ULG0OUW0Ln+zuVUkmcifWFg==","signatures":[{"sig":"MEYCIQCKH141ugHTyjj6YArpawa/6Rg6gx99c1ZHhYYBBDGuWQIhALBHQu2Yz/dL3mV5wt1n+LlKNysBugf4cS1MKV8NJPh0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":419278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmvtjCRA9TVsSAnZWagAANHoP/jCGNEB7u5Z5MZBOmub2\nGfPworUrtFT43j6gD/1t6sgmv+5T2wbw+3VvIsnRbz8PlWRQpqzSV8YuA+zq\n/39/t2GVn7oDmZ3ZC+MIEDKfwsl22dtfbp36RVJgtvmnEIFFCBK8GnOMgWOV\n4Dmn+szmgbPR/dasi6+GTFe+Cdl60sUGqaJYdWwjTGnKVe9Nd3KZbQ2ClBQ0\nUvji1S8500yaLixi6zDYgOHlupMuCYZni9Pl8aP9MszfQcGvNXPzhEcIxi/f\ngf+fkz+EkInp1lioPqw/+c9uVq4l8a1l69Amzgc4M1NJWSCyA0yjctVIys+j\nf0gZd8LBtSRFvxDUWEattbxY269GBOuvA8trpDPpED1jOBAkRteLkANpUSDK\nbGTzysj7vmsVCQ5AqLPwtVeJmnYnv184KgdW4LRz2R8ZM69lDG9k4TqJatne\nO3Ie38bSTtto46cEOB55nla31vDd5SSOlGM3Trje39oSIJsej3jDxhWDe0qU\nWQTWHxQVELGpsPv4ftRuuSRMw+w/Fy9O8wFuDo817b0Vh4B7mCzoidbGkpbI\nPQTLMEkLwPpvdpHf/ta661gg76P0MnqMoCAm66Y5tNmqp/tRPxe7hJPYAQDA\nx0rNmxLi0WcRW2NWPuVoj5cJ8y2/LspRfsF1Q+30315CQlKmafHWVlkRr2KH\n2FHf\r\n=R9dB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","private":false,"scripts":{"docs":"typedoc","lint":"tslint --project ./tsconfig.json","build":"tsc --project tsconfig.json","example":"yarn build && node example/example.js","example-ts":"yarn build && ts-node example/example-ts.ts","prepublish":"rm -rf ./lib && yarn build","example-remote":"yarn build && node example/example-remote.js"},"_npmUser":{"name":"abiosoft","email":"abiola89@gmail.com"},"_npmVersion":"6.14.8","description":"SDK for GraphCMS migrations","directories":{},"_nodeVersion":"14.13.1","dependencies":{"uuid":"^8.3.0","@types/node":"^14.11.2","graphql-request":"2.1.0-next.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.3.0","dotenv":"^8.2.0","tslint":"^6.1.3","ts-node":"^9.0.0","typedoc":"0.18","prettier":"^2.0.5","typescript":"^3.9.7","@types/uuid":"^8.3.0","ts-essentials":"^7.0.0","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/migration_0.0.15_1603992419445_0.5322124861389324","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-08-31T12:29:02.755Z","modified":"2025-12-12T12:04:56.801Z","0.0.1":"2020-08-31T12:29:02.881Z","0.0.2":"2020-08-31T12:31:31.773Z","0.0.3":"2020-08-31T12:48:02.364Z","0.0.4":"2020-08-31T12:58:17.891Z","0.0.5":"2020-08-31T13:14:39.897Z","0.0.6":"2020-08-31T13:28:14.058Z","0.0.7":"2020-09-03T07:52:22.221Z","0.0.8":"2020-09-03T07:58:15.195Z","0.0.9":"2020-09-08T07:29:45.782Z","0.0.10":"2020-09-17T11:47:07.339Z","0.0.11":"2020-09-21T16:23:44.518Z","0.0.12":"2020-09-27T20:15:33.218Z","0.0.13":"2020-10-13T10:18:08.356Z","0.0.14":"2020-10-13T10:51:16.920Z","0.0.15":"2020-10-29T17:26:59.609Z"},"author":{"name":"GraphCMS"},"license":"MIT","description":"SDK for GraphCMS migrations","maintainers":[{"email":"services@hygraph.com","name":"graphcms-owner"},{"email":"mirko@hygraph.com","name":"mirko-hygraph"}],"readme":"# migration\n\nGraphCMS Migration SDK.\n\n## Usage\n\n```js\n// import migration library\nconst { newMigration, FieldType } = require(\"@graphcms/migration\");\n\n// create a new migration for an environment\n// using auth token and environment endpoint url.\nconst migration = newMigration({ authToken, endpoint });\n\n// create model\nconst author = migration.createModel({\n  apiId: \"Author\",\n  apiIdPlural: \"Authors\",\n  displayName: \"Author\",\n});\n\n// add fields\nauthor.addSimpleField({\n  apiId: \"firstName\",\n  displayName: \"First Name\",\n  type: FieldType.String,\n});\nauthor.addSimpleField({\n  apiId: \"lastName\",\n  displayName: \"Last Name\",\n  type: FieldType.String,\n});\n\n// run migration\nmigration.run();\n```\n\n## Table of Contents\n\n- [Migration](#migration)\n  - [New Migration](#newMigration)\n  - [Running a Migration](#runMigration)\n  - [DryRun a Migration](#dryRunMigration)\n- [Updating an Entity](#updatingEntity)\n- [Locale](#locale)\n  - [Creating a Locale](#createLocale)\n  - [Updating a Locale](#updateLocale)\n  - [Deleting a Locale](#deleteLocale)\n- [Stage](#stage)\n  - [Creating a Stage](#createStage)\n  - [Updating a Stage](#updateStage)\n  - [Deleting a Stage](#deleteStage)\n- [Enumerations](#enumerations)\n  - [Creating Enumeration](#createEnumeration)\n  - [Updating Enumeration](#updateEnumeration)\n  - [Deleting Enumeration](#deleteEnumeration)\n- [Remote Type Definitions](#remoteTypeDef)\n  - [Creating Remote Type Definition](#createRemoteTypeDef)\n  - [Updating Remote Type Definition](#createRemoteTypeDef)\n  - [Deleting Remote Type Definition](#createRemoteTypeDef)\n- [Models](#models)\n  - [Creating a Model](#createModel)\n  - [Updating a Model](#editModel)\n  - [Deleting a Model](#deleteModel)\n  - [Fields](#fields)\n    - [Creating a Field](#createField)\n    - [Updating a Field](#updateField)\n    - [Deleting a Field](#deleteField)\n\n<a name=\"migration\"></a>\n\n## Migration\n\n<a name=\"newMigration\"></a>\n\n### New Migration\n\nA migration is scoped to an environment. To create a migration, the following parameters are required.\n\n- Authentication Token `authToken`.\n\n  Can be retrieved from `Settings > API Access` on https://app.graphcms.com\n\n- Environment URL `endpoint`.\n\n  Can be retrieved from `Settings > Environments` on https://app.graphcms.com\n\n- Migration Name `name` [optional].\n\n  Every migration has a unique name. If unspecified, a name would be generated and will be part of the response of a successful migration.\n\n  Subsequent migrations with same name will fail.\n\n```js\nconst { newMigration } = require(\"@graphcms/migration\");\nconst migration = newMigration({\n  authToken,\n  endpoint,\n  name, // optional\n});\n```\n\n<a name=\"runMigration\"></a>\n\n### Running a Migration\n\nThe `run` method runs the migration.\n\nBy default, migrations run in the background. Passing an optional boolean argument configures the migration to run in the foreground.\n\n```js\nconst foreground = true;\nconst result = migration.run(foreground);\nif (result.errors) {\n  console.log(result.errors);\n} else {\n  console.log(result.name);\n}\n```\n\n<a name=\"dryRunMigration\"></a>\n\n### Dry Run a Migration\n\nA migration can be dry run to preview what changes would be applied.\n\n```js\nconst changes = migration.dryRun();\nconsole.log(changes);\n```\n\n<a name=\"updatingEntity\"></a>\n\n## Updating an Entity\n\nTo update properties, specify the properties to be updated. All ommitted properties remain unmodified.\n\nAs a special case, `apiId` is a requirement because all entities are uniquely indentified by `apiId`.\n\nTo update the `apiId`, specify `newApiId`.\n\n<a name=\"locale\"></a>\n\n## Locale\n\n<a name=\"createLocale\"></a>\n\n### Creating a Locale\n\nTo create a locale\n\n```js\nmigration.createLocale({\n  apiId,\n  displayName,\n  description,\n});\n```\n\n<a name=\"updateLocale\"></a>\n\n### Updating a Locale\n\nTo update a locale\n\n```js\nmigration.updateLocale({\n  apiId,\n  ... // properties to update\n});\n```\n\n<a name=\"deleteLocale\"></a>\n\n### Deleting a Locale\n\nTo delete a locale\n\n```js\nmigration.deleteLocale(apiId);\n```\n\n## Stage\n\n<a name=\"createStage\"></a>\n\n### Creating a Stage\n\nTo create a stage\n\n```js\nmigration.createStage({\n  apiId,\n  displayName,\n  description,\n  isDefault,\n  allowQueries,\n  color,\n});\n```\n\n<a name=\"updateStage\"></a>\n\n### Updating a Stage\n\nTo update a stage\n\n```js\nmigration.updateStage({\n  apiId,\n  ... // properties to update\n});\n```\n\n<a name=\"deleteStage\"></a>\n\n### Deleting a Stage\n\nTo delete a Stage\n\n```js\nmigration.deleteStage(apiId);\n```\n\n<a name=\"enumerations\"></a>\n\n## Enumerations\n\n<a name=\"createEnumeration\"></a>\n\n### Creating an Enumeration\n\nCreate an enumeration with values.\n\n```js\nconst colors = migration.createEnumeration({\n  apiId,\n  displayName,\n  description,\n});\n// add values\ncolors.addValue(\"Red\");\ncolors.addValue(\"Green\");\n// or add multiple values at a time.\ncolors.addValue(\"Blue\", \"Yellow\");\n```\n\n<a name=\"updateEnumeration\"></a>\n\n### Updating an Enumeration\n\nUpdating an enumeration and it's values.\n\n```js\nconst colors = migration.updateEnumeration({\n  apiId,\n  ... // properties to update.\n});\ncolors.addValue(\"Black\"); // add a new value\ncolors.updateValue(\"Red\", \"Dark Red\"); // update existing value\ncolors.deleteValue(\"Blue\"); // delete value\n```\n\n<a name=\"deleteEnumeration\"></a>\n\n### Deleting Enumeration\n\nTo delete an enumeration and it's values\n\n```js\nmigration.deleteEnumeration(apiId);\n```\n\n<a name=\"remoteTypeDef\"></a>\n\n## Remote Type Definitions\n\n<a name=\"createRemoteTypeDef\"></a>\n\n### Creating a Remote Type Definition\n\nCreate a sample Remote Type Definition for Github API.\n\n```js\nmigration.createRemoteTypeDefinition({\n  definition:\n    \"type Github { id: Int!, login: String!, name: String!, company: String, bio: String, blog: String, location: String }\",\n  displayName: \"Github profile\",\n  description: \"Developer's Github profile\",\n});\n```\n\n<a name=\"updateRemoteTypeDef\"></a>\n\n### Updating a Remote Type Definition\n\nTo update a Remote Type Definition\n\n```js\nmigration.updateRemoteTypeDefinition({\n  apiId:\n  ... // properties to update\n});\n```\n\n<a name=\"deleteRemoteTypeDef\"></a>\n\n### Deleting a Remote Type Definition\n\nTo delete a Remote Type Definition\n\n```js\nmigration.deleteRemoteTypeDefinition(apiId);\n```\n\n<a name=\"models\"></a>\n\n## Models\n\n<a name=\"createModel\"></a>\n\n### Creating a Model\n\nA model can be created by passing in the required parameters.\n\n```js\nconst modelName = migration.createModel({\n  apiId, // must start with upper case letter\n  apiIdPlural, // must start with upper case letter\n  displayName,\n  description,\n});\n```\n\n<a name=\"updateModel\"></a>\n\n### Updating a Model\n\nTo update a model\n\n```js\nmigration.updateModel({\n  apiId, // required\n  ... // properties to update\n});\n```\n\n<a name=\"deleteModel\"></a>\n\n### Deleting a Model\n\nTo delete a model\n\n```js\nmigration.deleteModel(apiId);\n```\n\n<a name=\"fields\"></a>\n\n### Fields\n\n<a name=\"createField\"></a>\n\n#### Create Field\n\nTo create a simple field.\n\n```js\nconst { FieldType } = require(\"@graphcms/migration\");\nmodel.addSimpleField({\n  apiId,\n  displayName,\n  type: FieldType.String,\n});\n```\n\nTo create an enumerable field.\n\n```js\nmodel.addEnumerableField({\n  apiId,\n  displayName,\n  enumerationApiId, // previously created enumeration.\n});\n```\n\nTo create a relational field.\n\n```js\nconst { RelationType } = require(\"@graphcms/migration\");\nmodel.addRelationalField({\n  apiId,\n  displayName,\n  relationType: RelationType.OneToOne,\n  model, // the related model\n\n  // optional but can be specified to customize the details.\n  reverseField: {\n    apiId,\n    displayName,\n  },\n});\n```\n\nTo create an asset field.\n\n```js\nmodel.addRelationalField({\n  apiId,\n  displayName,\n  model: \"Asset\", // this is compulsory to indicate Asset field.\n\n  // optional but can be specified to customize the details.\n  reverseField: {\n    apiId,\n    displayName,\n  },\n});\n```\n\nTo create a union field.\n\n```js\nconst { RelationType } = require(\"@graphcms/migration\");\nmodel.addUnionField({\n  apiId,\n  displayName,\n  relationType: RelationType.OneToOne,\n  models, // list of related models\n\n  // optional but can be specified to customize the details.\n  reverseField: {\n    apiId,\n    displayName,\n  },\n});\n```\n\nTo create a remote field.\n\n```js\nmodel.addRemoteField({\n  apiId,\n  displayName,\n  remoteConfig: {\n    method, // one of GET (default), POST or PUT.\n    payloadFields, // Array<String> of fields to send as part of request payload\n    returnType, // previously declared remote type definition\n    url, // url to fetch the remote data from\n  },\n});\n```\n\n<a name=\"updateField\"></a>\n\n#### Update Field\n\nTo update a field, firstly retrieve the model.\n\n```js\nconst model = migration.updateModel({...}) // to update the model\nconst model = migration.model(apiId) // to only retrieve the model\n```\n\nUpdating simple field\n\n```js\nmodel.updateSimpleField({\n  apiId,\n  ... // properties to update\n})\n```\n\nUpdating enumerable field\n\n```js\nmodel.updateEnumerableField({\n  apiId,\n  ... // properties to update\n})\n```\n\nUpdating relational field\n\n```js\nmodel.updateRelationalField({\n  apiId,\n  ... // properties to update\n})\n```\n\nUpdating union field\n\n```js\nmodel.updateRelationalField({\n  apiId,\n  models, // list of related models\n  ... // properties to update\n})\n```\n\n<a name=\"deleteField\"></a>\n\n#### Deleting a Field\n\nTo delete a field\n\n```js\nmodel.deleteField(apiId);\n```\n\n## API Docs\n\nSDK docs is available at [https://graphcms.com/docs/sdk](https://graphcms.com/docs/sdk).\n\nThe SDK is fully typed with Typescript and IDE intellisense is expected to work as desired.\n","readmeFilename":"README.md"}