updated ui/dist, go deps, docs and fixed some typos

This commit is contained in:
Gani Georgiev
2023-12-10 12:13:37 +02:00
parent d8ec36fa4c
commit b29e404f22
47 changed files with 445 additions and 462 deletions
@@ -53,13 +53,13 @@
pb.collection('${collection?.name}').subscribe('*', function (e) {
console.log(e.action);
console.log(e.record);
});
}, { /* other options like expand, custom headers, etc. */ });
// Subscribe to changes only in the specified record
pb.collection('${collection?.name}').subscribe('RECORD_ID', function (e) {
console.log(e.action);
console.log(e.record);
});
}, { /* other options like expand, custom headers, etc. */ });
// Unsubscribe
pb.collection('${collection?.name}').unsubscribe('RECORD_ID'); // remove all 'RECORD_ID' subscriptions
@@ -80,13 +80,13 @@
pb.collection('${collection?.name}').subscribe('*', (e) {
print(e.action);
print(e.record);
});
}, /* other options like expand, custom headers, etc. */);
// Subscribe to changes only in the specified record
pb.collection('${collection?.name}').subscribe('RECORD_ID', (e) {
print(e.action);
print(e.record);
});
}, /* other options like expand, custom headers, etc. */);
// Unsubscribe
pb.collection('${collection?.name}').unsubscribe('RECORD_ID'); // remove all 'RECORD_ID' subscriptions
@@ -15,7 +15,7 @@
function loadDefaults() {
field.options = {
maxSize: 5242880,
maxSize: 2000000,
};
}
</script>