Compare commits
No commits in common. "a5bd51de33553248492642d5f52ce2c8811501f4" and "91706cea2b0c8d5aabfdeb8d3fb7cb90603e5f1f" have entirely different histories.
a5bd51de33
...
91706cea2b
10 changed files with 13 additions and 13 deletions
|
|
@ -24,7 +24,7 @@ These three cover the platform's central properties:
|
|||
## Stack
|
||||
|
||||
- Flutter 3.40+ (Desktop: macOS, Linux, Windows)
|
||||
- gRPC client via [`fai_client_sdk`](../fai_client_sdk_dart) (sibling
|
||||
- gRPC client via [`fai_dart_sdk`](../fai_dart_sdk) (sibling
|
||||
repo; pinned by relative path during development)
|
||||
- No external runtime dependencies; bundles its own Dart VM
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:fai_client_sdk/fai_client_sdk.dart' show Payload;
|
||||
import 'package:fai_dart_sdk/fai_dart_sdk.dart' show Payload;
|
||||
|
||||
/// One named output of a flow run. Sealed via factory constructors
|
||||
/// — callers pattern-match with `switch` on the runtime type to
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class FriendlyError {
|
|||
FriendlyError friendlyError(Object error, AppLocalizations l) {
|
||||
// We deliberately don't import package:grpc here so Studio
|
||||
// doesn't have to add it to its own pubspec — the dependency
|
||||
// lives one layer down in fai_client_sdk. `GrpcError` has a
|
||||
// lives one layer down in fai_dart_sdk. `GrpcError` has a
|
||||
// stable `.code` (int) and `.message` (String?) shape; we
|
||||
// duck-type on those instead of an `is` check.
|
||||
final code = _intField(error, 'code');
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:fai_client_sdk/fai_client_sdk.dart';
|
||||
import 'package:fai_dart_sdk/fai_dart_sdk.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:fai_client_sdk/fai_client_sdk.dart' show FlowInputDef;
|
||||
import 'package:fai_dart_sdk/fai_dart_sdk.dart' show FlowInputDef;
|
||||
import 'package:file_picker/file_picker.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Reads current values from HubService, persists on save via
|
||||
// HubService.reconnect.
|
||||
|
||||
import 'package:fai_client_sdk/fai_client_sdk.dart';
|
||||
import 'package:fai_dart_sdk/fai_dart_sdk.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../data/hub.dart';
|
||||
|
|
|
|||
|
|
@ -81,10 +81,10 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.9"
|
||||
fai_client_sdk:
|
||||
fai_dart_sdk:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "../fai_client_sdk_dart"
|
||||
path: "../fai_dart_sdk"
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.16.0"
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ dependencies:
|
|||
intl: any
|
||||
|
||||
# Sibling package; will move to Forgejo path once published.
|
||||
fai_client_sdk:
|
||||
path: ../fai_client_sdk_dart
|
||||
fai_dart_sdk:
|
||||
path: ../fai_dart_sdk
|
||||
google_fonts: ^8.1.0
|
||||
shared_preferences: ^2.5.5
|
||||
# Inline README rendering inside the Store detail sheet.
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:fai_client_sdk/fai_client_sdk.dart';
|
||||
import 'package:fai_dart_sdk/fai_dart_sdk.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
class HubFixture {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
// Pre-reqs (handled by HubFixture's skip-when-missing path):
|
||||
// - fai binary on PATH or at ../fai_platform/target/release/fai
|
||||
// - studio-theme-solarized plugin built to module.wasm in its
|
||||
// fai_plugins dir.
|
||||
// fai_modules dir.
|
||||
|
||||
import 'dart:io';
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ void main() {
|
|||
// add network + bundle-fetch latency that doesn't
|
||||
// belong in an in-process round-trip test.
|
||||
final pluginSrc = Directory(
|
||||
'../fai_plugins/studio-theme-solarized',
|
||||
'../fai_modules/studio-theme-solarized',
|
||||
);
|
||||
if (!await pluginSrc.exists()) {
|
||||
markTestSkipped('studio-theme-solarized source not available');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue