const versions = await client.templates.group("myGroup").versions.list( { minVersion: 1, maxVersion: 4 } );
Upsert a Template Group version Create or update a Template Group version.
const version = { schema: "type MyType @template { someField: String }", conflictMode: ConflictMode.Patch };
const newVersion = await client.group("myGroup").versions.upsert(version);
Delete a Template Group version
await client.templates.group("myGroup").versions.delete(1);