Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cron-updating tables (daily weather, spotify, etc) #56993

Open
cnbrenci opened this issue Mar 5, 2024 · 0 comments
Open

Implement cron-updating tables (daily weather, spotify, etc) #56993

cnbrenci opened this issue Mar 5, 2024 · 0 comments

Comments

@cnbrenci
Copy link
Contributor

cnbrenci commented Mar 5, 2024

// FIXME: unfirebase, remove this before merging PR
//
// See issue about implementing the library manifest system here:
// #56472
//
// Current tables are live updated, the data is NOT copied into
// the student project, instead a new type of f*rebase node is created
// like /v3/channels/NZfs8i-ivpdJe_CXtPfHtOCssNIRTY1oKd5uXfSiuyI/current_tables/Daily Weather
// as opposed to a normal table that would be like
// /v3/channels/NZfs8i-ivpdJe_CXtPfHtOCssNIRTY1oKd5uXfSiuyI/storage/tables/Daily Weather
//
// Current tables can be found in https://console.firebase.google.com/project/cdo-v3-shared/database/cdo-v3-shared/data/~2Fv3~2Fchannels~2Fshared~2Fmetadata~2Fmanifest~2Ftables
// where the table has current: true set in the manifest object
// DatablockStorage.addCurrentTableToProject = function (
// tableName,
// onSuccess,
// onError
// ) {
// _fetch('add_shared_table', 'POST', {
// table_name: tableName,
// }).then(onSuccess, onError);
// };
//
// Makes a project-local copy of one of the tables stored at /v3/channels/shared/storage/tables
// DatablockStorage.copyStaticTable = function (tableName, onSuccess, onError) {
// // We don't differentiate between static and current shared tables
// // they are both just pointers to the 'shared' channel's tables.
// _fetch('add_shared_table', 'POST', {
// table_name: tableName,
// }).then(onSuccess, onError);
// };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant