This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| β | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| Netlify Build | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| β | |
| > Version | |
| @netlify/build 9.19.1 | |
| β | |
| > Flags | |
| mode: cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const removeDuplicates = (data, key) => { | |
| const item = new Set(); | |
| return data.filter((obj) => !item.has(obj[key]) && item.add(obj[key])); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const filteredData = mergedResults.reduce((newSet, current) => { | |
| const findExisting = newSet.find((item) => item.url === current.url); | |
| if (!findExisting) { | |
| return newSet.concat([current]); | |
| } | |
| return newSet; | |
| }, []); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| createBrand: async ( | |
| _, | |
| { | |
| data: { | |
| name, | |
| brandWatchList: { connect: id }, | |
| }, | |
| }, | |
| { user }, | |
| ) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # imported schema to faunadb | |
| type User { | |
| netlifyId: ID! | |
| stripeId: ID! | |
| subscription: String! | |
| subscriptionPlanId: String! | |
| activeSubscription: Boolean! | |
| emailAddress: String! @unique | |
| groups: [String]! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CreateIndex({ | |
| name: "colors_ref_by_user_ts_reverse", | |
| unique: false, | |
| serialized: true, | |
| source: Collection("Color"), | |
| terms: [ | |
| { | |
| field: ["data", "owner"] | |
| } | |
| ], |
OlderNewer