This commit is contained in:
Jody Bleyle 2018-05-22 14:50:05 -07:00
Родитель a0eb291066
Коммит 048716e012
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 = {};