Skip to content

Commit cbfc3d1

Browse files
committed
linter and schema
1 parent 16713a1 commit cbfc3d1

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

docs/schema.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,35 @@
288288
"description": "Pooler data source",
289289
"description_kind": "markdown"
290290
}
291+
},
292+
"supabase_project_apikeys": {
293+
"version": 0,
294+
"block": {
295+
"attributes": {
296+
"anon_key": {
297+
"type": "string",
298+
"description": "Anonymous API key for the project",
299+
"description_kind": "markdown",
300+
"computed": true,
301+
"sensitive": true
302+
},
303+
"project_id": {
304+
"type": "string",
305+
"description": "Project identifier",
306+
"description_kind": "markdown",
307+
"required": true
308+
},
309+
"service_role_key": {
310+
"type": "string",
311+
"description": "Service role API key for the project",
312+
"description_kind": "markdown",
313+
"computed": true,
314+
"sensitive": true
315+
}
316+
},
317+
"description": "Project API Keys data source",
318+
"description_kind": "markdown"
319+
}
291320
}
292321
}
293322
}

internal/provider/project_apikeys_data_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/supabase/cli/pkg/api"
1515
)
1616

17-
// Ensure provider defined types fully satisfy framework interfaces
17+
// Ensure provider defined types fully satisfy framework interfaces.
1818
var _ datasource.DataSource = &ProjectAPIKeysDataSource{}
1919

2020
func NewProjectAPIKeysDataSource() datasource.DataSource {

0 commit comments

Comments
 (0)