Коммит
83164f64cb
|
@ -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 = {};
|
||||
|
|
Загрузка…
Ссылка в новой задаче