Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 1x 1x 1x 1x 1x 1x 1x 6x 6x 6x 6x 6x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /**
* File holding constant values for the iCloud class
*/
/**
* Event lifecycle of iCloud-Photos class
*/
export enum EVENTS {
SETUP_COMPLETE = `setup_complete`,
READY = `ready`,
ERROR = `error`
}
/**
* URL paths required to perform queries
*/
export const PATHS = {
/**
* Base Path (between Domain & EXT)
*/
"BASE_PATH": `/database/1/com.apple.photos.cloud/production/private`,
"EXT": {
"QUERY": `/records/query`,
"MODIFY": `/records/modify`,
"ZONES": `/changes/database`,
},
};
/**
* To perform an operation, a record change tag is required. Hardcoding it for now
*/
export const RECORD_CHANGE_TAG = `21h2`;
/**
* The max record limit, requested & returned by iCloud.
* Should be 200, but in order to divide by 3 (for albums) and 2 (for all pictures) 198 is more convenient
*/
export const MAX_RECORDS_LIMIT = 198; |