Merge pull request #48 from forcedotcom/43.0

42.0 -> 43.0
This commit is contained in:
Vish 2018-05-30 10:22:43 -07:00 коммит произвёл GitHub
Родитель a0eb291066 048716e012
Коммит 83164f64cb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -4,7 +4,7 @@ import { receiveCloneDefaults } from '../actions'
export default function* cloneDefaultsFetcher (action) {
let defaultsUrl = action.creds.instanceUrl + '/services/data/v42.0/ui-api/record-defaults/clone/' + action.id + '?formFactor=' + action.context.formFactor;
let defaultsUrl = action.creds.instanceUrl + '/services/data/v43.0/ui-api/record-defaults/clone/' + action.id + '?formFactor=' + action.context.formFactor;
let req = {
method: 'GET',

Просмотреть файл

@ -4,7 +4,7 @@ import { receiveCreateDefaults, showError } from '../actions'
export default function* createDefaultsFetcher (action) {
let defaultsUrl = action.creds.instanceUrl + '/services/data/v42.0/ui-api/record-defaults/create/' + action.apiName + '?formFactor=' + action.context.formFactor;
let defaultsUrl = action.creds.instanceUrl + '/services/data/v43.0/ui-api/record-defaults/create/' + action.apiName + '?formFactor=' + action.context.formFactor;
let req = {
method: 'GET',

Просмотреть файл

@ -4,7 +4,7 @@ import { receiveEntities } from '../actions'
export default function* entitiesFetcher(action) {
let mruUrl = action.creds.instanceUrl + '/services/data/v42.0/ui-api/object-info'
let mruUrl = action.creds.instanceUrl + '/services/data/v43.0/ui-api/object-info'
let req = {
method: 'GET',

Просмотреть файл

@ -4,7 +4,7 @@ import { receivePicklists } from '../actions'
export default function* picklistsFetcher (action) {
let url = action.creds.instanceUrl + '/services/data/v42.0/ui-api/object-info/' + action.apiName + '/picklist-values/' + action.recordType + '/';
let url = action.creds.instanceUrl + '/services/data/v43.0/ui-api/object-info/' + action.apiName + '/picklist-values/' + action.recordType + '/';
let req = {
method: 'GET',
headers: {

Просмотреть файл

@ -4,7 +4,7 @@ import { receiveRecentItems } from '../actions'
export default function* recentItemsFetcher(action) {
let mruUrl = action.creds.instanceUrl + '/services/data/v42.0/recent'
let mruUrl = action.creds.instanceUrl + '/services/data/v43.0/recent'
let req = {
method: 'GET',

Просмотреть файл

@ -4,7 +4,7 @@ import { recordCreateSuccess, showError } from '../actions'
export default function* recordCreator (action) {
let recordDataUrl = action.creds.instanceUrl + '/services/data/v42.0/ui-api/records/';
let recordDataUrl = action.creds.instanceUrl + '/services/data/v43.0/ui-api/records/';
var recordInput = {};
recordInput.apiName = action.apiName;

Просмотреть файл

@ -4,7 +4,7 @@ import { finishedRecordDelete } from '../actions'
export default function* recordDeleter (action) {
let recordUrl = action.creds.instanceUrl + '/services/data/v42.0/ui-api/records/' + action.recordId
let recordUrl = action.creds.instanceUrl + '/services/data/v43.0/ui-api/records/' + action.recordId
let req = {
method: 'DELETE',
headers: {

Просмотреть файл

@ -6,7 +6,7 @@ import { receiveRecord } from '../actions'
export default function* recordFetcher (action) {
// TODO: Add LayoutType to the state so that we can change view based on them
let recordViewUrl = action.creds.instanceUrl + '/services/data/v42.0/ui-api/record-ui/' + action.recordId + '?formFactor=' + action.context.formFactor + '&layoutTypes=Full&modes=View,Edit';
let recordViewUrl = action.creds.instanceUrl + '/services/data/v43.0/ui-api/record-ui/' + action.recordId + '?formFactor=' + action.context.formFactor + '&layoutTypes=Full&modes=View,Edit';
let req = {
method: 'GET',

Просмотреть файл

@ -4,7 +4,7 @@ import { recordUpdateSuccess, showError } from '../actions'
export default function* recordUpdater (action) {
let recordDataUrl = action.creds.instanceUrl + '/services/data/v42.0/ui-api/records/' + action.recordId;
let recordDataUrl = action.creds.instanceUrl + '/services/data/v43.0/ui-api/records/' + action.recordId;
var recordInput = {};
recordInput.fields = {};