-
Notifications
You must be signed in to change notification settings - Fork 2
DeepClient
FreePhoenix888 edited this page May 2, 2023
·
7 revisions
Make sure that your package have right permissions
await deep.serial({
operations: [
createSerialOperation({
table: 'links',
type: 'insert',
objects: [
{
type_id: typeTypeLinkId,
},
],
}),
createSerialOperation({
table: 'strings',
type: 'update',
exp: {
id: linkId,
},
value: {
value: 'newStringValue',
},
}),
createSerialOperation({
table: 'links',
type: 'delete',
exp: {
id: linkId,
},
}),
],
});
If we do not use createSerialOperation
typescript unable to defer types by using your arguments because typescript is bad at deep structures
By using idLocal you are able to get links-types from core package and links-types saved to your minilinks storage. To get a link-type from minilinks you have to save a package that contains the type-link, the contain link which points from the package link to your type-link, the type-link