// AUTO-GENERATED by tools/gen_fields.py -- do not edit by hand. // Ids follow https://watchface.io/docs/datafields; only the fields a // Connect IQ watch face can source on-device are listed. import Toybox.Lang; module FieldTable { // Field ids, in the same order as the Labels resource string. const IDS = [ 0,860,880,864,865,851,872,852,855,870,856,853,868,858,859,873,1,14,707,2,603,150, 152,154,151,3,4,5,6,9,10,618,276,12,635,11,623,8,15,281,742,13,278,277,250,251,257, 253,255,254,256,252,615,616,733,712,717,700,731,706,732,306,639,300,301,302,305,304, 308,307,310,309,703,704,705 ]; function indexOf(id as Number) as Number { for (var i = 0; i < IDS.size(); i++) { if (IDS[i] == id) { return i; } } return 0; } }